[Issue] Fix for queue numeric argument conversion #29615
Labels
Component: Amqp
Event: MageCONF CD 2020
Fixed in 2.4.x
The issue has been fixed in 2.4-develop branch
Issue: Confirmed
Gate 3 Passed. Manual verification of the issue completed. Issue is confirmed
Issue: Ready for Work
Gate 4. Acknowledged. Issue is added to backlog and ready for development
Priority: P3
May be fixed according to the position in the backlog.
Progress: done
Reported on 2.4.0
Indicates original Magento version for the Issue report.
Reproduced on 2.4.x
The issue has been reproduced on latest 2.4-develop branch
Severity: S3
Affects non-critical data or functionality and does not force users to employ a workaround.
Uh oh!
There was an error while loading. Please reload this page.
This issue is automatically created based on existing pull request: #26967: Fix for queue numeric argument conversion
Description (*)
Magento 2.4-develop
If we want to declare queue (I bet this also occurs the same way for exchanges) with arguments and we use numeric type argument in
queue_topology.xml
it is casted to string and in corrected file it gets wrapped in incorrect type for rabbit. Example of configuration:Of course using string type doesn't help as we get also string. While creating such a queue we get error similar to:
PRECONDITION_FAILED - inequivalent arg 'x-message-ttl'for queue 'test_dead_letter' in vhost '\': received the value '36000' of type 'longstr' but current is none
.If PR will be accepted, please port to 2.3 as well.
Related Pull Requests
This one has to be fixed first, as for now we are not able to declare queue with ANY parameters
#26966
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)
The text was updated successfully, but these errors were encountered: