Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-5859

Further prevent unsafe usages of QueryTask

    XMLWordPrintable

Details

    • 8

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                mgeljic Mikaël Geljić
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD