Fix problems related with null configuration properties
FEA: ItEr65S06BugFixing
This commit is contained in:
parent
dd65d04880
commit
80bd3a84be
2 changed files with 3 additions and 3 deletions
|
|
@ -73,9 +73,9 @@ public class Configuration extends BaseEntity {
|
|||
|
||||
private ProgressType progressType = ProgressType.SPREAD_PROGRESS;
|
||||
|
||||
private String companyLogoURL;
|
||||
private String companyLogoURL = "";
|
||||
|
||||
private Boolean scenariosVisible;
|
||||
private Boolean scenariosVisible = false;
|
||||
|
||||
public void setDefaultCalendar(BaseCalendar defaultCalendar) {
|
||||
this.defaultCalendar = defaultCalendar;
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ public class TemplateController extends GenericForwardComposer {
|
|||
}
|
||||
|
||||
public String getCompanyLogoURL() {
|
||||
if (templateModel == null) {
|
||||
if (templateModel == null || templateModel.getCompanyLogoURL() == null) {
|
||||
return "";
|
||||
}
|
||||
return templateModel.getCompanyLogoURL().trim();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue