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

AutoPrefix of bare property does not apply if field is aliased

    Details

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

      Description

      The method _autoAliasBareProperty (which should be renamed to _autoPrefixBareProperty) does not prefix a property name if it is aliased in the SQL.

      So:

      "name" will be prefixed to "objectName.name"

      But:

      "name as label" will not be prefixed; should become "objectName.name as label".

      (Above examples would also include db-specific escaping if enabled).

        Attachments

          Activity

            People

            • Assignee:
              seb Seb Duggan
              Reporter:
              seb Seb Duggan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: