Tony CHEMIT pushed to branch develop-7.x at ultreiaio / ird-observe

Commits:

2 changed files:

Changes:

  • client-core/src/main/java/fr/ird/observe/client/ui/content/table/ContentTableUIHandler.java
    ... ... @@ -331,7 +331,7 @@ public abstract class ContentTableUIHandler<E extends IdDto, D extends IdDto, U
    331 331
     
    
    332 332
             U ui = getUi();
    
    333 333
     
    
    334
    -        if (getModel().isModified() || getModel().isCanSaveRow()) {
    
    334
    +        if (!getTableModel().isEmpty() && (getModel().isModified() || getModel().isCanSaveRow())) {
    
    335 335
     
    
    336 336
                 // flush modified line to model
    
    337 337
                 getTableModel().updateRowFromEditBean();
    

  • validation/src/main/i18n/getters/validation-messages.getter
    ... ... @@ -5,7 +5,6 @@ observe.validation.catchLongline.required.count.when.acquisitionModeIsGrouped
    5 5
     observe.validation.catchLongline.required.position
    
    6 6
     observe.validation.field.mandatory
    
    7 7
     observe.validation.floatingObject.invalid.parts
    
    8
    -observe.validation.floatingObject.required.comment.for.balise1
    
    9 8
     observe.validation.floatingObject.required.comment.for.balise2
    
    10 9
     observe.validation.floatingObject.size.supportVesselName
    
    11 10
     observe.validation.lengthFormula.endDate.before.startDate