Skip to content

Exception Error in Catalog Price Rule while Backend language is not English #12399

Closed
@Drakas

Description

@Drakas

Preconditions

  1. Magento 2.2.1, Php 7, Mysql 5.6
  2. Interface Backend Magento language SET to Italy.

Steps to reproduce

  1. Go to: Marketing -> catalog price rule
  2. Edit a record already created
  3. Click on "Save and Apply"

Expected result

  1. The following message:
  • We found updated rules that are not applied. Please click "Apply Rules" to update your catalog.
  • You saved the rule.

Actual result

  1. Error message that say that "something got wrong, check the log". (See the image attached)

Error detailed from exception.log:
main.CRITICAL: DateTime::__construct(): Failed to parse time string (22/11/2017) at position 0 (2): Unexpected character {"exception":"[object] (Exception(code: 0): DateTime::__construct(): Failed to parse time string (22/11/2017) at position 0 (2): Unexpected character at /home/zboutiqf/public_html/nuovo_magento/vendor/magento/module-rule/Model/AbstractModel.php:399)"} []

IMPORTANT:
With Backend language set to English the error does not occur, only with Italian language.

schermata 2017-11-22 alle 13 13 42

Metadata

Metadata

Assignees

Labels

Event: squashtoberfestFixed in 2.2.xThe issue has been fixed in 2.2 release lineFixed in 2.3.xThe issue has been fixed in 2.3 release lineIssue: Clear DescriptionGate 2 Passed. Manual verification of the issue description passedIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedReproduced on 2.2.xThe issue has been reproduced on latest 2.2 releaseReproduced on 2.3.xThe issue has been reproduced on latest 2.3 release

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions