Skip to content

Validation messages missing from datepicker form elements #3795

Closed
@samtay

Description

@samtay

Steps to reproduce

  1. Install Magento from develop branch.
  2. Edit a CMS Page
  3. Choose Custom Design From and Custom Design To that are faulty (poorly formatted or such that the end date occurs before the start date.

Expected result

  1. See error message generated from validation.js

Actual result

  1. In some situations (bad start/end logic or formatting), the validation is caught in JS but you can't see the message on the page. So you can keep clicking "Save" and it will keep focusing on the problematic field, but there is no error message there. It does not exist anywhere in the DOM.
    2016-03-15-141526_1765x854_scrot
  2. For other situations (not sure how to replicate), validation is not caught in JS and instead is caught in php POST.
    2016-03-15-141028_1755x641_scrot

Metadata

Metadata

Labels

Component: CmsEvent: balance-cdFixed 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: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is not validGate 1 Failed. Automatic verification of issue format is failedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentProgress: PR CreatedIndicates that Pull Request has been created to fix issueReproduced on 2.1.xThe issue has been reproduced on latest 2.1 releaseReproduced 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 releasebug report

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions