vdelachaux / 4DPop-QuickOpen

A fork of DevQuickOpen to quickly opening forms, methods, classes, documentation… in project mode
GNU General Public License v3.0
3 stars 0 forks source link

Built component crashes 4D #3

Open elutz opened 1 week ago

elutz commented 1 week ago

When I build the component on my own and run it with 4D 20R5, 4D crashes when I try to open one of the found methods in QuickOpen. It crashes at this line in the design.edit() function.

Try(METHOD OPEN PATH(This.paths.query("type = :1"; $designObject.type).pop().path+$designObject.name; *))

If I remove the Try command and add an error handler around the code, it no longer crashes.

This is with 4D 20R5 Build 100217 on Windows 10.

vdelachaux commented 14 hours ago

Thanks for the report, I'll look into it soon.