• 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: D2W Rule Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D2W Rule Question


  • Subject: Re: D2W Rule Question
  • From: David Holt <email@hidden>
  • Date: Sat, 14 Jun 2014 18:53:36 -0700

"true"?

Sent from my iPad

> On Jun 14, 2014, at 6:46 PM, Timothy Worman <email@hidden> wrote:
>
> All:
>
> I’ve got a rule that looks like this:
>
> 110 : ((entity.name = 'PTAMembership') or (entity.name = 'PTAMember')) => isEntityEditable = true [com.webobjects.directtoweb.BooleanAssignment ]
>
> Is anyone able to tell me what I'm doing wrong with this rule? At application launch this is causing an error like:
>
> IllegalArgumentException: ** DirectToWeb exception - a rule cannot be instantiated if its right hand side is null. LHS=((entity.name = 'PTAMembership') or (entity.name = 'PTAMember'))  RHS=null
>  at com.webobjects.directtoweb.Rule.<init>(Rule.java:211)
>  at er.directtoweb.ERD2WRule.<init>(ERD2WRule.java:48)
>  at er.directtoweb.ERD2WRule.decodeWithKeyValueUnarchiver(ERD2WRule.java:57)
>     ... skipped 3 stack elements
>  at com.webobjects.eocontrol.EOKeyValueUnarchiver._objectForPropertyList(EOKeyValueUnarchiver.java:192)
>  at com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:256)
>  at com.webobjects.eocontrol.EOKeyValueUnarchiver._arrayForPropertyList(EOKeyValueUnarchiver.java:215)
>  at com.webobjects.eocontrol.EOKeyValueUnarchiver._findTypeForPropertyListDecoding(EOKeyValueUnarchiver.java:250)
>  at com.webobjects.eocontrol.EOKeyValueUnarchiver.decodeObjectForKey(EOKeyValueUnarchiver.java:275)
>  at er.directtoweb.ERD2WModel.mergePathURL(ERD2WModel.java:648)
>  at com.webobjects.directtoweb.D2WModel.loadRules(D2WModel.java:982)
>  at com.webobjects.directtoweb.D2WModel.checkRules(D2WModel.java:907)
>  at er.directtoweb.ERDirectToWeb.finishInitialization(ERDirectToWeb.java:99)
>  at er.extensions.ERXFrameworkPrincipal$Observer.willFinishInitialization(ERXFrameworkPrincipal.java:94)
>     ... skipped 7 stack elements
>  at er.extensions.appserver.ERXApplication.<init>(ERXApplication.java:1147)
>  at com.donbenitopta.admin.app.Application.<init>(Application.java:11)
>
> I could swear I’ve had this rule in there for a long time and it just recently started to throw exceptions - but I’ve been known to be very wrong. :-)
>
> Tim
> UCLA GSE&IS
> _______________________________________________
> 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

 _______________________________________________
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: 
 >D2W Rule Question (From: Timothy Worman <email@hidden>)

  • Prev by Date: D2W Rule Question
  • Next by Date: Re: D2W Rule Question
  • Previous by thread: D2W Rule Question
  • Next by thread: Re: D2W Rule Question
  • Index(es):
    • Date
    • Thread