bestlong/krank

Application behaves as if all foreign keys are required

Opened this issue · 1 comments

What steps will reproduce the problem?
1. Start crank-crud-webapp
2. Navigate to new Employee
3. Fill all required fields but leave department empty
4. Press  "Create Employee"

What is the expected output? What do you see instead?
- I expect the new record i screated but I receove an error message
"Required" near th edepartment selection component.

What version of the product are you using? On what operating system?
crank-1.0.1

Please provide any additional information below.


Original issue reported on code.google.com by Georg-Wi...@solvay.com on 29 Jan 2009 at 11:34

For 1.0.4 in 
crank-jsf-support/src/main/java/org/crank/crud/jsf/support/EntityConverter.java 
change line 
107/108 from
throw new ConverterException(new FacesMessage("Required", "Required"));
to
return null;

Original comment by wanro...@gmail.com on 17 Nov 2009 at 8:56

  • Added labels: ****
  • Removed labels: ****