Issue 105712

Summary: X-Forms: file submission create only an empty file
Product: Base Reporter: marc.neumann
Component: codeAssignee: marc.neumann
Status: CLOSED FIXED QA Contact: issues@dba <issues>
Severity: Trivial    
Priority: P3 CC: issues, thb
Version: DEV300m60   
Target Milestone: OOo 3.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 99999    
Attachments:
Description Flags
bugdoc
none
patch none

Description marc.neumann 2009-10-08 08:45:06 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
Comment 1 marc.neumann 2009-10-08 08:47:14 UTC
Created attachment 65235 [details]
bugdoc
Comment 2 Frank Schönheit 2009-10-08 09:17:59 UTC
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.
Comment 3 Frank Schönheit 2009-10-08 09:27:25 UTC
Created attachment 65237 [details]
patch
Comment 4 Frank Schönheit 2009-10-08 09:31:13 UTC
The attached patch fixes the problem, will commit to CWS dba32i as soon as
OOO320.m1 becomes available.
Comment 5 Frank Schönheit 2009-10-09 10:05:27 UTC
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
Comment 6 Frank Schönheit 2009-10-27 22:27:21 UTC
fs->msc: please verify in CWS dba32i
Comment 7 marc.neumann 2009-10-30 12:33:48 UTC
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