← Back to team overview

mahara-contributors team mailing list archive

[Bug 1835866] [NEW] Tagged Journal blocks get added to page even when cancel is clicked on first creating the block

 

Public bug reported:

Mahara: 19.04 (also 18.10)
OS: Linux 16.04
DB: Postgres
Browser: FF

First noticed in 19.04 but looks to have been introduced in 18.10.

User can create an empty tagged journal block when first creating on a
page - even if there are no tags set up for any journal.

To reproduce:
* Make sure there are no tags on any of the journal entries for your user
* Create a new page
* Add a tagged journal block
* Note that the button and link at the bottom of the block are: Save and Remove
* Click the 'Save' button (without making any changes)
* An error message come up with "No tag selected. You need to add tags to your journal entries before being able to select them here."
* The link next to the Save button is now changed to 'Cancel' whereas when we first enter the block, it's 'Remove'.

Expected:
User to click the Remove button as as not to create an empty tagged journal on page.

Currently:
* Remove link is changed to Cancel which allows to user to create an empty tagged journal on the page.

** Affects: mahara
     Importance: Undecided
         Status: New

-- 
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/1835866

Title:
  Tagged Journal blocks get added to page even when cancel is clicked on
  first creating the block

Status in Mahara:
  New

Bug description:
  Mahara: 19.04 (also 18.10)
  OS: Linux 16.04
  DB: Postgres
  Browser: FF

  First noticed in 19.04 but looks to have been introduced in 18.10.

  User can create an empty tagged journal block when first creating on a
  page - even if there are no tags set up for any journal.

  To reproduce:
  * Make sure there are no tags on any of the journal entries for your user
  * Create a new page
  * Add a tagged journal block
  * Note that the button and link at the bottom of the block are: Save and Remove
  * Click the 'Save' button (without making any changes)
  * An error message come up with "No tag selected. You need to add tags to your journal entries before being able to select them here."
  * The link next to the Save button is now changed to 'Cancel' whereas when we first enter the block, it's 'Remove'.

  Expected:
  User to click the Remove button as as not to create an empty tagged journal on page.

  Currently:
  * Remove link is changed to Cancel which allows to user to create an empty tagged journal on the page.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1835866/+subscriptions


Follow ups