Support #3137
closedTuna Atlas Tabular Data Manager; Rules fail
100%
Description
Give me an error "WorkerException: Internal operation error"
But maybe this is not related to the rules engine itself
Files
Updated by Leonardo Candela about 9 years ago
- Assignee set to Giancarlo Panichi
@anton.ellenbroek@fao.org could you please provide more details on the settings producing the error, e.g. the rule, the dataset.
Updated by Giancarlo Panichi about 9 years ago
- Status changed from New to Feedback
- Assignee changed from Giancarlo Panichi to Anton Ellenbroek
Updated by Leonardo Candela about 9 years ago
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
Because of the lack of further details I'm going to close the ticket. It is almost impossible to figure out what is going on without a bare minimum set of details.
Updated by Anton Ellenbroek about 9 years ago
- File picture498-1.png picture498-1.png added
In FAO Tuna Atlas, on a file with 'skj', I tried a replace to 'SKJ'
I shared the rule with L.Candela, as Giancarlo is not a mamber here.
If you wish, let me know where you want to rule to be shared.
It also relates to the type of message (ERROR) and message text (!!!Internal ERROR) that is raised. These sound really alarming, whereas it is just a user that does not know how to write a rule.
Updated by Leonardo Candela about 9 years ago
Please, share the rule with @lucio.lelii@isti.cnr.it (I'm not allowed to do that).
Re error messages, I see it is not "user friendly".
Updated by Leonardo Candela about 9 years ago
For the sake of completeness, the rule is as follows
Equals(Soundex($[Text]),Soundex("skj"))
Please, do take into account that rules do not modify the tabular resource / column ... they are just a filter applied on the values.
However, this does not justify the error message.
Updated by Pasquale Pagano about 9 years ago
I propose to
- @lucio.lelii@isti.cnr.it to report the right rule to write to perform a replace;
- @g.panichi@isti.cnr.it to open a feature ticket in gCube to improve the quality of the error messages. The error message is intended to give information to an end-user. In this case, the error was due to an invalid rule that the service cannot apply to the type of values contained in the column. So the service replies with an error message but the front-end has to digest this error message and report something useful to the user without alerting him/her.
Updated by Lucio Lelii about 9 years ago
To perform a replace applying a rule is not the correct operation, rules performs only validation on columns. The right operation is the "replace by expression" operation on the column.