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

Field types do not normalize sortKey properly

    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.

        Issue Links

          Activity

          Show
          Petar Spanja (Inactive) added a comment - Pull request: https://github.com/ezsystems/ezpublish-kernel/pull/521
          Show
          Petar Spanja (Inactive) added a comment - Fixed in ezpublish-kernel/master: https://github.com/ezsystems/ezpublish-kernel/commit/7f87368aa86284cb53c97cdba0a57d55412c361f
          Hide
          Marcos Loureiro (Inactive) added a comment -

          QA Approved

          Show
          Marcos Loureiro (Inactive) added a comment - QA Approved

            People

            • Assignee:
              Unassigned
              Reporter:
              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