[MGNLREST-609] REST delivery endpoint - Filter operators does not work with @name property filter Created: 09/Jan/23  Updated: 26/May/23  Resolved: 26/May/23

Status: Closed
Project: Magnolia REST Framework
Component/s: delivery
Affects Version/s: 2.2.15
Fix Version/s: 3.0.0, 2.2.19

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Dai Ha
Resolution: Fixed Votes: 0
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

Issue Links:
Relates
relates to MGNLREST-706 Support filtering on @path attribute ... Closed
causality
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLREST-708 Implement Sub-task Completed Dai Ha  
MGNLREST-709 Review Sub-task Closed Oanh Thai Hoang  
MGNLREST-710 piQA Sub-task Closed Oanh Thai Hoang  
MGNLREST-711 QA Sub-task Completed Javier Benito  
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
Testcase included:
Yes
Documentation update required:
Yes
Date of First Response:
Epic Link: Support
Sprint: DevX 38
Story Points: 2
Team: DeveloperX
Work Started:
Approved:
Yes

 Description   

Steps to reproduce

  1.  Query to below URL to verify the issue [ne] filter operators does not work with @name property filter:
    https://demo.magnolia-cms.com/.rest/delivery/tours/v1/?@name[ne]=Kyoto

.. Logs, screenshots, gifs...

Expected results

  • Fix the issue, also consider supporting NOT operator somehow

.. Justify non-trivial expectations with a link to a doc or a relevant discussion.

Actual results

  • Response ignore the filter operator (not equals in above case) and returning only tours which has the name as "Kyoto".

Workaround

  • N/A

Development notes



 Comments   
Comment by Dai Ha [ 26/May/23 ]

Provide support for [ne] operator on @name filter. @path filter will be considered in  MGNLREST-706

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