Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Christian Melbye 8 posts 28 karma points
    Jun 10, 2010 @ 15:20
    Christian Melbye
    0

    Possible bug with prevalues containing ")"

    Summary. Some value combinations breaks the prevalue editor.

    Steps for reproducing this error:

    1. Create a radiobuttonlist

    2. Create the a prevalue called ") Hello" and save. (Space between ")" and text)

    3. Press edit on the prevalues and everything works as expected. You can edit the prevalue.

    4. Create a new prevalue called ")Hello" and save (no space between ")" and text)

    5. Press edit on the prevalues. You should now see a javascript error like this: "uncaught exception: Syntax error, unrecognized expression: )Hello"

    This prevents you from being able to update the prevalues and the only option is to either manipulate the prevalue in the database or deleting the whole radiobuttonlist. Tested and confirmed the same issue on checkboxlists.

    Tested on FF and Chrome. Running Contour 1.0.10, Umbraco 4.0.3

    Please let me know if you need additional information

    /Christian

Please Sign in or register to post replies

Write your reply to:

Draft