Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Liquibase validation exception #219

Closed
Flamesson opened this issue Nov 1, 2021 · 10 comments
Closed

Liquibase validation exception #219

Flamesson opened this issue Nov 1, 2021 · 10 comments
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@Flamesson
Copy link

When I migrate my Jmix project from version 1.0.1 to version 1.1.0 I'm getting a liquibase.exception.ValidationFailedException related to 001-reports.xml.
The problem is with checksums.
I will attach stacktrace to the issue

_

How to reproduce:

  • Create a Jmix project (via Intellij Idea Jmix plugin) of 1.0.1 version
  • Add reports addon (via the Jmix plugin)
  • Create database
  • Migrate version from 1.0.1 to 1.1.0 (via the Jmix plugin)
  • Try to launch application, accepting changes in liquibase

_
The file: stacktrace.txt

@Flamesson
Copy link
Author

Probably it is just incorrect checksum
<validCheckSum>8:f5da7222d918810deb69ba452ee5560e</validCheckSum>
specified at line 24 of this file:

https://github.com/Haulmont/jmix-reports/blob/master/reports/src/main/resources/io/jmix/reports/liquibase/changelog/001-reports.xml

@knstvk knstvk added this to the 1.2.0 milestone Nov 14, 2021
@knstvk knstvk added backport Port to release branch type: bug Something isn't working labels Nov 14, 2021
@gorbunkov
Copy link
Contributor

@lovtsovaik I can't reproduce the problem. Could you please check?

@reznikova21
Copy link

I can't reproduce the problem

@gorbunkov
Copy link
Contributor

@aiden-izumi we could not reproduce the issue using the steps described above. Maybe you missed some step in the description? Do you still get the errors?

@Flamesson
Copy link
Author

@aiden-izumi we could not reproduce the issue using the steps described above. Maybe you missed some step in the description? Do you still get the errors?

Of course I will check it again. Most latest - at Friday, 19.11, around 2 PM, Moscow time

@Flamesson
Copy link
Author

@gorbunkov
The problem is still there. I have create a sample-repository: https://github.com/aiden-izumi/reports-script-problem
And this is my Intellij Idea terminal output: log.txt

@ket4z
Copy link

ket4z commented Nov 19, 2021

Confirming the problem exists. Not noticing this one I have filed a duplicate one here #223 yesterday, sorry :/

@gorbunkov
Copy link
Contributor

The problem was reproduced on postgresql. Additional validCheckSum has been added to the problematic changeSet.

For QA: please check migration for different DBMS

@reznikova21
Copy link

Also the problem was reproduced on

  1. Oracle
  2. MS SQL

Not reproduced on

  1. MySQL
  2. MariaDB

gorbunkov added a commit that referenced this issue Nov 24, 2021
gorbunkov added a commit to jmix-projects/jmix-ui that referenced this issue Nov 24, 2021
@reznikova21
Copy link

1.2.0-SNAPSHOT - verified

@knstvk knstvk removed the backport Port to release branch label Nov 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants