Bug 1011563
| Summary: | New Project dialog allows whitespaces, business-central cannot handle them | ||
|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Zuzana Krejčová <zkrejcov> |
| Component: | Business Central | Assignee: | manstis |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Zuzana Krejčová <zkrejcov> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.0.0 | CC: | etirelli, lpetrovi, manstis, rzhang |
| Target Milestone: | ER 7 | ||
| Target Release: | 6.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 20:20:21 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1006506 | ||
|
Description
Zuzana Krejčová
2013-09-24 14:32:37 UTC
The Maven pom XSLT just says GroupID, ArtifactID and Version are Strings. This however appears to be too relaxed. Could you please add some common-sense validation to the New Project Wizard. Thanks. Fixed: https://github.com/droolsjbpm/kie-wb-common/commit/4d0709c7c Now it's checking against this regex: "^[a-zA-Z0-9\\.\\-_]+$" Just one minor copy&paste glitch - the version isn't matched against that regex. See GAVWizardPage.isComplete() - boolean validVersion = ... !gav.getArtifactId().matches("^[a-zA-Z0-9\\.\\-_]+$")
This will be addressed with https://bugzilla.redhat.com/show_bug.cgi?id=1006506 |