← Back to team overview

openerp-india team mailing list archive

[Bug 1069001] Re: Wrong return string in rml_tag preprocessing

 

Hello Pieter J. Kersten ,

I have checked this issue with trunk as well as 6.0 , But I did not faced any problem 
when set like [[ setTag('para','xpre') ]][[ 'text'  or variable ]] .So would you 
please provide more information regarding this issue.

I have attached a video for more reference.

Thanks and waiting for reply!

** Changed in: openobject-server
       Status: New => Incomplete

-- 
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:
  Incomplete

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


References