Uploaded image for project: 'LAMS Development'
  1. LAMS Development
  2. LDEV-2738

If a lesson has an apstrophe in the title a learner cannot edit an image in Pixlr

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4, 2.3.6
    • Fix Version/s: 2.4, 2.3.6
    • Labels:
      None

      Description

      From Vito Trifilo @ Editure:

      --
       
      We've run into an issue with the Pixlr tool in LAMS. If a lesson has an apostrophe in the title clicking "Edit Image in Pixlr" does nothing.
       
      To repeat:
       
      Author a new lesson
      Add the Pixlr tool to the lesson
      Change the title to something that includes an apostrophe (eg. Pixlr's Test)
      Add an image and save the lesson
      If a user then attempts to complete the lesson nothing happens when they click "Edit Image in Pixlr"
       
       
       --

      This gives a javascript error. Most likely the single quote is not being escaped correctly.

        Activity

        Hide
        ernieg Ernie Ghiglione added a comment -
        Have a look at this task
        Show
        ernieg Ernie Ghiglione added a comment - Have a look at this task
        Hide
        marcin Marcin Cieslak added a comment -
        On JSP side no solution allowing proper encoding of the URL has been found.
        It was fixed by encoding the URL on Java side.
        No other URLs has been encoded to provide minimal impact on already existing functionality.
        Show
        marcin Marcin Cieslak added a comment - On JSP side no solution allowing proper encoding of the URL has been found. It was fixed by encoding the URL on Java side. No other URLs has been encoded to provide minimal impact on already existing functionality.
        Hide
        ernieg Ernie Ghiglione added a comment -
        Tested and closed
        Show
        ernieg Ernie Ghiglione added a comment - Tested and closed

          People

          • Assignee:
            marcin Marcin Cieslak
            Reporter:
            ernieg Ernie Ghiglione
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development