• 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: NSValidationNumberTooSmallError with incomplete error message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSValidationNumberTooSmallError with incomplete error message


  • Subject: Re: NSValidationNumberTooSmallError with incomplete error message
  • From: Kaspar Fischer <email@hidden>
  • Date: Thu, 8 Sep 2005 17:13:45 +0200

On 07.09.2005, at 02:17, mmalcolm crawford wrote:
On Sep 6, 2005, at 1:54 AM, Kaspar Fischer wrote:

  The document "Untitled" could not be saved.
  %{PROPERTY}@ is too small.
It seems that I am not passing enough information in
the user dictionary to make CoreData replace the ugly
"%PROPERTY@" by "value".  Does anyboy know how to
solve this?


Core Data should retrieve the property name from the localisation dictionary (see, for example, <http://developer.apple.com/ documentation/Cocoa/Reference/CoreData_ObjC/Classes/ NSManagedObjectModel.html#//apple_ref/doc/uid/TP30001174-BCIDJGFI>, also <http://developer.apple.com/documentation/Cocoa/Conceptual/ NSPersistentDocumentTutorial/06_CustomisingErrors/ chapter_7_section_1.html#//apple_ref/doc/uid/TP40001799-CH228>). How are you loading the model? There is at least one known bug with loading the localisation dictionary that may be affecting you...


I do not have any customized localisation dictionary in use.

But please note from my original post that I myself generate
the NSError that gets wrongly displayed. For errors generated by
CoreData/Cocoa itself, the messages are correct. Therefore,
I think I must be doing something wrong when I generate
the error (again, see original post for how I do this).

Maybe I am not allowed to create NSCocoaErrorDomain-errors
myself and only Cocoa may do so?

Thanks,
Kaspar

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >NSValidationNumberTooSmallError with incomplete error message (From: Kaspar Fischer <email@hidden>)
 >Re: NSValidationNumberTooSmallError with incomplete error message (From: mmalcolm crawford <email@hidden>)

  • Prev by Date: Re: string help
  • Next by Date: Re: Core Data and NSTreeController Editing Problem.
  • Previous by thread: Re: NSValidationNumberTooSmallError with incomplete error message
  • Next by thread: NSTableView: serious flaw when it comes to text edition?
  • Index(es):
    • Date
    • Thread