| Summary: | jcr2vfs: Java keywords in package name are migrated as is, which results in invalid package names | ||||||
|---|---|---|---|---|---|---|---|
| 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: | medium | ||||||
| Version: | 6.0.0 | CC: | mbaluch, pzapataf | ||||
| Target Milestone: | ER1 | ||||||
| Target Release: | 6.0.1 | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: |
Cause:
Migrating packages with Java keywords as part of the name.
Consequence:
After migrating the BRMS 5.3 packages to BRMS 6.0 projects, the keywords in package names are not escaped, thus making the package names invalid. Workaround is to manually rename the projects after migration or the package names before migration.
Fix:
Result:
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2014-08-06 19:57:10 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: | |||||
| Attachments: |
|
||||||
|
Description
Petr Široký
2013-12-04 16:08:59 UTC
To be consistent with the current package name management, all the package name migrated are converted to lowercase and escaped if it has keywords before creation. Commit: 6.0.x https://github.com/droolsjbpm/drools-wb/commit/6a6abab9dedc23560036885eb79335816d279589 Resolved an associaced bug related with the package naming of the scenarios Commit: https://github.com/droolsjbpm/drools-wb/commit/25b986ca8fb60642b57c153ad7b9da6f799ed0d0 Tested again with 6.0.0-ER7 and I am still seeing the same wrong directory structure as described above. I am attaching the repo that can be used to reproduce the issue. Created attachment 849915 [details]
JCR repo that will reproduce the issue.
Fixed. Now adds 'mod_' to the keyword and renames the project packages too. Commited at 6.0.x: https://github.com/droolsjbpm/drools-wb/commit/c02c2d71a23486c98df1cf3b633b7166ef3a5ead This no longer has a target release of 6.0.0. I am not sure if the prefix "mod_" is the best one, but it makes it clear that the package name changed, so that is good. The issue is fixed so I am closing it. Verified in 6.0.1-ER1. |