• 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
RuleModeler bug
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RuleModeler bug


  • Subject: RuleModeler bug
  • From: Ângelo Andrade Cirino <email@hidden>
  • Date: Mon, 05 May 2014 13:48:43 -0300

After several times when RuleModeler or Eclipse, or both, caused me problems with my rules files I decided to take a look a what happened, instead of simply reverting to the last known good version in git. I don't know how neither why, but very often, RuleModeler (stand alone) will strip the double quote from the rules so that instead of something like this

{
  "rules" = (
    {
      "author" = "90"; 
      "class" = "com.webobjects.directtoweb.Rule"; 
      "lhs" = {
        "class" = "com.webobjects.eocontrol.EOKeyValueQualifier"; 
        "key" = "pageConfiguration"; 
        "selectorName" = "isLike"; 
        "value" = "*ListParty*"; 
      }; 
      "rhs" = {
        "class" = "com.webobjects.directtoweb.Assignment"; 
        "keyPath" = "displayPropertyKeys"; 
        "value" = (
          "displayName", 
          "status.description", 
          "lastModified"
        ); 
      }; 
    }
  ); 
}

we will have this

{

    rules = (

        {

            author = 100; 

            class = "com.webobjects.directtoweb.Rule"; 

            lhs = {

                class = "com.webobjects.eocontrol.EOKeyValueQualifier"; 

                key = pageConfiguration; 

                selectorName = isLike; 

                value = "*ListParty*"; 

            }; 

            rhs = {

                class = "com.webobjects.directtoweb.Assignment"; 

                keyPath = displayPropertyKeys; 

                value = (displayName, "status.description", lastModified); 

            }; 

        }, 

    }
  ); 
}

The later form is read and edited in place by Eclipse's RuleEditor with no signs of problems, but the D2W rules system will not render the rules and the stand alone RuleEditor will crash.

Has anyone stumbled upon this problem? Any solutions?

Angelo
 _______________________________________________
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

  • Prev by Date: Re: Incorporate a .woo file into java file
  • Next by Date: Re: Tabs in ERMODTabInspectPage not showing
  • Previous by thread: Re: Incorporate a .woo file into java file
  • Next by thread: WebObjects needs you for XRebel support ;)
  • Index(es):
    • Date
    • Thread