Skip to content

Dot is not allowed when editing CMS block in-line #21374

Closed
@erfanimani

Description

@erfanimani

Preconditions (*)

  1. Can reproduce on both Magento 2.3.0 clean installation and on the 2.3-develop branch

Steps to reproduce (*)

  1. Log into admin
  2. Add CMS block and enter an identifier product.content along with some other content. Hit Save & Close so you're back on the CMS block grid.
  3. Try to edit the newly created CMS block in-line and hit Save

Expected result (*)

  1. CMS block is saved

Actual result (*)

  1. CMS block won't save, saying "There are 1 messages requires your attention. Please make corrections to the errors in the table below and re-submit."

The problem is that the in-line validation differs from the non in-line validation. The non in-line validation is correct. Dots are allowed in identifier names because in previous Magento versions that was the case (if dots are not allowed, it breaks backwards compatibility). Also, it complains about it not being a valid XML identifier, but having a dot in the identifier is still perfectly valid.

Metadata

Metadata

Assignees

Labels

Component: CmsComponent: UiFixed 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 passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentReproduced 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