Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345914 - Add validation for literal names
Summary: Add validation for literal names
Status: RESOLVED INVALID
Alias: None
Product: Tigerstripe
Classification: Technology
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: 0.5M0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-16 06:51 EDT by Maria Kolchinskaja CLA
Modified: 2011-05-18 13:51 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maria Kolchinskaja CLA 2011-05-16 06:51:10 EDT
Build Identifier: 

When I run InstalledGenerators test to check generate content from a Tigerstripe model, it was failed because of incorrect literal names:

"Error: Validation Failed:
LiteralCase
Enumeration Literals can only contain upper case letters, numbers and underscores. The first digit must be a letter (or an underscore put in front of a leading digit).
Check any violations and fix the literal name. "

When I update literal name, there is no validation for the upper case letters

Reproducible: Always
Comment 1 Chris Hartley CLA 2011-05-18 03:09:50 EDT
Maria,

I don't think this is a Tigerstripe issue.
If you find errors with the model validator, you'll need to email me so I can create a JIRA to fix it.

I suggest that this Bugzilla is closed unless you have actually found a Tigerstripe platform issue.
Comment 2 Navid Mehregani CLA 2011-05-18 13:51:35 EDT
Closing defect per Chris' comment.  This is a model validation error as opposed to a Tigerstripe issue.