marklogic/demo-cat — pull request #60 by mariannemyers (2014-09-08 21:14:42+00:00)
Title: Enable RFEs (Issue #7) and fix inability to edit an existing comment/bug

Add ability to create a request for enhancement (RFE) by extending the Bug feature of a Demo, now renamed to be “Bugs & RFEs” on the Demo page. When creating a new Bug/RFE, select either the ‘defect’ or ‘enhancement’ Type. This Type is also editable after the Bug/RFE has been written.

Also, the ID generated for a comment or bug can have a ‘+’ in it, which is xdmp:url-decode’d into a ‘ ‘ (space), causing some comments and bugs to be uneditable. Just use a map:get to obtain the ID passed in.