• 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: Baffling WOD error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Baffling WOD error


  • Subject: Re: Baffling WOD error
  • From: Theodore Petrosky <email@hidden>
  • Date: Wed, 24 Aug 2011 13:33:48 -0700 (PDT)

I was getting this same error a lot. And, different components were not verifying.

I was looking at a component what would keep telling me that an Entity did not have an attribute

<wo:if negate = "true" condition = "$session.currentUser.securitySettings.seesUserManagement">

currentUser did indeed have the attribute in question.

but a different project had a currentUser that had no securitySettings. it was called something else. so I changed the first project to:

<wo:if negate = "true" condition = "$session.theCurrentUser.securitySettings.seesUserManagement">

I renamed the accessor in Session to theCurrentUser and all the problems went away and have stayed away.

I have no idea why this would work.

Ted



>
> Message: 1
> Date: Wed, 24 Aug 2011 10:51:08 -0700
> From: Chuck Hill <email@hidden>
> Subject: Re: Baffling WOD error
> To: Valerio Luccio <email@hidden>
> Cc: WebObjects Development <email@hidden>
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> That is probably just Eclipse going insane.  You can
> delete the errors from the Problems view.  They usually
> don't come back.
>
>
> On 2011-08-24, at 10:38 AM, Valerio Luccio wrote:
>
> > I have a project that I hadn't worked on in a while.
> When I opened it in Eclipse yesterday I got some baffling
> error in WOD validation, although the application works.
> >
> > First some info:
> > O/S: X 10.6.8
> > Eclipse: 3.6.1
> > WOLips: 3.6.6212
> > Error: "'item' must be bounded when 'list' is bound"
> > Example WOD snippet:
> > DayRep: WORepetition {
> >   index = dayIndex;
> >   item = dayEntries_;
> >   list = dayEntriesArray_;
> > }
> > All variables are declared as public in the .java
> source.
> >
> > I tried clean/rebuild just in case, but it didn't
> help. I'm confused.
> > --
> > Valerio Luccio         
>               (212)
> 998-8736
> > Center for Brain Imaging   
>    4 Wshington Place, Room 158
> > New York University         
>     New York, NY 10003
> >
> --
> Chuck Hill         
>    Senior Consultant / VP Development
>

 _______________________________________________
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

  • Follow-Ups:
    • Re: Baffling WOD error
      • From: David Avendasora <email@hidden>
  • Prev by Date: Re: No Instance Available - New Lion Mac
  • Next by Date: D2W Boolean Search
  • Previous by thread: Re: Baffling WOD error
  • Next by thread: Re: Baffling WOD error
  • Index(es):
    • Date
    • Thread