← Back to team overview

mahara-contributors team mailing list archive

[Bug 1824263] Re: Institution tags have wrong text when selected

 

Patchset: https://reviews.mahara.org/#/c/10329/
Browser tested: Firefox & Chrome
Theme used: Default

**TEST SCENARIO: Verify that an institution tag remains displayed as an institution tag after a user selects it from the drop-down options when creating new page tag entry/ies after typing the exact tag name (without the preceding institute name & colon) then selecting it from the dropdown (please see attached re-created defect screenshots prefixed with SS1-1 and SS1-2).
--------------   

**PRECONDITIONS:
---------------
1) An institution 'Institution one' exists with an institution tag named 'One'
2) A user1 (e.g. 'Bob User2') is a member of the above institute and has some prior tags 

**TEST STEPS:
-------------
Step1) Logged in user1 selects to create a new page --> the new page screen is displayed
Step2) User1 types the 3 characters One into the new page 'Tags' field --> the option 'Institution one: One' is displayed
Step3) User1 selects the displayed option

Expected resultA: the selected Tags content now says ''Institution one: One (0)' --pre-fix was just displaying 'One' 
Actual result: as expected (see attachment prefixed with SS2) ✓

Step4) the user Saves the tag (with or without putting a title and some content on the page)
Step5) the user then selects the Create tags option

Expected resultB: the My tags page will be displayed with the tag 'Institution one: One' option and a zero displayed in the circle next to it  X - Failed
Actual resultB: (please see attachement prefixed with SS3) the My tags page is displayed with the tag 'Institution one: One (0)' option and a one displayed in the circle next to it.

** Attachment added: "SS1-1 Type tag name.png"
   https://bugs.launchpad.net/mahara/+bug/1824263/+attachment/5289105/+files/SS1-1%20Type%20tag%20name.png

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

Title:
  Institution tags have wrong text when selected

Status in Mahara:
  In Progress

Bug description:
  This bug is low priority because when the page is saved, the tag is
  saved as institution tag

  to replicate:
  Have an institution 'Institution one' with institution tags enabled
  create institution tag 'One'
  login with a user that belongs to the institution
  create a page and, under the tags field, type 'One'
  select the institution tag 'Institution one: One'

  expect result: The tag 'Institution one: One' is displayed in the tags field
  actual result: The tag 'One' is displayed in the tags field

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


References