Bug 997681
Summary: | Invalid Injections are ignored and no warning or error is thrown. | ||
---|---|---|---|
Product: | [Community] PressGang CCMS | Reporter: | Lee Newson <lnewson> |
Component: | CCMS-Core | Assignee: | Lee Newson <lnewson> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 1.1 | CC: | mcaspers |
Target Milestone: | --- | ||
Target Release: | 1.3 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-12-03 22:16: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: |
Description
Lee Newson
2013-08-16 02:07:32 UTC
Fixed in 1.3-SNAPSHOT build 201311111558 The csprocessor and UI will now check all comment fields for possible invalid injection references. It will check for the following errors: - Missing Colons - Incorrect Capitalisation - Incorrect Injection Types - Using incorrect ids in the id list This is now live on the test/development server. Confirmed the following common injection errors are listed by csprocessor in the Compiler Output and by the UI. <!-- Inject: 43.xml --> <!-- Inject 8743 --> <!-- inject: 33 --> <!-- Inject 8743 --> The only suggestion I would have is that characters other than commas in a list of topics are picked up e.g. <!-- InjectList: 33; 34: 35 --> Fixed in 1.3-SNAPSHOT build 201311251126 I've updated the regex to attempt to include anything that maybe invalid in the topic id list (so missing commas, incorrect separates, etc...). |