dotCMS / core

Headless/Hybrid Content Management System for Enterprises
http://dotcms.com
Other
839 stars 465 forks source link

Incorrect message when required field is not present #8949

Closed shaydotcms closed 7 years ago

shaydotcms commented 8 years ago

In some required fields such as Sort Order, when you try to clear that out so it becomes null, you will get the following incorrect message:

image

Other required fields such as Title do display the right message

image

Steps to reproduce:

  1. Log into demo.dotcms.com
  2. In the root or inside a folder, create a new Page
  3. Clear out "Sort Order" field so it is null
  4. Save OR Save and Publish

Expected result: The message displayed in Sort Order should say something like "The field Sort Order is mandatory" Message in logs: https://gist.github.com/shaydotcms/e98bf23f67def4c28de53b50ce82b149

Tested locally in: Win7 Pro SP1 // SQLServer 2012 // FF Mac OS 10.10 // MySQL 5.6.23 // Chrome

shaydotcms commented 8 years ago

Passed QA. Message is according to the required field Tested in Mac OS 10.10 // MySQL 5.6.23