Notes and attached files

Bug #1439194 reported by Marc-Andre Gaudreau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Son Nguyen
1.10
Fix Released
High
Unassigned
1.8
Fix Released
High
Unassigned
1.9
Fix Released
High
Unassigned
15.04
Fix Released
High
Son Nguyen
15.10
Fix Released
High
Unassigned

Bug Description

When I attach a file to a note on a page and then delete the file using the "content > files" panel, I can't edit the note via the "portfolio > pages" panel anymore. When I try to do it, I get : "Artefact with id XXX not found" (where XXX is the id of the recently deleted file).

I can still however edit the note directly from "content > notes". The problem only occurs via "portfolio > pages > edit content and layout".

Mahara version : 1.10.3testing (2014092315)
Operating system : Linux
Database : MariaDB

Son Nguyen (ngson2000)
Changed in mahara:
status: New → Confirmed
milestone: none → 15.10.0
importance: Undecided → High
Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/4575

Son Nguyen (ngson2000)
Changed in mahara:
assignee: nobody → Son Nguyen (ngson2000)
status: Confirmed → In Progress
Revision history for this message
Jinelle Foley-Barnes (jinelleb) wrote :

Hi Marc-Andre Gaudreau,

One of the developers has had a look at this and has wrote a fix for it. It is currently going through code review and getting tested to make sure it works well.

Thanks for finding the issue and reporting it to us, much appreciated :)

Cheers,
Jinelle

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4575
Committed: http://gitorious.org/mahara/mahara/commit/d76435a023ce1acbed9b90d8106616d112db2cfd
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit d76435a023ce1acbed9b90d8106616d112db2cfd
Author: Son Nguyen <email address hidden>
Date: Thu Apr 2 09:48:10 2015 +1300

Update the block configdata for attachments. Bug 1439194

Change-Id: I45bdbbaeedf2e6bced74da0a8d7eebed753d4595
Signed-off-by: Son Nguyen <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.04_STABLE" branch: https://reviews.mahara.org/4583

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4583
Committed: http://gitorious.org/mahara/mahara/commit/cacf780edbb7c1c82a55c4a5c9f72247c28c0fbb
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.04_STABLE

commit cacf780edbb7c1c82a55c4a5c9f72247c28c0fbb
Author: Son Nguyen <email address hidden>
Date: Thu Apr 2 09:48:10 2015 +1300

Update the block configdata for attachments. Bug 1439194

Change-Id: I45bdbbaeedf2e6bced74da0a8d7eebed753d4595
Signed-off-by: Son Nguyen <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "1.10_STABLE" branch: https://reviews.mahara.org/4634

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "1.9_STABLE" branch: https://reviews.mahara.org/4635

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Patch for "1.8_STABLE" branch: https://reviews.mahara.org/4636

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/4636
Committed: http://gitorious.org/mahara/mahara/commit/9409b0de97d2b1dc38250ccc64ec77581ee4fafd
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.8_STABLE

commit 9409b0de97d2b1dc38250ccc64ec77581ee4fafd
Author: Son Nguyen <email address hidden>
Date: Thu Apr 2 09:48:10 2015 +1300

Update the block configdata for attachments. Bug 1439194

Change-Id: I45bdbbaeedf2e6bced74da0a8d7eebed753d4595
Signed-off-by: Son Nguyen <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/4635
Committed: http://gitorious.org/mahara/mahara/commit/57173d77bea336d604f670fc18354f836d6275bb
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.9_STABLE

commit 57173d77bea336d604f670fc18354f836d6275bb
Author: Son Nguyen <email address hidden>
Date: Thu Apr 2 09:48:10 2015 +1300

Update the block configdata for attachments. Bug 1439194

Change-Id: I45bdbbaeedf2e6bced74da0a8d7eebed753d4595
Signed-off-by: Son Nguyen <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote :

Reviewed: https://reviews.mahara.org/4634
Committed: http://gitorious.org/mahara/mahara/commit/73ce56e6a25a8cc3816cb34ef05e24a463635eaa
Submitter: Robert Lyon (<email address hidden>)
Branch: 1.10_STABLE

commit 73ce56e6a25a8cc3816cb34ef05e24a463635eaa
Author: Son Nguyen <email address hidden>
Date: Thu Apr 2 09:48:10 2015 +1300

Update the block configdata for attachments. Bug 1439194

Change-Id: I45bdbbaeedf2e6bced74da0a8d7eebed753d4595
Signed-off-by: Son Nguyen <email address hidden>

Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
tags: added: needs-behat
tags: added: behat
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.