Pentaho Analysis - Mondrian
  1. Pentaho Analysis - Mondrian
  2. MONDRIAN-539

Problem with the MID function getting last character in a string.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Severe Severe
    • Resolution: Fixed
    • Affects Version/s: 3.0.5
    • Fix Version/s: 3.1.1 GA
    • Component/s: None
    • Labels:
      None
    • Operating System/s:
      Windows Vista

      Description

      The following MDX:

      with
      member measures.x as 'Mid("yahoo",5, 1)'
      select {measures.x} ON COLUMNS from [Sales]

      returns the empty string.

      On previous versions (2.7) it would return "o" - the expected value.

        Activity

        Hide
        Julian Hyde added a comment -
        Fixed in change 12617. Will be in mondrian-3.1.1.
        Show
        Julian Hyde added a comment - Fixed in change 12617. Will be in mondrian-3.1.1.
        Hide
        Priya Muraleedharan added a comment -
        This issues has been fixed and Validated in SUGAR-Nightly build(03/011).
        Show
        Priya Muraleedharan added a comment - This issues has been fixed and Validated in SUGAR-Nightly build(03/011).

          People

          • Assignee:
            Julian Hyde
            Reporter:
            magnusbyne
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: