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

In OSP Forms, mailto links and links to named anchors deleted on save

    Details

    • Type: Bug
    • Status: CLOSED
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.x, 2.7.x
    • Fix Version/s: 2.6.x
    • Component/s: Kernel
    • Labels:
      None
    • Previous Issue Keys:
      KNL-425

      Description

      In OSP forms, when a mailto link or a link to a named anchor is included in the content of a WYSIWYG field, the link is stripped out when the form is saved. This occurs regardless of whether the source is edited by hand or the hyperlink tool is used to create the link. These links are preserved in other tools that use the FCK editor, so the problem appears to be specific to Forms.

      This seems to be caused by processAnchor(String anchor) in FormattedText.java by removing quotes and not replacing them correctly.

      I have attached a patch that fixes this issue. Please review and determine if this patch doesn't have any negative consequences.

      Related to: http://jira.sakaiproject.org/browse/SAK-17953

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  Assignee:
                  bkirschn Beth Kirschner
                  Reporter:
                  bahollad@indiana.edu Bryan Holladay (old account) (Inactive)
                  Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                    Dates

                    Created:
                    Updated:
                    Resolved:

                      Git Integration