openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16789
[Bug 1069001] [NEW] Wrong return string in rml_tag preprocessing
Public bug reported:
The code for setTag() handling in preprocess.py returns an invalid
"empty" clause for further processing, causing parsing errors on later
code.
Example:
[[ setTag('para','xpre') ]][[ variable ]]
Generates an exception:
Syntax error: " '' ]][[ variable "
This is caused by rml_tag returning "[[ '' ]]"
Converting this "empty" clause to an empty string solves the error.
Attached a patch to the 6.0 tree.
** Affects: openobject-server
Importance: Undecided
Status: New
** Tags: report rml settag
** Patch added: "rml_tag.patch"
https://bugs.launchpad.net/bugs/1069001/+attachment/3405498/+files/rml_tag.patch
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1069001
Title:
Wrong return string in rml_tag preprocessing
Status in OpenERP Server:
New
Bug description:
The code for setTag() handling in preprocess.py returns an invalid
"empty" clause for further processing, causing parsing errors on later
code.
Example:
[[ setTag('para','xpre') ]][[ variable ]]
Generates an exception:
Syntax error: " '' ]][[ variable "
This is caused by rml_tag returning "[[ '' ]]"
Converting this "empty" clause to an empty string solves the error.
Attached a patch to the 6.0 tree.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1069001/+subscriptions
Follow ups
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Launchpad Bug Tracker, 2013-03-10
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Jignesh Rathod(OpenERP), 2013-01-08
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Pieter J. Kersten (EduSense BV), 2013-01-07
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Jignesh Rathod(OpenERP), 2013-01-07
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Amit Parik (OpenERP), 2013-01-07
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Pieter J. Kersten (EduSense BV), 2013-01-07
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Amit Parik (OpenERP), 2013-01-07
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Launchpad Bug Tracker, 2013-01-06
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Pieter J. Kersten (EduSense BV), 2012-11-06
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Pieter J. Kersten (EduSense BV), 2012-11-06
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Jignesh Rathod(OpenERP), 2012-11-06
-
[Bug 1069001] Re: Wrong return string in rml_tag preprocessing
From: Jignesh Rathod(OpenERP), 2012-11-06
-
[Bug 1069001] [NEW] Wrong return string in rml_tag preprocessing
From: Pieter J. Kersten (EduSense BV), 2012-10-20
References