Copied to clipboard

Flag this post as spam?

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


  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Feb 25, 2011 @ 12:57
    Tim
    0

    BUG: Editing List Type Controls In IE Doubles Up List Items

    We've run accross a strange UI bug that only appears to affect IE (confirmed to occur on IE6, 7 & 8). Firefox, Chrome et al are not affected by this bug.

    To reproduce:

    - Create a form in contour

    - Add a checkbox list, radio button list, or dropdown list field

    - add some values, e.g. 1, 2, 3, 4, 5 and click "Update Items", the five items should show up

    - click to edit the list items, don't bother editing, just click update, in the radio/checkbox fields the items will double up, e.g. become 1, 2, 3, 4, 5, 1, 2, 3, 4, 5. In the case of drop down fields, a second drop down will appear (you may need to do this a couple of times before it hapens). Doing this multiple times will cause another set of items to appear in the list.

    - if you actually edit the items, the item you add is added accross all the copies in the list, e.g. adding 6 to the example above would give 1, 2, 3, 4, 5, 6, 1, 2, 3, 4, 5, 6.

    If you save the form, the extra drop downs/fields disappear, and are not added to the form field, so it looks like it could be a javascript error (the old values are left and the new ones are added to the dom without removing the old ones first).

    The image below shows an example of the extra fields:

    Any chance of a fix? One of our clients spotted this one when they tried to make a survey this morning. Have tested this on the latest build and the bug appears to present there as well as the version we're running (one of the 1.4 builds).

    Oh, and before anyone chimes in asking me to get the client to use a better browser, it ain't gonna happen. Large companies with 20K employees don't spontaneously change browsers just because their web developer tells them to.

    :P

  • Comment author was deleted

    Feb 25, 2011 @ 15:49

    @Tim, sure I'll look into this, will keep you updated in the progress (you can expect a fix early next week)

    Cheers,
    Tim

  • Tim 1193 posts 2675 karma points MVP 4x c-trib
    Feb 25, 2011 @ 16:06
    Tim
    0

    Thanks Tim, you're a star as always!

    :)

  • Comment author was deleted

    Mar 01, 2011 @ 13:42

    Fixed in 1.1.6, release coming today or tomorrow

    If you already want to upgrade you can do so from the WIP

    http://nightly.umbraco.org/Umbraco%20Contour/1.1.6%20WIP/

Please Sign in or register to post replies

Write your reply to:

Draft