[MAGNOLIA-5859] Further prevent unsafe usages of QueryTask Created: 30/Jul/14 Updated: 15/Mar/21 Resolved: 15/Mar/21 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | updatemechanism |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Mikaël Geljić | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | improvement, query, upgrade | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Template: |
|
||||||||||||||||
| Acceptance criteria: |
Empty
|
||||||||||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||||||||||
| Story Points: | 8 | ||||||||||||||||
| Description |
|
In Magnolia 5.3.2 we introduced the NodeVisitorTask as a safer replacement for QueryTask in most cases (see linked ticket 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. |