mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #13609
[Bug 1228917] Re: false positive on changing folders in file attachments
** Changed in: mahara
Status: In Progress => Fix Committed
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1228917
Title:
false positive on changing folders in file attachments
Status in Mahara ePortfolio:
Fix Committed
Bug description:
The leave page (dirty changes) warning appears on form pages where
there is a file attachment selector option in a form (eg journal
entries) when trying to go from one file directory to another.
To test:
1) Upload some file in Content -> files to a new subdirectory.
2) Fill in details on a form that has file attachments (eg Journal
entry)
3) Click 'Add a file' button and choose to navigate to a subdirectory
Expected result: go to the subdirectory and pick a file
Actual result: get prompted about leaving page
The bug is to do with the dirty changes patch and how file attachments
work. When changing directories the form looks to save it's state and
re-display itself but the dirty changes is not recognising this and
thinking data is being lost when it is not.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1228917/+subscriptions
References