c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04138
[Bug 631076] Re: [5.0.14] osv.orm.browse_null in xmlrpc message breaks server communication
Hello Stefan,
Our R&D Teams are focused on the latest OpenERP version, and this issue does not affect it.
Our policy is to keep the changes applied on stable branches to a minimum, in order to limit the regression risks for customers that are in production. This means that bugs reported on Launchpad are fixed in the trunk branch only by default, even if they were reported against other stable versions.
We stand of course ready to backport the change to stable releases if it has an impact on any customer. In this case please report it to our maintenance team via the OpenERP Publisher's Warranty. They will quickly help solve the issue and backport the fix if needed.
Thank you for your understanding!
** Changed in: openobject-server
Status: Incomplete => Invalid
** Summary changed:
- [5.0.14] osv.orm.browse_null in xmlrpc message breaks server communication
+ osv.orm.browse_null in xmlrpc message breaks server communication
--
osv.orm.browse_null in xmlrpc message breaks server communication
https://bugs.launchpad.net/bugs/631076
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Server: Invalid
Bug description:
My custom code stopped working in 5.0.14. I am looking up another object's country_id in a function field. The other object is retrieved through a browse action. This used to result in a False value in the XMLRPC communication if the otherobject's country_id was not defined (5.0.12). In 5.0.14 I get a osv.orm.browse_null value at the server side, which is not send back to the client. Instead, I get a server side exception, and the client hangs.
Exception in thread Thread-5:
Traceback (most recent call last):
File "/usr/lib/python2.5/threading.py", line 486, in __bootstrap_inner
self.run()
File "/home/oervrs2dev/releases/openerp-server-5.0.14/bin/netsvc.py", line 411, in run
ts.mysend(result)
File "/home/oervrs2dev/releases/openerp-server-5.0.14/bin/tiny_socket.py", line 50, in mysend
msg = cPickle.dumps([msg,traceback])
File "/usr/lib/python2.5/copy_reg.py", line 83, in _reduce_ex
dict = getstate()
TypeError: 'bool' object is not callable
It is the msg variable that contains references to the browse_null value now, where it used to say "False". Please confirm this is a feature, not a bug and I will gladly update my code. However, for now I am tempted to think that I should be able to assign one uninitialized country_id to another.