Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-11732

Make script to move validator configuration conditionally

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Won't Fix
    • None
    • 13.3.0
    • None
    • None

    Description

      Existing configuration for validators is at /hippo:configuration/hippo:frontend/cms/cms-validators. New configuration is bootstrapped at /hippo:configuration/hippo:modules/validation/hippo:moduleconfig.

      Old configuration should be removed, but only if it is not modified by the developers in the client project. The contentblocks-validator configuration must not be moved.

      Write a migration/updater script that converts the old validators to the new ones:

      for all known-validator-names
        if plugin.class matches expected default
          if regexp_pattern exists
            copy-to-new-validator
          delete old validator node
        else
          disable new validator

       

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bleunis Bert Leunis (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: