Uploaded image for project: 'PresideCMS'
  1. PRESIDECMS-152

DataManagerService _propertyIsSearchable() causes problems for properties with no maxlength attribute

    Details

    • Type: Bug
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects versions: None
    • Fix versions: 10.2.3
    • Labels:
      None
    • Sprint:
    • Accepted:
      Yes

      Description

      Basically if there is a string based property in an object without a maxlength attribute the datatables search filter either throws an error or omits the required field from the search query.

      A possible side effect is a query with a query string that has a broken WHERE clause e.g.

          SELECT object.field1, object.field2 FROM object WHERE LIMIT 5, 10
      

      Note "WHERE LIMIT"

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              nodoherty Niall
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: