& symbol in data definitions

Justin "JET" Turner's Avatar

Justin "JET" Turner

14 May, 2015 03:11 PM


I have found that using & symbols in dropdowns/multi-select value fields occasionally cause issues.

I narrowed down what appears to produce the error repeatedly

Data Definition Field

            <text type="dropdown" identifier="college" label="College">
                <dropdown-item value="College of Arts &amp; Letters"/>
                <dropdown-item value="College of Education"/>
                <dropdown-item value="College of Health Sciences and Professions"/>
                <dropdown-item value="College of Science &amp; Mathematics"/>
                <dropdown-item value="Mike Cottrell College of Business"/>

If anything in the data definition is edited via the GUI editor, all of the &amp; become &, and you are unable to submit the data definition without going through and re-adding the amp; after each one.

I have found that if you edit the DD and then go into XML view and make changes, it doesn't strip the amp;, as long as you make no changes from the GUI editor.

This particular data definition also has a listing of all of our departments, so it ends up stripping around 10-15 amp; that I have to put in manually when I want to use the GUI editor.

Version 7.12.4

Thanks for looking into this,

  1. 1 Posted by Ryan Griffith on 14 May, 2015 04:05 PM

    Ryan Griffith's Avatar

    Hi Justin,

    Based on your description, it sounds as though you are running into this known defect in which submitting a Data Definition that contains ampersands can throw an error due to the ampersand not being encoded.

    Feel free to use this link to track the progress of this issue or keep an eye out for it on our Release Notes site.

    Unfortunately, until the defect is resolved, the only workaround would be to either remove the ampersands or fix them as you are doing now.

    Please let me know if you have any questions.


  2. Justin "JET" Turner closed this discussion on 29 May, 2015 03:20 PM.

Discussions are closed to public comments.
If you need help with Cascade CMS please start a new discussion.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac


26 Aug, 2016 01:19 PM
25 Aug, 2016 03:02 PM
25 Aug, 2016 12:50 PM
24 Aug, 2016 08:43 PM
24 Aug, 2016 07:20 PM
21 Aug, 2016 01:20 PM