*** Morphous has joined #gnuenterprise *** Amorphous has quit IRC *** wayneg1 has joined #gnuenterprise *** wayneg has quit IRC *** siesel has joined #gnuenterprise morning morning siesel *** sjc has joined #gnuenterprise *** dcmwai has joined #gnuenterprise *** dcmwai_ has joined #gnuenterprise *** dcmwai has quit IRC *** dcmwai_ has quit IRC *** dcmwai has joined #gnuenterprise *** _florin_ has joined #gnuenterprise <_florin_> good morning morning florin *** siesel_ has joined #gnuenterprise *** siesel has quit IRC *** siesel_ has quit IRC *** siesel_ has joined #gnuenterprise *** _florin_ has quit IRC *** _florin_ has joined #gnuenterprise *** dcmwai has quit IRC *** _florin_ has left #gnuenterprise *** johannesV has joined #gnuenterprise *** johannesV_ has joined #gnuenterprise *** johannesV has quit IRC *** holycow has joined #gnuenterprise *** havoc has quit IRC *** havoc has joined #gnuenterprise *** jamest has joined #gnuenterprise hi jamest I've tried to use a 'cparam' in a condition for a datasource in forms, but it didn't work all i got was a 'ConditionNotSupported' exception (condition clause 'cparam' is not supported by the condition prefix table conversion) so i made the following changes to GConditions.py: --- GConditions.py (revision 5758) +++ GConditions.py (working copy) @@ -420,8 +420,8 @@ elif otype == 'cconst': return [('const',conditionTree.value)] - elif otype == 'param': - return [('param', conditionTree.getValue())] + elif otype == 'cparam': + return [('const', conditionTree.getValue())] # # if its an conditional object, then process it's children now it works, but is this really what i should fix to solve it ? odd cparams work for me do they work in forms too ? yes here is a valid one (btw, i can't see xml dumps like that in kopete so if it looks bad let me know) then in the form itself I have ok, this on is from the gfd you've mailed to me ... :) but i see the difference to my condition-tree now you've used ' + ' and i did something like ... ah, i've never tried that i'll change my sample using your way ... well i can't recall why 'param' and not 'cparam' is in there uhmmm, actually i can't change it so your fix may be valid because i'd like to use the param's value to be a part of the condition ok, i'll do some tests with the alternate param is used in reports at least I have it in one ;) but it's not a report i use anymore so this change would affect reports (or probably break it) it might i don't run this report anymore so for all i know reports has moved on as most my reports seems to use cparam is there any reason to remote the param elif? er, remove hmm, is there another way to add a value by parameter to a datasources' condition ? not that I know of the original "elif otype == 'param':" ... could this ever be true ? because the otype should be 'cparam' and not 'param' ??? i don't think it can be true anymore I got it! you can commit and if someone starts screaming then we'll know for sure! :) well actually the fix would change a 'cparam'-tuple to a 'const'-tuple instead of a 'param'-tuple so if there's something depending on a param-tuple it won't work .. you mean it converts cparam values to constaints? if you convert those paramters to constaints will this impact things like setParameter('onlyComplete','N') in triggers? hmm, have to check ... no, it don't affect setParameter () working on a sunday? the change affects 'buildPrefixFromTree ()' i wouldn't call this 'work' :) bwahahahahahaah you've caught the bug but when i've thought about calculated fields for conditions in appserver i found out that Condition trees will play an importaint role ... so i've studied GConditions.py or at least tried to understand :)) and that's why i found the 'param'-thing kinda strange because there was no 'param'-object i really think that's old which bug are you talking of ? and a bug the can't stop tinkering w/ gnue bug even off the clock it means more free labor for gnue! :) have to leave for dinner now ... l8r cu l8r *** johnf has joined #gnuenterprise *** holycow has quit IRC *** johnf has quit IRC *** efox_ has quit IRC *** johnf has joined #gnuenterprise *** wayneg has joined #gnuenterprise *** wayneg1 has quit IRC *** dcmwai has joined #gnuenterprise *** ajmitch has quit IRC *** ajmitch has joined #gnuenterprise *** siesel_ has quit IRC *** wayneg has quit IRC *** dcmwai has quit IRC *** wayneg has joined #gnuenterprise *** sjc has quit IRC *** johannesV_ has quit IRC *** Vee2d2 has quit IRC *** Vee2d2 has joined #gnuenterprise *** holycow has joined #gnuenterprise *** dneighbo has joined #gnuenterprise *** dneighbo_ has quit IRC *** ajmitch has quit IRC *** mdean has quit IRC *** Vee2d2 has quit IRC *** Morphous has quit IRC *** Vee2d2 has joined #gnuenterprise *** ajmitch has joined #gnuenterprise *** Morphous has joined #gnuenterprise *** mdean has joined #gnuenterprise *** Morphous has quit IRC *** Vee2d2 has quit IRC *** Vee2d2 has joined #gnuenterprise *** Morphous has joined #gnuenterprise *** mdean has quit IRC *** ajmitch has quit IRC *** ajmitch has joined #gnuenterprise *** mdean has joined #gnuenterprise *** holycow has quit IRC *** holycow has joined #gnuenterprise *** holy_cow has joined #gnuenterprise *** holycow has quit IRC *** jcater has quit IRC derek: ping dneighbo: pong is da masta about? :P *** johnf has left #gnuenterprise *** holycow has quit IRC *** holycow has joined #gnuenterprise