Problem/Motivation

It may happen that command parameters defined as integer are sent as string while using tokens.

Proposed resolution

Add a data integrity layer in order to ensure data type consistency.

Comments

aronne created an issue. See original summary.

aronne’s picture

StatusFileSize
new2.93 KB
aronne’s picture

Status: Active » Needs review
jurgenhaas’s picture

Status: Needs review » Needs work

I've had a chance to review the patch and give it a try in the ECA context. As for the patch, it looks ok except some spaces in empty lines, that should be removed to comply with the coding standards.

Then I tried the "[JSON] - Example Services fake API - Create post" request and it seems to work, but it outputs a warning:

Undefined array key "content-type" HttpClientManagerSubscriber.php:45
aronne’s picture

StatusFileSize
new3.91 KB

Uploading a new patch

  • 89e1110 committed on 9.3.x
    Issue #3323767 by aronne: Add a data integrity layer
    
aronne’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.