Log in

View Full Version : [BUG] Dragging and drop of wall layer results in console ERROR.



Carlos
November 15th, 2020, 03:20
Summary: Dragging and drop of wall layer results in console ERROR.
Ruleset(s): Pathfiner (1e)
New Campaign / FGC Migrated Campaign: FGC migrated campaign.
Extensions/Themes: Theme_wood (extension).
Modules Loaded: None.
Operating System / Language Setting: Windows 10, English (United States)
Latest version: v4.0.1 ULTIMATE (2020-11-11)

Steps to Reproduce:

Unlike my other bugs this is going to be harder if not impossible to reproduce, but reporting it is relevant because it has triggered an assertion.


While editing a complex map.
Create a new wall layer.
Attempt to drag the wall layer into a layer folder that already contains other wall layers.


Expected behaviour:

Wall layer appears in the correct spot in the layer folder.


Observed behaviour:

The layer folder is duplicated and appears twice in the layer list with all children layers.
The console is open with the last message being "[ERROR] Layer parent id is equal to layer id."
As soon as I try to click on the duplicated layer folder it disappears from the list and the list is back to normal.


Screenshot of failure: 41129
Compiled logs: 41130

Notes:

This happened randomly while adding LOS to a map from a legacy FGC campaign.