Community
Participate
Working Groups
To implement incremental generation for Xpand (see bug #282957), we need to read files that may not exist. Currently, the Reader workflow component throws an exception and aborts the workflow. In our case, however, we can proceed with a normal (non-incremental) generation. I suggest an additional parameter "ignoreMissingModel" for the compnent. It defaults to false, thus maintaining its current behavior. If set to true, the Reader will ignore I/O errors and simply return a null model.
Created attachment 141488 [details] Proposed patch This patch implements the suggested changes. Test case included. The diff for the test case looks a bit strange in the patch file. I don't know why it got messed up and if it can be applied correctly. Maybe some Windows/Linux file encoding issues?
Patch applied. Thanks.