[MGNLSTK-588] SearchResult paragraph does not render when queryStr param is missing Created: 24/Feb/10  Updated: 22/Mar/11  Resolved: 22/Mar/11

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 1.2.3
Fix Version/s: 1.3.6, 1.4.2

Type: Bug Priority: Minor
Reporter: Ernst Bunders Assignee: Philipp Bärfuss
Resolution: Duplicate Votes: 0
Labels: vpro
Remaining Estimate: 0.5h
Time Spent: Not Specified
Original Estimate: 0.5h

Issue Links:
duplicate
is duplicated by MGNLSTK-693 stkSearchResult produces NPE Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

When you navigate to the search page without a query string the result paragraph is not showing due to a NullpointerException.
This exception occurs in info.magnolia.module.templatingkit.search.SearchResultModel#generateSimpleQuery() where a String.replace() is called on null.



 Comments   
Comment by Magnolia International [ 22/Mar/11 ]

Woops, this was solved in 1.3.6 and 1.4.2 with MGNLSTK-693, sorry for not noticing this report earlier.

Generated at Mon Feb 12 07:28:29 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.