Base solution for your next web application
Open Closed

Bug in custom application logo upload #6440


User avatar
0
jaycee26 created

Hi,

There appears to be a bug in the custom Application Logo feature. When uploading a custom logo, the logo is not displayed on the app page, but works ok on the login page. On trying to debug it I find that the following line in default-brand-component.html is the issue:

<img *ngIf="appSession.tenant && appSession.tenant.logoId" [src]="remoteServiceBaseUrl + '/TenantCustomization/GetTenantLogo?skin=' + ui.getAsideSkin() + '&tenantId=' + appSession.tenant.id + '&id=' + appSession.tenant.logoId" alt="logo" height="60" /> if I remove the ui.getAsideSkin() element from that line, then it works just fine.

If you look at app-ui-customization.service.ts then that function - getAsideSkin() - is not defined. In fact I cannot find another reference to that function anywhere in the Angular source.

Can you confirm if it is a bug or not? Or am I missing something?

Thanks,


2 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Your code is outdated.

    It was changed in v6.3.0 to currentTheme.baseSettings.menu.asideSkin more than 3 months ago.

  • User Avatar
    0
    jaycee26 created

    @aaron thanks. Strangely I am on v6.4.0 but there seems to have been an issue commotting some of those changes to GIT when upgrading the framework!