jomarko opened a new issue, #2145: URL: https://github.com/apache/incubator-kie-issues/issues/2145
Sandbox is currently loading **.wid** files that are not in the same directory hierarchy as the BPMN model, even though they reside in the same workspace. The BPMN Editor should only load **.wid** files that meet one of the following conditions: - They are located in the same directory as the BPMN file. - They are located in the /global root folder, which is treated as a shared/global location. ### Examples of project structures ``` /global/global.wid # ✅ Always loaded and visible to '/src/main/resources/bpmn/a.bpmn' /src/main/resources/global/sub-global.wid # ❌ Not loaded — no BPMN file in '/src/main/resources/global' /src/main/resources/bpmn/a.bpmn /src/main/resources/bpmn/bpmn.wid # ✅ Loaded and visible to '/src/main/resources/bpmn/a.bpmn' ``` ``` /src/main/resources/bpmn/sub/sub-a.bpmn # ❌ No .wid file available for 'sub-a.bpmn' /src/main/resources/bpmn/a.bpmn /src/main/resources/bpmn/bpmn.wid # ✅ Loaded and visible to '/src/main/resources/bpmn/a.bpmn' ``` ``` /src/main/resources/bpmn/sub/sub-bpmn.wid # ❌ Not loaded — '/src/main/resources/bpmn/sub' has no BPMN file /src/main/resources/bpmn/a.bpmn /src/main/resources/bpmn/bpmn.wid # ✅ Loaded and visible to '/src/main/resources/bpmn/a.bpmn' ``` If the BPMN Editor detects **.wid** files in both locations (**/global** and directory of the opened BPMN file), their contents are merged and displayed together in Custom Tasks palette. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
