You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/cartridges/zclassic/smallstuff/techdocs/TechStructureFields.xtend
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -428,11 +428,11 @@ class TechStructureFields {
428
428
if (language =='de') {
429
429
if (past) result +='Die Werte müssen in der Vergangenheit liegen.'
430
430
if (future) result +='Die Werte müssen in der Zukunft liegen.'
431
-
if (!validatorAddition.empty) result +='Zusätzliche Validierung: <code>'+ validatorAddition +'</code>.'
431
+
if (null!== validatorAddition &&!validatorAddition.empty) result +='Zusätzliche Validierung: <code>'+ validatorAddition +'</code>.'
432
432
} else {
433
433
if (past) result +='Values must be in the past.'
434
434
if (future) result +='Values must be in the future.'
435
-
if (!validatorAddition.empty) result +='Additional validation: <code>'+ validatorAddition +'</code>.'
435
+
if (null!== validatorAddition &&!validatorAddition.empty) result +='Additional validation: <code>'+ validatorAddition +'</code>.'
436
436
}
437
437
result
438
438
}
@@ -475,13 +475,13 @@ class TechStructureFields {
475
475
val result = commonRemarks
476
476
if (language =='de') {
477
477
if (sortablePosition) result +='Speichert die Position für die Sortable-Erweiterung.'
478
-
if (!aggregateFor.empty) result +='Aggregiert eine 1:n Beziehung ('+ aggregateFor +').'
478
+
if (null!== aggregateFor &&!aggregateFor.empty) result +='Aggregiert eine 1:n Beziehung ('+ aggregateFor +').'
479
479
if (percentage) result +='Repräsentiert einen Prozentwert.'
480
480
if (range) result +='Repräsentiert einen Bereich.'
481
481
if (version) result +='Speichert die Version der Entität.'
482
482
} else {
483
483
if (sortablePosition) result +='Stores the position for the Sortable extension.'
484
-
if (!aggregateFor.empty) result +='Aggregates a 1:n relation ('+ aggregateFor +').'
484
+
if (null!== aggregateFor &&!aggregateFor.empty) result +='Aggregates a 1:n relation ('+ aggregateFor +').'
485
485
if (percentage) result +='Represents a percentage value.'
486
486
if (range) result +='Represents a range.'
487
487
if (version) result +='Stores the entity version.'
Copy file name to clipboardExpand all lines: bundles/org.zikula.modulestudio.generator/src/org/zikula/modulestudio/generator/workflow/components/ModelReader.xtend
0 commit comments