Bug 1016372

Summary: Bug: Comments are not greyed out unless hash is at beginning of line
Product: [Community] PressGang CCMS Reporter: Misha H. Ali <mhusnain>
Component: Web-UIAssignee: Lee Newson <lnewson>
Status: CLOSED CURRENTRELEASE QA Contact: Misha H. Ali <mhusnain>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.1CC: lnewson, mcaspers
Target Milestone: ---   
Target Release: 1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-17 23:45:03 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 Flags
Commented out lines none

Description Misha H. Ali 2013-10-08 04:28:03 UTC
Created attachment 809066 [details]
Commented out lines

Description of problem:

Not sure if this is a bug or by design, but commenting out a CSP map line in the CCMS UI should grey out the line, no matter where the # is, as long as it is before the contents of that line.

For example, the two lines commented out here should be greyed out.

# Section: New Name
#   New Topic [1223]

And the same should happen to these lines:

  # Section: Another Section
    # Some Other Topic [3434]

However, the latter does not grey out at all. See screenshot for how this looks at the moment.

Comment 1 Lee Newson 2013-10-08 04:32:37 UTC
Fixed in 1.2-SNAPSHOT build 201309100946

This has was actually fixed quite some time ago and is currently live in PressGang Next.

Comment 3 Misha H. Ali 2013-10-08 04:36:32 UTC
Waiting for the specified build to be pushed live to verify. And ACK on report a bug link.

Comment 4 Misha H. Ali 2013-10-08 04:42:53 UTC
Verified in CCMS Next. Commenting out content works as expected.

Comment 5 Lee Newson 2013-10-08 04:45:33 UTC
Thanks Misha, moving to RELEASE_PENDING until 1.2 is released.

Comment 6 Matthew Casperson 2013-10-14 23:48:46 UTC
Confirmed that comments with tabs, spaces, and a combination of both are still highlighted as comments.