MongoDB doesn't respect collation in $rtrim for custom characters

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Execution
    • ALL
    • Hide

      {$rtrim: {input: $str, chars: {$max: [$str, {$toUpper: $str}]}}} with a capitalization insensitive comparison can results in either "" or $str. 

      Show
      {$rtrim: {input: $str, chars: {$max: [$str, {$toUpper: $str}] }}} with a capitalization insensitive comparison can results in either "" or $str. 
    • QE 2024-10-28, QE 2024-11-11, QE 2024-11-25, QE 2024-12-09, QE 2024-12-23, QE 2025-01-06, QE 2025-01-20, QE 2025-02-03, QE 2025-02-17, QE 2025-03-03, QE 2025-03-17, QE 2025-03-31, QE 2025-04-14, QE 2025-04-28, QE 2025-05-12, QE 2025-05-26, QE 2025-06-09, QE 2025-06-23, QE 2025-07-07, QE 2025-07-21, QE 2025-08-04, QE 2025-08-18, QE 2025-09-01
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      $ltrim and $trim are likely also effected

              Assignee:
              Projjal Chanda
              Reporter:
              Sam Mercier
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: