• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: D2JC Form requires every attribute, regardless of what the Model or DB say
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2JC Form requires every attribute, regardless of what the Model or DB say


  • Subject: Re: D2JC Form requires every attribute, regardless of what the Model or DB say
  • From: Jaime Magiera <email@hidden>
  • Date: Tue, 28 Jun 2005 23:54:01 -0400

Further investigation shows the same behavior when editing objects via web component forms. All attributes are set to to "allow null", but still throw validation errors. In the web forms, I get the typical...

"Exception occurred while handling request: com.webobjects.foundation.NSValidation$ValidationException: The xxxxxxx property of yyyyyyy is not allowed to be null."

In the D2JC, when the window opens, all the attributes are dark lettering (meaning required) and validation fails on save with...

 "Save Failed: The xxx property is not allowed to be null".

This problem has been stumping me for a couple days. I've looked at the .plists of the model. Everything seems to be in order. I've cleaned the framework, re-imported the model into the framework, looked for any duplicate models on the hard drive, cleaned the application, etc.

This is truly bizarre.

Jaime

On Jun 24, 2005, at 11:00 PM, Jaime Magiera wrote:

I've just noticed since updating to 5.3 that my D2JC Form windows require every attribute, regardless of what the Model or DB say. In both the EO viewer in Project Builder, and the EOModeler, these attributes do have the "allow null" check boxes checked. The actual database (mysql) says the same.

Any ideas?

thanks,

Jaime


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >D2JC Form requires every attribute, regardless of what the Model or DB say (From: Jaime Magiera <email@hidden>)

  • Prev by Date: Re: Automatically create record in a to-one relationship
  • Next by Date: Re: Building WO under xcode 2.1?
  • Previous by thread: Re: D2JC Form requires every attribute, regardless of what the Model or DB say
  • Next by thread: R-R Loop Oddities
  • Index(es):
    • Date
    • Thread