Wrox Programmer Forums
|
BOOK: Professional iPhone and iPad Application Development
This is the forum to discuss the Wrox book Professional iPhone and iPad Application Development by Gene Backlin; ISBN: 978-0-470-87819-4
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional iPhone and iPad Application Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2011, 07:55 PM
Registered User
 
Join Date: May 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 7: errors on saving

Suggestions on how to resolve this entity save error:

2011-06-22 16:43:31.679 Tasks[11596:207] Unresolved error: Error Domain=NSCocoaErrorDomain Code=1570 "The operation couldn’t be completed. (Cocoa error 1570.)" UserInfo=0x4d6aca0 {NSValidationErrorObject=<NSManagedObject: 0x4d4b810> (entity: Task; id: 0x4d4b7d0 <x-coredata:///Task/t9568D043-D7BF-455B-AB6B-CADB432CCA1C2> ; data: {
dueDate = nil;
highPriTasks = "<relationship fault: 0x4d4bfa0 'highPriTasks'>";
isOverdue = nil;
location = nil;
priority = 0;
text = "New Task";
}), NSValidationErrorKey=isOverdue, NSLocalizedDescription=The operation couldn’t be completed. (Cocoa error 1570.)}, {
NSLocalizedDescription = "The operation couldn\U2019t be completed. (Cocoa error 1570.)";
NSValidationErrorKey = isOverdue;
NSValidationErrorObject = "<NSManagedObject: 0x4d4b810> (entity: Task; id: 0x4d4b7d0 <x-coredata:///Task/t9568D043-D7BF-455B-AB6B-CADB432CCA1C2> ; data: {\n dueDate = nil;\n highPriTasks = \"<relationship fault: 0x4d4bfa0 'highPriTasks'>\";\n isOverdue = nil;\n location = nil;\n priority = 0;\n text = \"New Task\";\n})";
}
 
Old June 23rd, 2011, 08:06 AM
Friend of Wrox
 
Join Date: Aug 2010
Posts: 298
Thanks: 1
Thanked 62 Times in 60 Posts
Default

Check to see if the discussion here might point you towards a solution.
http://stackoverflow.com/questions/1...r-while-saving

If not you can send your project to
[email protected]

and I will take see if I can track down your problem.

Also, this post is in the wrong forum, it should be in
http://p2p.wrox.com/book-professiona...ogramming-603/

Bob
 
Old June 23rd, 2011, 01:52 PM
Registered User
 
Join Date: May 2011
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default issue solved

used new error code that said isOverdue did not validate. It is a Transient property. I had unchecked 'Optional' so re-checked and it works fine now.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 8: Saving/Resuming Ace BOOK: Professional Windows Phone 7 Game Development: Creating Games using XNA Game Studio 4 0 June 22nd, 2011 06:35 PM
Chapter 7 errors janilane BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 May 5th, 2009 03:49 AM
More Errors in chapter 7..... rollercoaster BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 5 October 3rd, 2006 03:49 PM
Chapter 4 Errors? DRAYKKO BOOK: Beginning Java 2 3 June 1st, 2004 07:47 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.