← Back to team overview

mahara-contributors team mailing list archive

[Bug 1694875] Re: Annotation field can be left empty when adding annotation

 

URL: https://bugs.launchpad.net/mahara/+bug/1694875

Bug description: Annotation field can be left empty when adding
annotation.


Environment to be tested: 16.10_STABLE, 17.04_STABLE
Browser to be tested: Firefox, Chrome, Safari , IE ( Latest version)

Precondition: 
1. A user with 'site admin' access should exist.
2. The institution 'Institution A' exists and the user is a member in that institution.
3. A collection should exist with the name 'Collection one' and pages 'Page 01' and 'Page 02'.

Steps to reproduce:

1. Log in as a site admin user.
2. Navigate to Administration menu > Institutions.
3. Click the ‘Settings’ under ‘Institution A’.
4. Set the switch ‘Allow SmartEvidence’ to ‘Yes’.
5. Click the ‘Submit’ button.
6. Navigate to Administration menu > Extensions > Plugin administration.
7. Click the 'Show' button for the plugin ‘annotation/annotation’.
8. Navigate to Main menu > Portfolio > Pages and collections.
9. Click the 'More' icon for  'Collection one' and then the 'Edit' icon.
10. Select a SmartEvidence framework to associate with the collection.
11. Click the ‘Save’ button and view the collection.
12. Click one of the dot icons in the matrix for 'Page 01'.
13. Click the ‘Save’ button without entering any text into the ‘Annotation’ description. 

Expected result: You see an error message: ‘You can't save the
configuration dialogue without typing an annotation.’

14. Enter text into the annotation field and click the 'Save' button.

Expected result: The form is saved correctly and you are returned to the
matrix page. The dot icon will have changed to a blue circle.

15. Click the ‘Next page’ button.
16. Click the ‘Edit this page’ button.
17. Expand the ‘General’ panel.
18. Click on ‘Annotation’.
19. Click the ‘Add’ button.
20. Click the ‘Save’ button without entering any text into the ‘Annotation’ description.

Expected result: You see an error message ‘You can't save the
configuration dialogue without typing an annotation.’

21. Enter text into the annotation field and click the 'Save' button.

Expected result: The form is saved correctly and you are returned to the
edit screen of the page where you can now see the annotation block.

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

Title:
  Annotation field can be left empty when adding annotation

Status in Mahara:
  Fix Committed
Status in Mahara 16.10 series:
  Fix Released
Status in Mahara 17.04 series:
  Fix Released
Status in Mahara 17.10 series:
  Fix Committed

Bug description:
  Mahara 16.10 and 17.04+

  When you add an annotation block, you are supposed to be required to
  provide an annotation in order to say why you align your portfolio
  with a particular standard.

  The "Annotation" field (no matter whether added via the SmartEvidence
  map or as block) can be left empty though now when saving the block
  configuration. It can't be added later on.

  The field should not be left empty though as the annotation is a vital
  aspect.

  To replicate:

  1. Add a collection with a SmartEvidence map.
  2. Add an annotation via the SmartEvidence map.

  Expected result: You can't save the configuration dialogue without typing an annotation.
  Actual result: You can leave the field empty and save.

  3. Add an annotation via the portfolio page.

  Expected result: You can't save the configuration dialogue without typing an annotation.
  Actual result: You can leave the field empty and save.

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


References