Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-26316

Description gets newlines escaped twice in iCal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: RESOLVED
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 10.0
    • Fix Version/s: 11.0
    • Component/s: Calendar
    • Labels:
      None
    • Test Plan:
      Hide

      Create an event a few days in the future.
      In the description and location put some text from a windows text file (contains carriage return, newline).
      Create an ical feed for the site and check that it can be subscribed to by a ical client.

      Show
      Create an event a few days in the future. In the description and location put some text from a windows text file (contains carriage return, newline). Create an ical feed for the site and check that it can be subscribed to by a ical client.

      Description

      Carriage returns aren't valid in iCal field values so we replace them with newlines, however there is now code todo this twice in trunk.

      This shouldn't cause any major problems as the second time there won't be anything to escape but isn't unnecessary.

      A second issue is that the location is also a text field and may end up containing carriage returns so should also be escaped.

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  buckett Matthew Buckett
                  Reporter:
                  buckett Matthew Buckett
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration