charoalvarez commented on issue #2357:
URL:
https://github.com/apache/incubator-kie-issues/issues/2357#issuecomment-4857081315
Hi @thiagoelg, thanks for the clarification on the intended behavior for
sub-directories — that makes sense as a design decision, not a bug.
However, this doesn't fully explain what we're seeing. To be precise: our
reproduction was done with the DMN file placed directly in the root of the
workspace, which per your explanation is the supported scenario. Even in that
case:
- The WSSFS_MOVE event handler in
packages/online-editor/src/companionFs/CompanionFsHooks.ts still throws an
uncaught Error("Moving not supported.") for the moved file, regardless of
whether it came from the root or a sub-directory. This isn't a "by design"
limitation on folder structure — it's a code path (WSSFS_MOVE) that was never
implemented, unlike WSSFS_RENAME, which is handled correctly.
- In some of our root-level reproductions, the DMN file was still not found
after applying the accelerator, independent of any path duplication.
Could you confirm whether the DMN-in-root scenario (single DMN file at
workspace root, no sub-directories, no existing Java project structure) is
expected to work end-to-end with "Apply Accelerator" → Quarkus + Dev
Deployment? If so, we believe the WSSFS_MOVE gap is a separate, genuine bug
independent of the folder-structure design decision you described.
--
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]