Uploaded image for project: 'Lucee Development'
  1. LDEV-584

listRemoveDuplicates, returns adjacent empty elements (ACF incompat)

    Details

    • Type: Incompatibility
    • Status: Deployed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.1.1.35
    • Labels:
      None

      Description

      The function listRemoveDuplicates is returning empty Elements located at the end of a list as well. This is incompatible to ACF. There any trailing empty elements are truncated.
      Lucee should also Support the additional param ignoreEmptyListElements (or whateve it is called)

      Example:
      a = '20,10,10,10,';
      dump(listRemoveDuplicates(a));

      Lucee returns "20,10,"
      ACF Returns "20,10"

        Attachments

          Activity

            People

            • Assignee:
              michaeloffner Michael Offner
              Reporter:
              gfranz Gert Franz
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: