Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-6618

Dataform Attached File File Path Changing Between Browsers (affecting notification emails as link address changes)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not a bug
    • Affects Version/s: 3.1.3
    • Fix Version/s: None
    • Component/s: Set: Dataform
    • Labels:
      None
    • Plugin Version:
      Dataform 3.0.4 (2015111604)
    • Affected Branches:
      MOODLE_31_STABLE

      Description

      We receive an email notification which includes an attached file. The link to this file which appears in the email notification does not work.

      STEPS TO TAKE
      1. Add dataform activity
      2. Add file (field type)
      3. Add View (Grid)
      4. Add notification -
      Content from view: (choose the view created)
      Format: HTML format

      5. Logged in with test student account via Internet Explorer - create an entry
      6. Attempt to open notification link in another browser e.g. Firefox (it fails)
      7. Attempt to open notification link in Internet Explorer (it works)

      It seems that the browser used to create the entry must be the browser to view it to some extent at least...

      I noticed the links to the file actually change within Moodle itself for example:
      1. I created a entry in Firefox
      2. On creation the link address was: ...

      mod_dataform/content/NjcxNzgsMDkxYTRiM2QyNDU2MDkzNWNkNTc4NWNhMDVjMmNmODA%3D/FF2.docx

      3. This was also the link on the email notification.

      4. On loading the dataform view on Internet Explorer however I noticed the file path was different e.g.

      mod_dataform/content/NjcxNzgsOWZiOTNiYjNkNmU3NGFlZGQ5NjBhMThkMzE4YjkwZDk%3D/FF2.docx

        Attachments

          Activity

            People

            Assignee:
            itamart Itamar Tzadok
            Reporter:
            Downes Joe
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: