Bug 827626
| Summary: | Guvnor bulk importer generates import files with invalid package names under Windows 7 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise BRMS Platform 5 | Reporter: | Hao Wu <hwu> | ||||
| Component: | BRM (Guvnor) | Assignee: | Mark Proctor <mproctor> | ||||
| Status: | CLOSED UPSTREAM | QA Contact: | |||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | BRMS 5.3.0.GA | CC: | rzhang | ||||
| Target Milestone: | ER9 | ||||||
| Target Release: | BRMS 5.3.0.GA | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2025-02-10 03:20:02 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: |
|
||||||
|
Description
Hao Wu
2012-06-01 21:45:53 UTC
Created attachment 588585 [details]
test.properties
I think this has been assigned to Jervis, so I update the status. If no, please feel free to revert it. ER9 is waiting on this. More details:
1. Basically under windows the package name is not parsed correctly from the path.
2. I assume the code is using what's in Drools 5.3 so in org.jboss.drools.guvnor.importgenerator.PackageFile, the getPackageName() method is only using "([^/]+)" as the regex.
3. In Drools 5.4, this is corrected by using "([^/|\\\\]+)" to account for windows path separators.
Fxied on 5.3.x. This issue's fixes have been picked by ER9. Please verify them on ER9. Verified fixed in 5.3.0 ER9 (tested on Win 7 x86_64). This product has been discontinued or is no longer tracked in Red Hat Bugzilla. |