Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.3.2 (Beta)
-
Fix Version/s: 1.3.4 (Beta)
-
Component/s: Data Management
-
Labels:None
-
Complexity:Intermediate
-
Number of attachments :
Description
Exception in thread "main" org.apache.maven.continuum.management.DataManagementException: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[673,22]
Message: Unrecognised tag: 'scmResult'
at org.apache.maven.continuum.management.JdoDataManagementTool.restoreDatabase(JdoDataManagementTool.java:231)
at org.apache.maven.continuum.management.DataManagementCli.processDatabase(DataManagementCli.java:270)
at org.apache.maven.continuum.management.DataManagementCli.main(DataManagementCli.java:170)
Caused by: javax.xml.stream.XMLStreamException: ParseError at [row,col]:[673,22]
Message: Unrecognised tag: 'scmResult'
at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxReader.parseProject(ContinuumStaxReader.java:2638)
at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxReader.parseProjectGroup(ContinuumStaxReader.java:2846)
at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxReader.parseContinuumDatabase(ContinuumStaxReader.java:1354)
at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxReader.read(ContinuumStaxReader.java:3713)
at org.apache.maven.continuum.model.project.io.stax.ContinuumStaxReader.read(ContinuumStaxReader.java:3729)
at org.apache.maven.continuum.management.JdoDataManagementTool.restoreDatabase(JdoDataManagementTool.java:227)
... 2 more
This happens because 'scmResult' field in the Project was removed starting in 1.3.2
Issue Links
- depends upon
-
MODELLO-200
Not possible to read older version of xml file if there is an unrecognized tag even if "strict" is set to false
-
do you have a dataset handy for this?
I think we need to change the CLI to use a more flexible parsing that will just ignore extra elements for situations like this.