View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0030430||2.x IDE Bugs||General||Public||2019-01-21 15:32||2019-02-15 14:23|
|Reporter||Dan||Assigned To||Steven Campbell|
|Priority||Medium||Severity||C - General||Reproducibility||100%|
|Platform||-||OS||Windows 10||OS Version||Pro x64|
|Target Version||2.2.2||Fixed in Version||2.2.2|
|Summary||0030430: General: IDE detects lack of root view for a project, but does nothing to inform the user or attempt a repair|
|Description||Using the attached project, you can see the IDE detects the lack of a root view for the project, but does nothing to inform the user or attempt a repair. Accordingly, on trying to run the game you suddenly get a compile error that the room cannot be found. The room opens fine within the IDE.|
You can see that we log the error to the ui.log, but do not show this to the user in the IDE:
[18:16:28:149(9b35)] Creating FolderWatcher at 'C:\Users\Marti\Documents\GameMakerStudio2\Strategie'
[18:16:28:346(9b35)] No root view detected...
[15:04:12:70(3bf8)] Creating FolderWatcher at 'C:\Users\daniel.cleaton\OneDrive\OneDrive - Playtech\Strategie2'
[15:04:12:72(3bf8)] No root view detected...
Expected: We either prompt the user to repair this issue automatically (as we do for other forms of corruption) or, if no repair is possible, we show a message on project load that the project has this issue.
|Steps To Reproduce||1. Open the project in the archive P:\GMS2-Bugs\0030430-Strategie.rar|
2. Observe that it appears to load fine.
3. Try running it.
4. Observe it complains that the room is missing.
|2.x IDE Found In||188.8.131.525|
|2.x Runtime Found In||184.108.40.2061|
|2.x IDE Verified In||220.127.116.113|
|2.x Runtime Verified In||18.104.22.1688|
Fixed as part of Red IDE/GitHub Pull Request 4451
Git Id: e565f65e6c37752023e340743bd370278b7796e9
Project was not set as dirty, so although the root view had been recreated by the IDE, it had not been saved out.
Above commit also does additional fixing of rogue resources in root views and ensures the order matches up correctly.
Closing. Verified as fixed in:
Beta IDE v22.214.171.1243 Beta Runtime v126.96.36.1998