Closed henning-gerhardt closed 9 years ago
Asynchronous DMS export is designed to export to DMS, not to user homes. Thus, setting asynchronousAutomaticExport to true but automatic export property to false won’t work. This is because the long running tasks are something not related to any logged in user. They work after you logged out and can be controlled by any user with sufficient privileges. They don’t have access to any Faces context and cannot detect “the” user.
The observed behaviour is odd since any exception during directory creation is being caught. So the export continues notwithstanding the message being shown (in synchronous mode) reads “export canceled”. The asynchronous mode behaves alike because it executes that code.
Correct behaviour should be:
asynchronousAutomaticExport
if automatic export is disabled at all.return;
You are right but it was not clear to me that you must configure correct project properties if you want to use asynchronous export through task manager.
Fixed
Following NullPointerException is thrown while exporting:
Global property asynchronousAutomaticExport is set to true but project property for automatic export is set to false.
I did expect that if creation of destination directory fails whole export fails but all data are copied or exported.