Closed Garbash closed 8 years ago
אוקיי, קל לתיקון.
On 07/30/2015 10:49 AM, dor garbash wrote:
If I type in input bar ":" or "test hello:" or "hello is: fine": I get the following error: ajax error: status: 'error', error-msg: cypher parse error: rgx match failure: rgx: ^|(?P
[\w\d-\s]+(*\d..\d_)?)|(?P.*)$, input: "|Is:| {link_attr}]->(dst) with r, src, dst order by r.id return {id: r.id, src_id: src.id, __dst_id: dst.id, type: type(r)}"on_error_wrapper @ rz_api_backend.js:25jQuery.Callbacks.fire @ jquery.js:3119jQuery.Callbacks.self.fireWith @ jquery.js:3231done @ jquery.js:9277jQuery.ajaxTransport.send.callback @ jquery.js:9685 — Reply to this email directly or view it on GitHub https://github.com/Rhizi/rhizi/issues/594.
Note that I've add " and ? chars as ones that also cause error
Fixed by 2f0be9ac314efc927ba7dd108908306622193957.
Note that the double quote char is accepted but dropped silently. Opened issue #623 to track that.
Another critical chars causing same bug: . " ) (
It's in fact a different bug, as the nodes are actually created, just not displayed after submit. Posting this as a separate issue
If I type in input bar ":" or "test hello:" or "hello is: fine": I get the following error: ajax error: status: 'error', error-msg: cypher parse error: rgx match failure: rgx: ^.*)$, input: "
(?P<value>[\w\d_\-\s]+(\*\d*\.\.\d*)?)
(?PIs:
{link_attr}]->(dst) with r, src, dst order by r.id return {id: r.id, src_id: src.id, __dst_id: dst.id, type: type(r)}"on_error_wrapper @ rz_api_backend.js:25jQuery.Callbacks.fire @ jquery.js:3119jQuery.Callbacks.self.fireWith @ jquery.js:3231done @ jquery.js:9277jQuery.ajaxTransport.send.callback @ jquery.js:9685