In a custom .blend environment with a lot of python scripts included with logic blocks, the script whose name is the last according to descending alphabetic order gets overwritten by "component_config.py"
Things needed to reproduce the bug:
A .blend with two logic sensors bricks, for example two "always sensors", pointing to two python scripts "y.py, z.py".
A builder script using that .blend file as an environment
run morse edit the_environment
inspect in the logic editor that "z.py" has been replaced with "component_config.py"
After a bit of digging, it seems that in "abstractcomponent.py", in write_config, bpymorse.get_last_text() does not return the last component created, but the last component sorted alphabetically.
In a custom .blend environment with a lot of python scripts included with logic blocks, the script whose name is the last according to descending alphabetic order gets overwritten by "component_config.py"
Things needed to reproduce the bug:
After a bit of digging, it seems that in "abstractcomponent.py", in write_config, bpymorse.get_last_text() does not return the last component created, but the last component sorted alphabetically.