File upload field in version 2.3+ flawed

File upload field in version 2.3+ flawed

by Paul Nijbakker -
Number of replies: 4

Hi all,

The file upload field of the Database activity causes errors in Moodle 2.3+. The drag and drop upload box in the field does not work and if users try to add entries through drag and drop anyway and submit the entry. This causes a database entry with NULL content. This empty entry in turn will break the list view of the Database activity (any entries after the empty entry become invisible).

The tracker issue is MDL-32456.

Rgrds,
Paul.

Average of ratings: -
In reply to Paul Nijbakker

Re: File upload field in version 2.3+ flawed

by Itamar Tzadok -

That's b/c the module's file and picture fields and respective js have not been updated to include the dndupload enhancement. smile

In reply to Itamar Tzadok

Re: File upload field in version 2.3+ flawed

by Paul Nijbakker -

Hi Itamar,

Do you know if there is any development on this issue? The fact that the drag and drop is not available for the database would in itself not be a disaster, but the flawed dropbox now causes some users to save empty entries that break the list view in the database and that does pose a problem (because it can only be restored by deleting the records manually from the MySql database).

Rgrds,
Paul.

In reply to Paul Nijbakker

Re: File upload field in version 2.3+ flawed

by Itamar Tzadok -

I don't know (http://tracker.moodle.org/secure/IssueNavigator.jspa?sorter/field=status&sorter/order=ASC). It shouldn't be a difficult fix though. At any rate, empty entries should not break the view list so that's probably one more issue to resolve. smile

In reply to Itamar Tzadok

Re: File upload field in version 2.3+ flawed

by Paul Nijbakker -

Hi Itamar,

I noticed that this issue (empty file upload entries breaking the list view of the database) only occurs if the database contains only a file uplaod field. If another field (e.g. a dat field) is added the list view displays properly (making it easy to delete the empty entries).

Rgrds,
Paul.