Uploaded image for project: 'Links directory'
  1. Links directory
  2. LINKS-178

When a user insert its link without http or https then the link is not working in href

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.12.0
    • 2.11.0
    • None
    • 4.3 RC3

      How to reproduce

      • Insert a LinkDirectory service, allow the user to insert links like favorites
      • Go to front-office
      • Insert a link, for exemple www.ametys.org (without http)

      Actual behavior

      • href contains only www.ametys.org which does not work correctly

      Expected behavior

      • For a user link coming from front-office, the stored link should contains http://, Ametys should add the protocol http
      • OR an error should be displayed to ask the user to set a link with the protocol.

          [LINKS-178] When a user insert its link without http or https then the link is not working in href

          I can not use it on my project. So I can not close it for now

          Frederic Ravetier (Inactive) added a comment - I can not use it on my project. So I can not close it for now

          Yes but... LINKS-171

          Bérénice Maurel added a comment - Yes but... LINKS-171

          Raphaël Franchet added a comment - - edited

          The view can add it before storing it

          We have to check if it can be done in the kernel link helper... so any project view will use it

          Raphaël Franchet added a comment - - edited The view can add it before storing it We have to check if it can be done in the kernel link helper... so any project view will use it

            Unassigned Unassigned
            fravetier Frederic Ravetier (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: