Community
Participate
Working Groups
This happens when I first load a workspace, but stops happening after an incremental build occurs. The references of references should not be included. To be specific: the RUIHandler invokes a service, the service uses a record. The RUIHandler does not reference the record but it gets included in the list returned by IRUtils.getReferencedFor() - and it shouldn't. This causes a problem because the HTML for the RUI page tries to load the record.js file, but no such file exists. On some browsers, like Firefox, this prevents the page from loading. I'll attach a project that demonstrates this. To reproduce: import the project, restart the workspace, then without letting an incremental build run, debug page1.egl with Firefox set as your external browser. You'll get an error in the browser: Could not open /defect/server/serviceRec.js
Created attachment 206624 [details] Project to reproduce
I have updated the visitor in IRUtils to fix this. The problem occurred because a MemberAccess had already resolved to the function member in another part. Because of this, the visitor ended up visiting the function aand found part references in it.
Verified