[MGNLPN-633] Exception when scrolling empty set of personae Created: 19/May/22  Updated: 26/Aug/22

Status: Open
Project: Magnolia Personalization
Component/s: Preview App
Affects Version/s: 2.1.1
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Chris Jennings Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2022-05-19 at 17.40.22.png    
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: AuthorX Maintenance
Team: AuthorX

 Description   

Attempting to scroll through the persona in the Preview app throws an exception when there are no personae configured.

Steps to reproduce:

  • Open Personas app and ensure there are no items configured
  • Open Preview as app and attempt to scroll with the right-facing arrow icon

Expected results:

  • Nothing, as seen when clicking the left-acing arrow

Actual results:

  • The red arrow bar is shown with the error Index 0 out of bounds for length 0

Generated at Mon Feb 12 06:39:35 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.