Bug 1068737
| Summary: | Jcr2vfs: imports in test scenarios are incorrectly migrated, the Business Central can't open the scenarios | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Petr Široký <psiroky> | ||||||
| Component: | Migration Tool | Assignee: | Neus Miras <nmirasch> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Petr Široký <psiroky> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 6.0.0 | CC: | kverlaen, mbiarnes, rrajasek | ||||||
| Target Milestone: | CR1 | ||||||||
| Target Release: | 6.0.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-08-06 19:57:40 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 866203 [details]
JCR repo that will reproduce the issue.
Created attachment 866215 [details]
The error pop-up in Business Central when opening the migrated test scenario
Setting blocker to - since we have a workaround The Business Central expects following format of the imports:
<imports>
<imports>
<org.drools.workbench.models.datamodel.imports.Import>
<type>java.util.List</type>
</org.drools.workbench.models.datamodel.imports.Import>
</imports>
</imports>
Should be easy to fix, will look into it and possibly send PR.
PR created, please review and merge. https://github.com/droolsjbpm/drools-wb/pull/7 Setting to MODIFIED as the PR was merged. Commits (6.0.x): ---------------- https://github.com/droolsjbpm/drools-wb/commit/a81517dce71000b6841baea177ec69fb9e3a6ecd https://github.com/droolsjbpm/drools-wb/commit/5a9b07fcae26d17b1d13dc40e511764c7ccbc8c5 Could we please re-evaluate this one for 6.0.1? It certainly is not a blocker, but the issue is kind of annoying as the user needs to manually update the test scenario to make it work (open in BC). The change is fairly isolated and I already successfully tested it in the community. Thanks for consideration. Ticket cherry-picked into 6.0.1.CR1. Commits: 7787ed2d3861f3ed16af267a38be0c449af204b0 25d488d376976b4998b6ce24b17e985967935420 Verified fixed in 6.0.1-CR1. |
Description of problem: The migrated test scenarios contain the following imports structure (XML): <imports> <import>org.acme.insurance.Policy</import> <import>org.acme.insurance.Rejection</import> <import>org.acme.insurance.Driver</import> </imports> However the Business Central most probably expects other format as the test scenario is not loaded. Error pop-up is displayed (see attachment) Version-Release number of selected component (if applicable): 6.0.1-ER1 How reproducible: Always Steps to Reproduce: 1. Download and unzip the attached JCR repo. 2. Run the migration tool against the above repo. Actual results: Test scenarios are not correctly migrated and the Business Central can't open them. Expected results: Migrated test scenarios can be opened in Business Central without errors.