Skip to content

1215: fix parsing of plugin sort order value #1235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

makzef
Copy link

@makzef makzef commented Oct 26, 2022

Description (*)
The exception could happen when changing sort order value for plugin in di.xml:

MapReduceIndexMappingException: java.lang.NumberFormatException: For input string: ""

The error occurred due to the some nuances of parsing value from string to integer.

Fixed Issues (if relevant)

  1. Fixes [Bug] MapReduceIndexMappingException: java.lang.NumberFormatException: For input string: "" #1215

Questions or comments

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 integration/functional tests (if applicable)
  • All automated tests passed successfully (all builds are green)

@makzef makzef force-pushed the 1215-number-fromat-exception-empty-string branch from 13f72ea to 1f5d874 Compare October 26, 2022 13:24
@bohdan-harniuk bohdan-harniuk self-assigned this Nov 13, 2022
@bohdan-harniuk bohdan-harniuk self-requested a review November 13, 2022 15:12
@VitaliyBoyko VitaliyBoyko changed the base branch from 4.4.1-develop to 5.0.0-develop December 12, 2022 19:16
@VitaliyBoyko VitaliyBoyko changed the base branch from 5.0.0-develop to 5.1.0-develop December 21, 2022 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] MapReduceIndexMappingException: java.lang.NumberFormatException: For input string: ""
3 participants