[MGNLPER-174] Sanitize special char symbols at FindBar or show UI Warning Created: 02/Aug/22  Updated: 26/Sep/22  Resolved: 26/Sep/22

Status: Closed
Project: Periscope
Component/s: None
Affects Version/s: 1.2.5
Fix Version/s: 1.2.6

Type: Bug Priority: Neutral
Reporter: Carlos Cantalapiedra Assignee: Jesus Alonso
Resolution: Fixed Votes: 1
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: Not Specified Time Spent: Not Specified
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Attachments: Text File error.log    
Issue Links:
relation
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLPER-175 QA Sub-task Closed Jesus Alonso  
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Epic Link: AuthorX Support
Sprint: AuthX 18
Story Points: 1
Team: AuthorX

 Description   

Steps to reproduce

  1. At Findbar search for "Peter
  2. Check nothing is displayed but at magnolia-debug.log and error has been registered

Expected results

Search results are shown or warning is shown regarding the special char search

Actual results

Nothing is displayed to the user but an error is logged

Workaround

N/A

Development notes

According to Jackrabbit specification, some special chars as single quote ("'"), double quote (""") and hyphen ("-") must be escaped with a backslash ("\"). Would be nice if we could scape that search on backend or at least, show a warning to the editor to let him know that regarding the JCR specification a slash must be added to the search.



 Comments   
Comment by Jesus Alonso [ 26/Sep/22 ]

Special chars are now being properly escaped

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