[MGNLUI-1944] Search view is not restored Created: 22/Aug/13  Updated: 23/Aug/13  Resolved: 23/Aug/13

Status: Closed
Project: Magnolia UI
Component/s: workbench
Affects Version/s: 5.1
Fix Version/s: 5.1

Type: Bug Priority: Critical
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

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

 Description   

To reproduce

  • Create a search favourite in e.g. pages
  • Close the app
  • Launch the newly created favourite

A normal query is run instead of the stored search.
The problem lies in info.magnolia.ui.workbench.WorkbenchPresenter.resynch(..) line #260 where the equality operator is called between two Strings (they used to be ViewType objects)


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