• 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: Qualifier Format String truncates on error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qualifier Format String truncates on error?


  • Subject: Re: Qualifier Format String truncates on error?
  • From: David Avendasora <email@hidden>
  • Date: Mon, 17 Mar 2008 12:41:42 -0400

Filed.

Problem ID: 5802594

On Mar 17, 2008, at 11:12 AM, Chuck Hill wrote:


On Mar 17, 2008, at 8:07 AM, David Avendasora wrote:

Hi all,

I just spent about 3 hours trying to track down an error I had in a EOQualifier.qualifierWithFormat(String format, NSArray args) call:

I was using is String:

"part = %@ and lotCodeValue = %@ amd manufacturingSchedule = %@"

Note the second "and" is actually "amd"

This did not generate any error. It just silently truncated the String to:

"part = %@ and lotCodeValue = %@"

Which is still valid, but it does not return the result set I was expecting. (Yeah, yeah Chuck. I know, contracts and JUnit).

I doubt that would have saved you here.


Shouldn't it generate an error stating that the String can't be parsed? I'll be happy to file a bug, but I want to make sure that this isn't actually a "feature". :-)

That is an out and out bug. File 'em Dano!

Chuck

--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects









_______________________________________________ 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: 
 >Qualifier Format String truncates on error? (From: David Avendasora <email@hidden>)
 >Re: Qualifier Format String truncates on error? (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Qualifier Format String truncates on error?
  • Next by Date: Re: Finding an empty to many relationship
  • Previous by thread: Re: Qualifier Format String truncates on error?
  • Next by thread: Re: Qualifier Format String truncates on error?
  • Index(es):
    • Date
    • Thread