Empty blog should display "No entries yet." and "Add one" link

Bug #1017785 reported by Son Nguyen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Low
Liam

Bug Description

Version: master

Assumptions
 - Logged in user has one empty journal.

Actions
 1. Open the empty journal.

Expected results
 - Lang string "No entries yet. Add one" with link to create a new entry.

Actual results
 - string: "0 entries"

Changed in mahara:
status: New → Triaged
tags: added: bite-sized
Changed in mahara:
importance: Undecided → Low
Changed in mahara:
assignee: nobody → Bonnie Liao (kurousagiwasugoi)
Janice Chin (jc626)
Changed in mahara:
assignee: Bonnie Liao (kurousagiwasugoi) → Janice Chin (starboltangel)
Changed in mahara:
status: Triaged → In Progress
assignee: Janice Chin (starboltangel) → Bonnie Liao (kurousagiwasugoi)
Changed in mahara:
assignee: Bonnie Liao (kurousagiwasugoi) → nobody
Revision history for this message
Hugh Davenport (hugh-davenport) wrote :

After helping the Academy students, have found that this string is actually present in the pagination code, so removing the bite-sized tag as it is a bit harder ;)

tags: added: pagination
removed: bite-sized
Changed in mahara:
status: In Progress → Confirmed
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/8524

Liam (liam-sharpe)
Changed in mahara:
assignee: nobody → Liam (liam-sharpe)
status: Confirmed → In Progress
Revision history for this message
Robert Lyon (robertl-9) wrote :

Note: To see the message for a user one needs to turn on multiple blogs for a user via Account -> Settings and then delete their blog from Content -> Journals

Changed in mahara:
milestone: none → 18.04.0
Revision history for this message
Steven (stevens-q) wrote :

Environment to be tested: Master
Browser to be tested: Any browser

Preconditions:
1. A user with 'Site admin' access exists.
2. Institution exists = has no journals created.
3. User has selected "Multiple journals" on the User menu > Settings
4. User has deleted the default journal
5. User Content = has no journals created.
6. Group exists = Publicly viewable, Allow submissions, end date is within test date and has no Journals created.
7. Institutions = has no journals created.
8. Configure site = has no journals created.
-------------------------------------------------------------------------------------
Test Steps:
1. Browse to Content > Journals.
2. Confirm page contains text "You have no journals. Add one". ✔
3. Confirm page contains link "Add one" that links to Create new Journal page. ✔
4. Browse to a group page > Journals.
5. Confirm page contains text "There are no journals in this group. Add one". ✔
6. Confirm page contains link "Add one" that links to Create new Journal page. ✔
7. Browse to Admin > Configure site > Journals.
8. Confirm page contains text "There are no site journals. Add one". ✔
9. Confirm page contains link "Add one" that links to Create new Journal page. ✔
10. Browse to Admin > Institutions > Journals.
11. Confirm page contains text "There are no site journals. Add one". ✔
12. Confirm page contains link "Add one" that links to Create new Journal page. ✔

Catalyst QA Approved ✔

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

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

commit 5e7609579b2f78d56759f9ecd34dbefaa601337d
Author: Liam <email address hidden>
Date: Thu Feb 15 14:05:23 2018 +1300

Bug #1017785: Empty blog should display "No entries yet." and "Add one" link Edit

updated language string to use a link

works for user, group, institution, and site journals

behatnotneeded

Change-Id: Iffd24c3678f0ce213d7251406dee8bc7ecbfc74a

Robert Lyon (robertl-9)
Changed in mahara:
status: In Progress → Fix Committed
Robert Lyon (robertl-9)
Changed in mahara:
status: Fix Committed → Fix Released
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.