• 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: Problem with ERD2WEditToOneRelationship [solved]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with ERD2WEditToOneRelationship [solved]


  • Subject: Re: Problem with ERD2WEditToOneRelationship [solved]
  • From: Theodore Petrosky <email@hidden>
  • Date: Wed, 09 Oct 2013 06:43:23 -0400

Maybe there is a place for this kind of gotcha on the wiki?




On Oct 9, 2013, at 6:08 AM, Mark Wardle <email@hidden> wrote:

A difficult to find bug (in my code):

Configure ERD2WEditToOneRelationship to show a list of objects. User chooses one, validation error - "a prescription must have a medication".

I've had a similar problem before when the foreign key was accidentally a class property.

For anyone with a similar problem, make sure your keyWhenRelationship key is not returning a text string with a trailing space. It is a difficult to track bug but resulted in much pulling of hair. My userPresentableDescription was configured to build a string from a number of the object's properties and I left a trailing space for some objects.

I've seen prior reports on the mailing list so hope this might solve a similar problem for others.

Best wishes,

Mark
-- 
Dr. Mark Wardle
Consultant Neurologist, University Hospital Wales, Cardiff, UK
Email: email@hidden or email@hidden  Twitter: @mwardle
Telephone: 02920745274 (secretary) or facsimile: 02920744166




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: 
 >Problem with ERD2WEditToOneRelationship [solved] (From: Mark Wardle <email@hidden>)

  • Prev by Date: Problem with ERD2WEditToOneRelationship [solved]
  • Next by Date: Help with updateValuesInRowDescribedByQualifier
  • Previous by thread: Problem with ERD2WEditToOneRelationship [solved]
  • Next by thread: Help with updateValuesInRowDescribedByQualifier
  • Index(es):
    • Date
    • Thread