Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-32999 META: Files UI Stage 2 polishing in master
  3. MDL-33183

Filemanager: Broken upload for user picture on edit profile page

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.3
    • Component/s: Filepicker
    • Labels:
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE

      Description

      When editing your profile (I was admin on Chrome) there is no filemanager at all for the profile picture upload.

      Just a textarea with "No files attached - drag and drop files here to upload them" in it.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

              Hide
              marina Marina Glancy added a comment -

              Martin, there are several form elements that are used to add files and co-operate with filepicker. They are:
              Forms API:
              /lib/form/filepicker.php (examples: user edit form, upload single file assignment submission)
              /lib/form/url.php (only usage in URL resource)
              /lib/form/file.php (deprecated)
              /lib/form/filemanager.php

              and in Database module:
              /mod/data/field/picture
              /mod/data/field/url
              /mod/data/field/file

              We re-styled only filemanager element

              Show
              marina Marina Glancy added a comment - Martin, there are several form elements that are used to add files and co-operate with filepicker. They are: Forms API: /lib/form/filepicker.php (examples: user edit form, upload single file assignment submission) /lib/form/url.php (only usage in URL resource) /lib/form/file.php (deprecated) /lib/form/filemanager.php and in Database module: /mod/data/field/picture /mod/data/field/url /mod/data/field/file We re-styled only filemanager element
              Hide
              dougiamas Martin Dougiamas added a comment -

              OK, the styling of the "single file picker" is broken then. But it's still broken!

              Show
              dougiamas Martin Dougiamas added a comment - OK, the styling of the "single file picker" is broken then. But it's still broken!
              Hide
              dougiamas Martin Dougiamas added a comment -

              It's a lot better now, thanks, with the drag/drop logo.

              I'll leave this closed and file something new about file picker because it still needs some cleaning up.

              Show
              dougiamas Martin Dougiamas added a comment - It's a lot better now, thanks, with the drag/drop logo. I'll leave this closed and file something new about file picker because it still needs some cleaning up.

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    25/Jun/12