• 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
ERModernDirectToWeb Bugs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERModernDirectToWeb Bugs


  • Subject: ERModernDirectToWeb Bugs
  • From: Jonathan Miller <email@hidden>
  • Date: Thu, 08 May 2014 10:02:00 -1000

Hi,

I came across a couple of bugs in the ERModernMovies demo and I was wondering if anyone was aware of them or might now how to fix them.

First bug: Relationship entity gets cached.

Steps to reproduce.
1. Launch ERModernMovies demo.
2. Navigate to create new movie.
3. On step 3 make sure you pick a director.
4. On step 4 search for a role to add to movie.

Expected: Will see a table with list of roles.
Actual: You receive an error: 

<com.webobjects.foundation.NSKeyValueCoding$UnknownKeyException message '<webobjectsexamples.businesslogic.movies.common.Talent 0x16432f65> valueForKey(): lookup of unknown key: 'roleName'. This class does not have an instance variable of the name roleName or _roleName, nor a method of the name roleName, _roleName, getRoleName, or _getRoleName' object '<webobjectsexamples.businesslogic.movies.common.Talent pk:"0">' key 'roleName'>

It appears that the entity from step 3 gets cached and the edit relationship component is searching on that entity.

Second bug: Incorrect validation error

Steps to reproduce:
1. Launch ERModernMovies demo.
2. Edit any movie.
3. Change the studio on tab 2.
4. Save changes:

Expected: You will save changes and be taken back to list page.
Actual: You receive validation error messages:

A studio's budget cannot be less than $100!
Could not save your changes: A studio's budget cannot be less than $100!

I checked and the studio does have a budget greater than $100.  Is this a bug from using the embedded database?

Thanks in advance,

Johnny


 _______________________________________________
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

  • Prev by Date: Re: ERPDFGeneration problem
  • Next by Date: Re: ERPDFGeneration problem
  • Previous by thread: AjaxAutoComplete in Tables
  • Next by thread: Re: Starting second instance=app not available
  • Index(es):
    • Date
    • Thread