Issue 105712 - X-Forms: file submission create only an empty file
Summary: X-Forms: file submission create only an empty file
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: code (show other issues)
Version: DEV300m60
Hardware: All All
: P3 Trivial (vote)
Target Milestone: OOo 3.2
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks: 99999
  Show dependency tree
 
Reported: 2009-10-08 08:45 UTC by marc.neumann
Modified: 2017-05-20 10:28 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
bugdoc (8.92 KB, application/vnd.oasis.opendocument.text)
2009-10-08 08:47 UTC, marc.neumann
no flags Details
patch (2.01 KB, patch)
2009-10-08 09:27 UTC, Frank Schönheit
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
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