Navigation block title is not set for other pages in collection

Bug #1833325 reported by Ghada El-Zoghbi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
High
Ghada El-Zoghbi
19.04
Fix Released
High
Unassigned
19.10
Fix Released
High
Ghada El-Zoghbi

Bug Description

Mahara: 19.04.0
OS: Linux 16.04
DB: Postgres
Browser: FF

The title of a navigation block added to a page in a collection does not set the navigation title on the other pages in the collection.

To reproduce:
1. Create 4 pages (Page 1, Page 2, Page 3, Page 4)
2. Create a new collection with Name = "Collection of Pages"
3. Add the 4 pages to the collection.
4. On Page 3, add a navigation block with the following settings:
 - Block title = "My title for Page 3"
 - Collection = "Collection of Pages"
 - Add to all pages = Yes
 - Save
5. Display the collection.

Incorrect result:
Pages 1, 2 and 4's navigation block title is: "Collection of Pages"
Page 3 navigation block title is: "My title for Page 3"

Expected result:
All navigation blocks in the collection should be titled: "My title for Page 3"

Changed in mahara:
assignee: nobody → Ghada El-Zoghbi (ghada-z)
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/10105

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

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

commit bfb278addda28be9a4d1c72953c91778244a7135
Author: Ghada El-Zoghbi <email address hidden>
Date: Wed Jun 19 12:09:24 2019 +1000

Bug 1833325: Apply navigation block title to all pages in collection

When adding a navigation block to all pages in a collection,
include the block's title on all the other pages where the
block will be added.

Sponsored by The Australian National University

behatnotneeded

Change-Id: I0126dcbdc0bad5546f2b08f9bee347084b66f42c

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

Patch for "19.04_STABLE" branch: https://reviews.mahara.org/10111

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

Reviewed: https://reviews.mahara.org/10111
Committed: https://git.mahara.org/mahara/mahara/commit/93df21b5e657fe82176412df1fa75cf26ad289d5
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.04_STABLE

commit 93df21b5e657fe82176412df1fa75cf26ad289d5
Author: Ghada El-Zoghbi <email address hidden>
Date: Wed Jun 19 12:09:24 2019 +1000

Bug 1833325: Apply navigation block title to all pages in collection

When adding a navigation block to all pages in a collection,
include the block's title on all the other pages where the
block will be added.

Sponsored by The Australian National University

behatnotneeded

Change-Id: I0126dcbdc0bad5546f2b08f9bee347084b66f42c
(cherry picked from commit bfb278addda28be9a4d1c72953c91778244a7135)

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

Other bug subscribers

Remote bug watches

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