Warning message before deleting journal

Bug #1051500 reported by Kristina Hoeppner on 2012-09-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Medium
Valerii Kuznetsov

Bug Description

There should be a warning message when you attempt to delete one of your journals when it contains journal entries. Otherwise, accidental deletion will happen quickly.

Similarly to the deletion of folders / files, the pop-up window should say something along the lines of "You are attempting to delete a journal. This journal contains entries that are used in ... pages." There should also be a warning message that you delete a journal with entries even if the entries are not used in portfolio pages.

Changed in mahara:
status: New → Triaged
Son Nguyen (ngson2000) wrote :

Hi Kristina;

When I attempted to delete an journal I got a warning message.
Did you enable javascript when you tested this?

Hi Son,

Mhh. It does work on my 1.6 install. Sorry, I can't remember where I tested it. Should have written it down.

I do see the popup window now. Still, it only says that you are deleting the journal. I think the message could be improved along the lines of what I suggested earlier to state that the journal entries will also be deleted that are used in pages (or even if they are not used). The easiest will probably be just to update the lang string and include "All entries in this journal will also be deleted and not available for inclusion in pages." The other suggestion of stating that X number of journal entries are used in Y number of pages is a bit more involved.

tags: added: academy
Matthew B (mattjbjb) on 2013-01-16
Changed in mahara:
assignee: nobody → Matthew B (mattjbjb)
status: Triaged → In Progress
Matthew B (mattjbjb) on 2013-01-22
Changed in mahara:
assignee: Matthew B (mattjbjb) → nobody
status: In Progress → Confirmed
Aaron Wells (u-aaronw) on 2013-04-19
Changed in mahara:
milestone: 1.7.0 → 1.8.0
Aaron Wells (u-aaronw) on 2013-09-30
Changed in mahara:
milestone: 1.8rc1 → 1.8.0
Aaron Wells (u-aaronw) on 2013-10-22
Changed in mahara:
milestone: 1.8.0 → 1.9.0
tags: added: snack-sized
Changed in mahara:
assignee: nobody → Valerii Kuznetsov (valerii-kuznetsov)
Changed in mahara:
status: Confirmed → In Progress

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

commit 5351e7b2666aad6e336260eb653ccb5f22700274
Author: Valerii Kuznetsov <email address hidden>
Date: Mon Feb 10 13:34:56 2014 +1300

Added entries and pages counts to journal delete confirmation message (Bug #1051500)

Additional checks for blogposts and views added to make confirmation message more precise.

Change-Id: I236970a8d1ff0d0905202e7123f77443ad449dc6
Signed-off-by: Valerii Kuznetsov <email address hidden>

Aaron Wells (u-aaronw) on 2014-02-25
Changed in mahara:
status: In Progress → Fix Committed
tags: added: usermanualupdate
Robert Lyon (robertl-9) on 2014-04-22
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers