Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe Commits: 77f0804b by Tony Chemit at 2023-03-30T15:56:00+02:00 Lorsque l'on passe un type de données d'un statut 'Réalisé' à 'Non réalisé', il faudrait certainement mettre le programme de rattachement à null - Closes #2657 - - - - - 1 changed file: - client/datasource/editor/ps/src/main/java/fr/ird/observe/client/datasource/editor/ps/data/common/TripUIModelStates.java Changes: ===================================== client/datasource/editor/ps/src/main/java/fr/ird/observe/client/datasource/editor/ps/data/common/TripUIModelStates.java ===================================== @@ -156,7 +156,7 @@ public class TripUIModelStates extends GeneratedTripUIModelStates { bean.setObservationsComment(null); bean.setObservationsDataEntryOperator(null); bean.setObservationsDataQuality(null); -// bean.setObservationsProgram(null); + bean.setObservationsProgram(null); bean.setObserver(null); } else { //FIXME Something to set by default ? @@ -171,6 +171,7 @@ public class TripUIModelStates extends GeneratedTripUIModelStates { bean.setFishingTime(null); bean.setDepartureWellContentStatus(null); bean.setLandingWellContentStatus(null); + bean.setLogbookProgram(null); } else { if (bean.getDepartureWellContentStatus() == null) { bean.setDepartureWellContentStatus(defaultDepartureWellContentStatus); View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/77f0804b9a7685f8606955b76f... -- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/commit/77f0804b9a7685f8606955b76f... You're receiving this email because of your account on gitlab.com.
participants (1)
-
Tony CHEMIT (@tchemit)