[MGNLPN-651] P13n REST: Query parameters are case sensitive Created: 29/Jun/22  Updated: 26/Aug/22

Status: Open
Project: Magnolia Personalization
Component/s: None
Affects Version/s: 2.1.2
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Jonathan Ayala Assignee: Unassigned
Resolution: Unresolved 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

Attachments: PNG File Screenshot 2022-06-29 at 08.55.00.png     PNG File Screenshot 2022-06-29 at 08.55.24.png    
Issue Links:
Relates
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLPN-652 Implementation Sub-task To Do  
MGNLPN-653 Review Sub-task To Do  
MGNLPN-654 Pre-Integration QA Sub-task To Do  
MGNLPN-655 QA Sub-task To Do  
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)
Epic Link: AuthorX Support
Team: AuthorX

 Description   

Steps to reproduce

  1. Install demo-rest-p13n light module
  2. Send request
    http://localhost:8080/magnoliaAuthor/.rest/delivery/pages/v1/shoes/men?favorite-color=blue
  3. Send request
    http://localhost:8080/magnoliaAuthor/.rest/delivery/pages/v1/shoes/men?favorite-COLOR=blue

    Expected results

    Requests from steps 2 and 3 produce same response, the variant with color blue is resolved

    Actual results

  • Request from step 2 produces expected response:
  • Request from step 3 returns no variant i.e. query parameter is not resolved due to the usage of capital letters:

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