GSE: Sequences, Variables, Macros

GSE: Sequences, Variables, Macros

7M Downloads

[BUG] Attempting to import a previously deleted sequence fails

v8bt97yn opened this issue ยท 1 comments

commented

๐Ÿ”ต Describe the bug:
I frequently run into issues importing sequences. It may be linked to deleting an existing sequence and then re-importing the same sequence code. If I have the default merge selected, the import will fail entirely with no errors displayed. If I change to "Replace" the popup will display and I can replace the previously deleted sequence. I'm not sure if this has to do with the way data seems to be retained after "deleting", where the right hand side of the panel still has the old sequence information? When I run into this issue, it will persist even if I delete all of my sequences and reload the UI before I attempt to import again.

๐Ÿ”ต To reproduce: (Steps to reproduce the behavior)
Given I am in the GSE sequences menu
And I have the import option "Merge" selected
And I have an existing sequence
When I delete the existing sequence
And I return to the main menu
And I attempt to import the same sequence again
Then I am unable to import the sequence
And I am not given an error message

๐Ÿ”ต Desktop (please complete the following information):

  • OS: Windows 11 and MacOS 15
  • Game Version: Retail

https://github.com/user-attachments/assets/c2305a34-8e6e-4ce0-b21a-4b89e6cedcb1
GSE 2.lua.txt
GSE.lua.bak.2.txt
GSE.lua.bak.txt
GSE.lua.txt

commented

Has to do with timing - you are deleting - that goes into a queue and are importing before the queue has complete. Then you merge the new thing into the thing that's about to be deleted and then the delete goes off.

The Merge dialog only appears because something still exists and the delete hasn't been processed yet.

This isn't a bug more ahow GSE queues things into the Out of Combat Queue.