Apache OpenOffice (AOO) Bugzilla – Issue 105712
X-Forms: file submission create only an empty file
Last modified: 2017-05-20 10:28:55 UTC
1. open the attached bugdoc 2. change the file path in the submission if you are not working under unix. 3. click on the button in the bugdoc ==>> the submitted file under /tmp/test.xml is empty
Created attachment 65235 [details] bugdoc
fs->thb: that's a regression coming from CWS ooxml03, where you, in the course of fixing issue 102156, removed the XUnoTunnel implementation from unoxml/source/dom/node.*. Sadly, the UNO tunnel was used by the XForms implementation to retrieve the xmlNodePtr from a CNode. While I'd be the first one to agree that this is somewhat (well: tremendously) hacky, I do not know whether mere UNO-based alternatives exist (I inherited this code, and do not know the DOM UNO API too well). So, in the course of this 3.2 fix, I'll simply re-introduce XUnoTunnel.
Created attachment 65237 [details] patch
The attached patch fixes the problem, will commit to CWS dba32i as soon as OOO320.m1 becomes available.
fixed in CWS dba32i find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fdba32i
fs->msc: please verify in CWS dba32i
verified in CWS dba32i find more information about this CWS, like when it is available in the master builds, in EIS, the Environment Information System: http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300%2Fdba32i