Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-21584

Field types do not normalize sortKey properly

    XMLWordPrintable

    Details

      Description

      Currently TextLine field type does not normalize (downcase) sortKey for the Persistence, causing failure when using search with PostgreSQL.

      Ref: https://github.com/ezsystems/ezpublish-kernel/pull/514

      FieldType should downcase sortKey for the persistence value. In the existing field types that is done with PHP's strtolower function, but in the LS it is done using TransformationProcessor which is for the new kernel reimplemented in the Legacy Storage.

      Therefore TransformationProcessor needs to be moved out of Legacy Storage and all field types need to use it for sortKey normalization.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              petar.spanja-obsolete@ez.no Petar Spanja (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 3 days, 3 hours, 45 minutes
                  3d 3h 45m