"Select Frame" anchoring doesn't get updated on indication name collision
vixfwis opened this issue ยท 0 comments
Description
If you import a WA pack, and there's a name collision, the new one will name name with numeric suffix. That's great, but "Select Frame" anchoring doesn't update when it happens. It's very handy having indications tied to one another, so the main one could be moved freely or placed into dynamic groups without moving connected ones. However, if there's a name collision, this mechanism breaks.
The solution would be that if name collision happens, a search is performed for references in the imported WA pack. Every reference would be updated to point to a new name.
WeakAuras Version
WeakAuras 5.3.1
World of Warcraft Flavor
Retail (Default)
Tested with only WeakAuras
- Yes
- No
Lua Error
No response
Reproduction Steps
- create group with 2 indications inside, use select frame to bind one to the other (sample attached to "Export String" field)
- export and import it, as copy
- move main indication
- see that bound indication hasn't moved as it's bound by name to original non-copy
Last Good Version
No response
Screenshots
No response
Export String
!WA:2!DwvtZrTrtyVrjHefcywsmGbsKHGJdK1GxInyYx2YOTStw)bALzHtBgjn7QjOvAyMrR9AUTvkko7FbP2BPkoTvrvPQCHIFbD5k)c4NaNZH0sAd4Ie)(wfxgnQNU7PF6(P7PWTlkTND6Ro9mfBx0VO)Jo7EUeV75lI5lfhgl(bnnTn0UY0Z(C3yHpvyo8q(OMHSD2Hi8nCIJdvmEFvSxhQqYIJozHh23w6rcPAU5Mf0p)RLFlk)y1UFcrqnQKegAupGPO9f0wODoD5u7wI4e(q1RX2H(odY3NhofkuqtS96nBkPQLFQ43p6VoYiJ46fh1K1sxq8uOBKZzlveHs3TjlIjd0nXpk9EkbRvlmchFsXWTpSVp1nPzZ0lwSSv1nQSzvtvAuqseKY9KCAy4k(s9NltCPDOrQAO2STh0yPfR50OMZI2oMjOZD5HKUuHDePnvQBNPQ7YusOk4LMUHGIMAxBdRQv3njAyiOl6oenlq(RFBbenVGfPOIis4TZZMpyajYliwSrmEG7swR5yzVljI1MKc25GJv5zuIKwtjOrTubhcoPzuCeDpFecPA0ifqcjfts(YEPQMcx4sMTjSOkWfrdGlbFjucMg)w81LCoM)UtmXeLkPOs1awuZyr(nRpOPaHlEVefr7f5bzLurP(3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