RuleModeler bug
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