Skip navigation

 RSS New entries in Shortlist Builder sometimes partially duplicated; bad reference

RSS posted on behalf of GeoNet : All Content - Story Maps 3 years ago

    One of our users ran across a strange case with a multi-tab Shortlist story map hosted on AGOL. They have 124 entries on their first tab. When trying to add another entry at this point, if often appears as if two entries are added, then adding another opens the first entry in their list. I'll try to explain. This occurs in both the latest Chrome and Firefox and doesn't always happen. Eventually, there are some JS errors in the console.





    1. Clicking "Add" to add a new entry (should be #125). Before the edit fields appear, there is just enough time to see that there are suddenly two unplaced entries . If this happens, it's downhill.
    3. The entry can be added as normal. Once complete, there are no unplaced entries indicated.
    5. Clicking add again, which should add #126, briefly shows two unplaced entries, again, then opens the editor for entry #1. No errors or new messages appear in the JS console at this point.
    7. Clicking the "X" to close the entry returns to the list of entries and produces multiple TypeErrors in the console.

      builder-min.js?v=2.3.2:1 Uncaught TypeError: Cannot read property 'some' of undefined
      at t (builder-min.js?v=2.3.2:1)
      at n.updateFocus (builder-min.js?v=2.3.2:1)
      at n.handleBodyFocus (builder-min.js?v=2.3.2:1)
      t @ builder-min.js?v=2.3.2:1
      updateFocus @ builder-min.js?v=2.3.2:1
      handleBodyFocus @ builder-min.js?v=2.3.2:1
    9. Back at the list of entries, the last item is shown as #127; there is no 126 visible. This is no image or other information associated with #127. Clicking on #127 opens entry #1, again. Clicking on #125 does appear to open that entry. There are two unplaced entries indicated. (see attached sl05.png)
    11. Switching to a different tab and then back to all projects shows #125 twice in the list, and also #127 twice. Clicking on either instance of 125 opens what appears to be #125. Clicking on the first instance opens something numbered 128. Closing that editor now shows two instances of #125 in the list but nothing numbered higher.
    13. From this point on, repeated errors in the console are seen.



    I've tried deleting the last entry, #124, saving, and adding again, but the problem continues to occur. I created a separate Shortlist map and am into the low 130s for features and haven't seen this behavior yet, so it may be specific to this map.




    The story map is viewable at




    Has anyone seen anything like this?

    shared via RSS