Rule Sets: Javascript error on adding 'More Arguments"
bensemmel - August 24, 2009 - 18:15
| Project: | Rules |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Jump to:
Description
Hi,
after beginning to understan the power of rule sets I tried to use more than 3 arguments by using the 'More Arguments' button.
On doing this a pop up shows with the following (endless) error:
An error occurred.
/berta/admin/rules/rule_sets/js
{ "data": "\x3cdiv id=\"rules-set-args\"\x3e\x3cfieldset class=\" collapsible\"\x3e\x3clegend\x3eArguments\x3c/legend\x3e\x3cdiv class=\"description\"\x3eYou may specify some arguments, which have to be passed to the rule set when it is invoked. For each argument you have to specify a certain data type, a label and a unique machine readable name containing only alphanumeric characters, and underscores.\x3c/div\x3e\x3ctable class=\"sticky-enabled\"\x3e\n \x3cthead\x3e\x3ctr\x3e\x3cth\x3eData type\x3c/th\x3e\x3cth\x3eLabel\x3c/th\x3e\x3cth\x3eMachine readable name\x3c/th\x3e \x3c/tr\x3e\x3c/thead\x3e\n\x3ctbody\x3e\n \x3ctr class=\"odd\"\x3e\x3ctd class=\"rules-argument-data-type\"\x3e\x3cdiv class=\"form-item\" id=\"edit-args-0-type-wrapper\"\x3e\n \x3cselect name=\"args[0][type]\" class=\"form-select\" id=\"edit-args-0-type\" \x3e\x3coption value=\"0\" selected=\"selected\"\x3e--\x3c/option\x3e\x3coption value=\"comment\"\x3eComment\x3c/option\x3e\x3coption value=\"node\"\x3eContent\x3c/option\x3e\x3coption value=\"date\"\x3eDate\x3c/option\x3e\x3coption value=\"flag\"\x3eFlag\x3c/option\x3e\x3coption value=\"heartbeat_access\"\x3eHeartbeat message access\x3c/option\x3e\x3coption value=\"heartbeat_message_id\"\x3eHeartbeat message id\x3c/option\x3e\x3coption value=\"heartbeat_message\"\x3eLogged heartbeat message in the most basic form\x3c/option\x3e\x3coption value=\"number\"\x3eNumber\x3c/option\x3e\x3coption value=\"relation_message\"\x3eRelation message\x3c/option\x3e\x3coption value=\"relation_status\"\x3eRelation status\x3c/option\x3e\x3coption value=\"relation_type\"\x3eRelation type\x3c/option\x3e\x3coption value=\"string\"\x3eString\x3c/option\x3e\x3coption value=\"taxonomy_term\"\x3eTaxonomy term\x3c/option\x3e\x3coption value=\"taxonomy_vocab\"\x3eTaxonomy vocabulary\x3c/option\x3e\x3coption value=\"boolean\"\x3eTruth value\x3c/option\x3e\x3coption value=\"user\"\x3eUser\x3c/option\x3e\x3c/select\x3e\n\x3c/div\x3e\n\x3c/td\x3e\x3ctd class=\"rules-argument-label\"\x3e\x3cdiv class=\"form-item\" id=\"edit-args-0-label-wrapper\"\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"args[0][label]\" id=\"edit-args-0-label\" size=\"40\" value=\"\" class=\"form-text\" /\x3e\n\x3c/div\x3e\n\x3c/td\x3e\x3ctd class=\"rules-argument-name\"\x3e\x3cdiv class=\"form-item\" id=\"edit-args-0-name-wrapper\"\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"args[0][name]\" id=\"edit-args-0-name\" size=\"40\" value=\"\" class=\"form-text\" /\x3e\n\x3c/div\x3e\n\x3c/td\x3e \x3c/tr\x3e\n \x3ctr class=\"even\"\x3e\x3ctd class=\"rules-argument-data-type\"\x3e\x3cdiv class=\"form-item\" id=\"edit-args-1-type-wrapper\"\x3e\n \x3cselect name=\"args[1][type]\" class=\"form-select\" id=\"edit-args-1-type\" \x3e\x3coption value=\"0\" selected=\"selected\"\x3e--\x3c/option\x3e\x3coption value=\"comment\"\x3eComment\x3c/option\x3e\x3coption value=\"node\"\x3eContent\x3c/option\x3e\x3coption value=\"date\"\x3eDate\x3c/option\x3e\x3coption value=\"flag\"\x3eFlag\x3c/option\x3e\x3coption value=\"heartbeat_access\"\x3eHeartbeat message access\x3c/option\x3e\x3coption value=\"heartbeat_message_id\"\x3eHeartbeat message id\x3c/option\x3e\x3coption value=\"heartbeat_message\"\x3eLogged heartbeat message in the most basic form\x3c/option\x3e\x3coption value=\"number\"\x3eNumber\x3c/option\x3e\x3coption value=\"relation_message\"\x3eRelation message\x3c/option\x3e\x3coption value=\"relation_status\"\x3eRelation status\x3c/option\x3e\x3coption value=\"relation_type\"\x3eRelation type\x3c/option\x3e\x3coption value=\"string\"\x3eString\x3c/option\x3e\x3coption value=\"taxonomy_term\"\x3eTaxonomy term\x3c/option\x3e\x3coption value=\"taxonomy_vocab\"\x3eTaxonomy vocabulary\x3c/option\x3e\x3coption value=\"boolean\"\x3eTruth value\x3c/option\x3e\x3coption value=\"user\"\x3eUser\x3c/option\x3e\x3c/select\x3e\n\x3c/div\x3e\n\x3c/td\x3e\x3ctd class=\"rules-argument-label\"\x3e\x3cdiv class=\"form-item\" id=\"edit-args-1-label-wrapper\"\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"args[1][label]\" id=\"edit-args-1-label\" size=\"40\" value=\"\" class=\&
...I couldn't copy all, as it reached out of my page...
Has anybody the same behavior
Thank you
Regards,
Ben

#1
fixed in 1.1.
#2
Automatically closed -- issue fixed for 2 weeks with no activity.