Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
5.3.11
-
None
-
-
Empty show more show less
-
Kromeriz 19
-
2
Description
It looks like, that the clean command can not handle with webapp relative directory setting. The following stacktrace appears on every command execution.
15-10-30 12:00:00 ERROR author[DefaultQuartzScheduler_Worker-1]info.magnolia.module.scheduler.CommandJob: Cannot execute
command cleanTempFiles-null.
java.lang.IllegalArgumentException: Parameter 'directory' is not a directory
at org.apache.commons.io.FileUtils.validateListFilesParameters(FileUtils.java:545)
at org.apache.commons.io.FileUtils.listFiles(FileUtils.java:521)
at org.apache.commons.io.FileUtils.iterateFiles(FileUtils.java:628)
at info.magnolia.ui.framework.command.CleanTempFilesCommand.execute(CleanTempFilesCommand.java:68)
at info.magnolia.commands.MgnlCommand.executeSynchronized(MgnlCommand.java:81)
at info.magnolia.commands.MgnlCommand.execute(MgnlCommand.java:70)
at info.magnolia.module.scheduler.CommandJob.execute(CommandJob.java:135)
at org.quartz.core.JobRunShell.run(JobRunShell.java:223)
at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
Checklists
Acceptance criteria
Attachments
Issue Links
- caused by
-
MGNLUI-3542 Temp files are not deleted after use of upload field
-
- Closed
-