Split of tagged block tags when creating new entry doesn't trim spaces

Bug #1705980 reported by Robert Lyon
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Cecilia Vela Gurovic
17.04
Fix Released
Medium
Unassigned
17.10
Fix Released
Medium
Cecilia Vela Gurovic

Bug Description

When we have a tagged entry with tags "one" and "two" it sends thru the value as "one, two"

which changes them back to "one" and " two"

We need to trim the tags after the split, see
https://bugs.launchpad.net/mahara/+bug/1700690

Robert Lyon (robertl-9)
Changed in mahara:
assignee: nobody → Cecilia Vela Gurovic (ceciliavg)
milestone: none → 17.10.0
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/7908

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

Reviewed: https://reviews.mahara.org/7908
Committed: https://git.mahara.org/mahara/mahara/commit/45b2be03956c668ad928c34a3d8b1086c57b4583
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 45b2be03956c668ad928c34a3d8b1086c57b4583
Author: Cecilia Vela Gurovic <email address hidden>
Date: Tue Aug 1 10:12:08 2017 +1200

Bug 1705980: trim tag spaces when creating post

After pressing New entry from a
Tagged journal entry block

behatnotneeded

Change-Id: Idb236e5d3bc5a10ab00f8a31f91da02ea8d4f606

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

Patch for "17.04_STABLE" branch: https://reviews.mahara.org/7910

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

Reviewed: https://reviews.mahara.org/7910
Committed: https://git.mahara.org/mahara/mahara/commit/190744aa55f71a56c70e78c0178babc211433215
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.04_STABLE

commit 190744aa55f71a56c70e78c0178babc211433215
Author: Cecilia Vela Gurovic <email address hidden>
Date: Tue Aug 1 10:12:08 2017 +1200

Bug 1705980: trim tag spaces when creating post

After pressing New entry from a
Tagged journal entry block

behatnotneeded

Change-Id: Idb236e5d3bc5a10ab00f8a31f91da02ea8d4f606
(cherry picked from commit 45b2be03956c668ad928c34a3d8b1086c57b4583)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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