kogmbh/WebODF — pull request #578 by peitschie (2014-05-12 07:51:13+00:00)
Title: Ensure each bookmark is only present ONCE in the step-to-DOM point cache

Allowing the same bookmark to appear multiple times in this particular cache causes major headaches when the bookmark is updated, as EACH step-to-DOM (s2D) entry pointing to the bookmark would also need to be updated.

As there is no real performance benefit from having the same bookmark appear multiple times, life is made significantly simpler by only allowing the bookmark to appear a maximum of once in the s2D cache.

See new operation test for reproduction steps... these are rather arcane as they were discovered Bella.