[MGNLREST-403] REST endpoints returns a String value regardless of the data type for Assets Created: 26/May/22  Updated: 17/Jun/22  Resolved: 15/Jun/22

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

Type: Bug Priority: Neutral
Reporter: Roberto Gaona Assignee: Chuong Doan Huy
Resolution: Fixed Votes: 0
Labels: None
Σ Remaining Estimate: Not Specified Remaining Estimate: Not Specified
Σ Time Spent: 3d 1.75h Time Spent: 3d 1.75h
Σ Original Estimate: Not Specified Original Estimate: Not Specified

Issue Links:
Cloners
clones MGNLREST-333 REST endpoints returns a String value... Closed
Sub-Tasks:
Key
Summary
Type
Status
Assignee
MGNLREST-424 Implement Sub-task Completed Chuong Doan Huy  
MGNLREST-425 Review code Sub-task Completed Jaroslav Simak  
MGNLREST-426 piQA Sub-task Completed Jaroslav Simak  
MGNLREST-427 Final QA Sub-task Completed Phong Le Quoc  
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
Epic Link: Support
Sprint: DevX 12
Story Points: 3
Team: DeveloperX

 Description   

Steps to reproduce

  1.  Configure endpoint to return resolved Assets
  2.  Retrieve such assets via Delivery API and see that values are returned as String

Expected results

Numeric values should be returned without quotation to facilitate handling.

Actual results

Values are always returned on String format.

Workaround

Data can be casted to the desired type after retrieving the values on the client side

Development notes


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