Skip to content

[Issue] Remove casting to int on increment ID which can be prefixed by a string #34451

Closed
@m2-assistant

Description

@m2-assistant

This issue is automatically created based on existing pull request: #33369: Remove casting to int on increment ID which can be prefixed by a string


Description (*)

  • Remove casting to int on increment ID which can be prefixed by a string

Manual testing scenarios (*)

  1. Configure a string prefix to invoice increment IDs
  2. Submit an order
  3. Create an invoice
  4. Go to customer account -> orders -> invoice -> print invoice
  5. The increment ID should be there, but is "0" for numbers prefixed with a string

Contribution checklist (*)

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • README.md files for modified modules are updated and included in the pull request if any README.md predefined sections require an update
  • All automated tests passed successfully (all builds are green)

Metadata

Metadata

Assignees

Labels

Area: PaymentsComponent: SalesFixed in 2.4.xThe issue has been fixed in 2.4-develop branchIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedPriority: P2A defect with this priority could have functionality issues which are not to expectations.Progress: doneReported on 2.4.xIndicates original Magento version for the Issue report.Reproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branchSeverity: S2Major restrictions or short-term circumventions are required until a fix is available.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions