-
Improvement
-
Resolution: Won't Do
-
Minor
-
None
-
None
In Magnolia 5.3.2 we introduced the NodeVisitorTask as a safer replacement for QueryTask in most cases (see linked ticket MAGNOLIA-5857). We started to warn against unsafe usages whenever executing a QueryTask.
In 5.4 we want to deprecate current constructor, and add a new one with a boolean flag in the following spirit: "I read about the limitations and I know what I'm doing". If that boolean is false (default), we would fire a TaskExecutionException and interrupt the upgrade.
Acceptance criteria
- clones
-
MAGNOLIA-5857 Provide a NodeVisitorTask and emphasize QueryTask as "unsafe"
- Closed
- is related to
-
MAGNOLIA-8010 Make possible to configure execution of update tasks
- Closed