Skip to content

Commit 60cf96b

Browse files
committed
v17.0.9
1 parent 8a086df commit 60cf96b

5 files changed

Lines changed: 17 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,17 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
1010

1111
### Changed
1212

13+
### Fixed
14+
15+
## [17.0.9] - 2025-11-28
16+
17+
### Added
18+
19+
### Changed
20+
1321
### Fixed
1422
- Handle SelectByLanguage in complexity report
23+
- Skip mapping migration not correctly handling Unsupported document object mapping
1524

1625
## [17.0.8] - 2025-11-28
1726

@@ -115,7 +124,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
115124

116125
- This CHANGELOG file
117126

118-
[unreleased]: https://github.com/quadient/migration-stack/compare/v17.0.8...HEAD
127+
[unreleased]: https://github.com/quadient/migration-stack/compare/v17.0.9...HEAD
128+
[17.0.9]: https://github.com/quadient/migration-stack/compare/v17.0.8..v17.0.9
119129
[17.0.8]: https://github.com/quadient/migration-stack/compare/v17.0.7..v17.0.8
120130
[17.0.7]: https://github.com/quadient/migration-stack/compare/v17.0.6..v17.0.7
121131
[17.0.6]: https://github.com/quadient/migration-stack/compare/v17.0.5..v17.0.6

migration-app/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ plugins {
1111
}
1212

1313
group = "com.quadient.migration"
14-
version = "17.0.8"
14+
version = "17.0.9"
1515

1616
application {
1717
mainClass = "io.ktor.server.netty.EngineMain"

migration-library/src/main/kotlin/com/quadient/migration/api/dto/migrationmodel/Mapping.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ sealed class MappingItem {
1616
var targetFolder: String?,
1717
var type: DocumentObjectType?,
1818
var variableStructureRef: String?,
19-
var skip: SkipOptions?,
19+
var skip: SkipOptions? = null,
2020
) : MappingItem()
2121

2222
data class Area(
@@ -29,7 +29,7 @@ sealed class MappingItem {
2929
var targetFolder: String?,
3030
var sourcePath: String?,
3131
var imageType: ImageType?,
32-
var skip: SkipOptions?,
32+
var skip: SkipOptions? = null,
3333
) : MappingItem()
3434

3535
data class ParagraphStyle(override var name: String?, var definition: Definition?) : MappingItem() {

migration-library/src/main/kotlin/com/quadient/migration/persistence/migrationmodel/MappingEntity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ sealed class MappingItemEntity {
4646
val targetFolder: String?,
4747
val variableStructureRef: String?,
4848
@SerialName("documentObjectType") val type: DocumentObjectType?,
49-
var skip: SkipOptions?,
49+
var skip: SkipOptions? = null,
5050
) : MappingItemEntity() {
5151

5252
fun apply(item: DocumentObjectDto): DocumentObjectDto {
@@ -91,7 +91,7 @@ sealed class MappingItemEntity {
9191
val targetFolder: String?,
9292
val sourcePath: String?,
9393
val imageType: ImageType? = null,
94-
var skip: SkipOptions?,
94+
var skip: SkipOptions? = null,
9595
) : MappingItemEntity() {
9696
fun apply(item: ImageDto): ImageDto {
9797
return item.copy(

migration-library/src/main/kotlin/com/quadient/migration/persistence/upgrade/V6__skip_upgrade.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ class V6__skip_upgrade : BaseJavaMigration() {
5757

5858
val originalDef = mapper.readTree(mapping ?: "{}") as ObjectNode
5959
originalDef.putPOJO("skip", SkipOptions(skipped = true, placeholder = null, reason = "Unsupported document object type"))
60+
originalDef.putNull("documentObjectType")
6061
val mappingJson = mapper.writeValueAsString(originalDef)
6162

6263
if (mapping != null) {

0 commit comments

Comments
 (0)