To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=90853
                 Issue #|90853
                 Summary|cwsquery modules does not work with perl-5.10.0 on ope
                        |nSUSE-11.0
               Component|tools
                 Version|OOo 3.0 Beta
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|mh
             Reported by|pmladek





------- Additional comments from [EMAIL PROTECTED] Wed Jun 18 15:29:36 +0000 
2008 -------
The problem appeared in the script
http://svn.gnome.org/svn/ooo-build/trunk/bin/cws-extract that could be used to
extract a patch from a CWS.

The following command does not longer work with perl-5.10.0 on openSUSE-11.0:

--- cut ---
CWS_WORK_STAMP=hcshared18 cwsquery modules -m DEV300
cwsquery -- version: 1.13
cwsquery: Master workspace 'DEV300', child workspace 'hcshared18':
Warning: web service unavailable. Trying backup server.
ERROR: Connection to EIS database failed.
 at /pracovni/prace/OOo/cws/m14/dev300-m14/solenv/bin/modules/Cws.pm line 981
--- cut ---

The following SOAP call does not succeed:

--- cut ---
        # Call callee() on web service. 
        eval { $response = $sl->$callee(@_) };
--- cut ---

It does not succeed when calling:

--- cut ---
response = SOAP::Lite=HASH(0xea2b50)->getModules(6569)
--- cut ---

The perl feature "Data::Dumper" shows that the parameter "6569" is internaly
stored as string at that time:

--- cut ---
Parameter: $VAR1 = '6569';
response = SOAP::Lite=HASH(0xea2b50)->getModules(6569)
--- cut ---

It helped to explicitely convert this value into the integer. I'll attach a
patch for this.

I am not sure where the real problem is. The valaue was stored as string also
with perl-5.8.8 on openSUSE-10.3. It should get converted into the integer when
needed. I am afraid that it does not happen with the new perl from some reasons.
I could not debug it easily when I do not have access to the eis server side.

I wonder if the ChildWorkspaceId is always an integer. The proposed patch might
be enough then.

If the ChildWorkspaceId might be a string, we would need to debug it deeper.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to