Tony CHEMIT pushed to branch develop at ultreiaio / ird-observe Commits: 67f119df by Tony Chemit at 2020-05-26T14:06:14+02:00 Migration des trip.comment vers trip.homeid incorrecte - Closes #1492 - - - - - 9e222809 by Tony Chemit at 2020-05-26T14:06:16+02:00 update changed [skip ci] - - - - - 8ffde8fd by Tony Chemit at 2020-05-26T14:31:02+02:00 update pom - - - - - 9 changed files: - CHANGELOG.md - persistence/src/main/java/fr/ird/observe/entities/migration/DataSourceMigrationForVersion_7_6.java - pom.xml - test/src/main/resources/db/7.6/dataForTestLongline.sql.gz - test/src/main/resources/db/7.6/dataForTestSeine.sql.gz - test/src/main/resources/db/7.6/referentiel.sql.gz - test/src/main/resources/db/8.0/dataForTestLongline.sql.gz - test/src/main/resources/db/8.0/dataForTestSeine.sql.gz - test/src/main/resources/db/8.0/referentiel.sql.gz Changes: ===================================== CHANGELOG.md ===================================== @@ -1,7 +1,7 @@ # ObServe changelog * Author [Tony Chemit](mailto:dev@tchemit.fr) - * Last generated at 2020-05-23 14:08. + * Last generated at 2020-05-26 11:54. ## Version [8.0-RC-7](https://gitlab.com/ultreiaio/ird-observe/milestones/161) @@ -236,6 +236,14 @@ * [[Evolution 1181]](https://gitlab.com/ultreiaio/ird-observe/issues/1181) **Ajouter un champ vessel.lloydid** (Thanks to Tony CHEMIT) (Reported by Pascal Cauquil) * [[Evolution 1183]](https://gitlab.com/ultreiaio/ird-observe/issues/1183) **[V8][DATA MODEL] Transformer Vessel.fleetcountry (int4) en topiaid** (Thanks to Tony CHEMIT) (Reported by Pascal Cauquil) +## Version [7.6.2](https://gitlab.com/ultreiaio/ird-observe/milestones/164) + +**Closed at 2020-05-26.** + + +### Issues + * [[Anomalie 1492]](https://gitlab.com/ultreiaio/ird-observe/issues/1492) **Migration des trip.comment vers trip.homeid incorrecte** (Thanks to Tony CHEMIT) (Reported by Pascal Cauquil) + ## Version [7.6.1](https://gitlab.com/ultreiaio/ird-observe/milestones/163) **Closed at 2020-05-23.** ===================================== persistence/src/main/java/fr/ird/observe/entities/migration/DataSourceMigrationForVersion_7_6.java ===================================== @@ -72,7 +72,7 @@ public class DataSourceMigrationForVersion_7_6 extends MigrationVersionResource // Must be a ## starting comment continue; } - String homeId = comment.substring(1, endIndex - 1); + String homeId = comment.substring(1, endIndex); String newComment = endIndex + 1 == comment.length() ? "NULL" : (String.format("'%s'", comment.substring(endIndex + 1).trim().replaceAll("'","''"))); executor.writeSql(String.format("UPDATE observe_seine.trip t SET comment = %s, homeId = '%s', topiaVersion = topiaVersion + 1, lastUpdateDate = CURRENT_TIMESTAMP WHERE t.topiaId = '%s';", newComment, homeId, tripId)); } ===================================== pom.xml ===================================== @@ -24,7 +24,7 @@ <parent> <groupId>io.ultreia.maven</groupId> <artifactId>pom</artifactId> - <version>2020.27</version> + <version>2020.28</version> </parent> <groupId>fr.ird.observe</groupId> @@ -176,7 +176,7 @@ <!--<lib.version.java4all.i18n>4.0-beta-3-SNAPSHOT</lib.version.java4all.i18n>--> <!--<lib.version.java4all.config>1.0.8-SNAPSHOT</lib.version.java4all.config>--> <!--<lib.version.nuiton.topia>3.4.2-SNAPSHOT</lib.version.nuiton.topia>--> - <lib.version.java4all.topia>1.22</lib.version.java4all.topia> +<!-- <lib.version.java4all.topia>1.22</lib.version.java4all.topia>--> <!--<lib.version.java4all.http>1.0.17-SNAPSHOT</lib.version.java4all.http>--> <!-- license header configuration --> ===================================== test/src/main/resources/db/7.6/dataForTestLongline.sql.gz ===================================== Binary files a/test/src/main/resources/db/7.6/dataForTestLongline.sql.gz and b/test/src/main/resources/db/7.6/dataForTestLongline.sql.gz differ ===================================== test/src/main/resources/db/7.6/dataForTestSeine.sql.gz ===================================== Binary files a/test/src/main/resources/db/7.6/dataForTestSeine.sql.gz and b/test/src/main/resources/db/7.6/dataForTestSeine.sql.gz differ ===================================== test/src/main/resources/db/7.6/referentiel.sql.gz ===================================== Binary files a/test/src/main/resources/db/7.6/referentiel.sql.gz and b/test/src/main/resources/db/7.6/referentiel.sql.gz differ ===================================== test/src/main/resources/db/8.0/dataForTestLongline.sql.gz ===================================== Binary files a/test/src/main/resources/db/8.0/dataForTestLongline.sql.gz and b/test/src/main/resources/db/8.0/dataForTestLongline.sql.gz differ ===================================== test/src/main/resources/db/8.0/dataForTestSeine.sql.gz ===================================== Binary files a/test/src/main/resources/db/8.0/dataForTestSeine.sql.gz and b/test/src/main/resources/db/8.0/dataForTestSeine.sql.gz differ ===================================== test/src/main/resources/db/8.0/referentiel.sql.gz ===================================== Binary files a/test/src/main/resources/db/8.0/referentiel.sql.gz and b/test/src/main/resources/db/8.0/referentiel.sql.gz differ View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/2471aa29226d266ffe31a5288... -- View it on GitLab: https://gitlab.com/ultreiaio/ird-observe/-/compare/2471aa29226d266ffe31a5288... You're receiving this email because of your account on gitlab.com.
participants (1)
-
Tony CHEMIT