Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-23951

Image file picker in WYSIWYG editor inserts broken external links to files in Alfresco repository

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Repositories
    • Labels:
      None
    • Environment:
      2.0 Preview 4+ (Build: 20100826)
      Alfresco 3.3 Community Edition
      PHP 5.2.13
      Firefox 3.6.8
    • Database:
      Any
    • Affected Branches:
      MOODLE_20_STABLE

      Description

      Trying to insert an image link from a configured Alfresco repo via the WYSIWYG editor while selecting the "Link external" checkbox results in broken image URLs.
      In other words, direct linking to image resources in Alfresco does not work right now.

      Turns out that only the node ID is inserted, rather than the full image URL.
      Alfresco's developer wiki lists the proper format(s), here is the one needed for anonymous ("guest") access to a file.
      http://wiki.alfresco.com/wiki/URL_Addressability#Guest_Access

      See attached screen shots for the steps taken.

      Thanks,

      • Stefan

        Attachments

        1. alfresco.patch
          0.8 kB
        2. imagefilepicker1.jpg
          imagefilepicker1.jpg
          131 kB
        3. imagefilepicker2.jpg
          imagefilepicker2.jpg
          57 kB
        4. imagefilepicker3.jpg
          imagefilepicker3.jpg
          52 kB

          Activity

            People

            Assignee:
            dongsheng Dongsheng Cai
            Reporter:
            ruebezahl Stefan Topfstedt
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: