Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-4000

Revise how we detect names of files for showing them on error messages [Android]

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None
    • 4.2.0
    • File system
    • MOODLE_402_STABLE

      About the name of the file in the error, this is a problem of Android (or the 3rd party plugin we use to select the file). Instead of receiving the "normal" path to the file, Android is using a special path like this:

      content://com.android.providers.media.documents/document/video%3A8006

      And this path doesn't use the original name of the file. So we cannot know the original name, only the one that Android provides us (in the example above, "video:8006"). Unfortunately I'm not sure if we'll be able to fix this, you can open an issue if you wish to look at this later.

       

      Example:

      This was actually PXL_20220222_105722730.mp4

            Unassigned Unassigned
            isabelrenedo Isabel Renedo Rouco
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.