Issue 108461 - [cws sb111] office can not be started anymore after installing SRB
Summary: [cws sb111] office can not be started anymore after installing SRB
Status: CLOSED FIXED
Alias: None
Product: Base
Classification: Application
Component: ReportBuilder (show other issues)
Version: recent-trunk
Hardware: PC Windows, all
: P2 Trivial (vote)
Target Milestone: OOo 3.3
Assignee: marc.neumann
QA Contact: issues@dba
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-19 15:08 UTC by marc.neumann
Modified: 2017-05-20 10:24 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description marc.neumann 2010-01-19 15:08:11 UTC
1. install the sun report extension from the CWS
2. close the office
3. restart the office
==>> error message while starting: 
The application cannot be started.
Comment 1 Stephan Bergmann 2010-01-20 08:41:01 UTC
This is a Windows-only issue, due to OOo not supporting long pathnames there,
see issue 50885.  What is unfortunate here is that, due to the mechanisms used
to keep OOo installations relocatable, during OXT installation the problematic
xcs/xcu files within the extension are accessed with slightly shorter pathnames
than during subsequent OOo starts (where the paths contain
"com.sun.star.comp.deployment.configuration.PackageRegistryBackend/.." segment
sequences, making them rather long).  Therefore, OXT installation works fine,
while subsequent OOo starts run into an error.

Issue 50885 is targeting OOo 3.3 as well, so I make this issue a duplicate of
that issue.

*** This issue has been marked as a duplicate of 50885 ***
Comment 2 marc.neumann 2010-01-20 10:23:04 UTC
not acceptable. The SRB extension works in the master and didn't work in the
cws. Maybe the fix depends on other things , but then we need to fix these
things inside this CWS.
Comment 3 marc.neumann 2010-01-20 10:23:28 UTC
reassign back to sb
Comment 4 Stephan Bergmann 2010-01-20 10:52:25 UTC
@msc:  That the extension can be installed and works fine for you on MWS is by
chance.  Chose a somewhat longer pathname for the OOo user installation (e.g.,
have a longer user name if the OOo user installation is at its default location
underneath $SYSUSERCONFIG), and it will start to break down on MWS as well.

I identify two potential differences between MWS and sb111:

1  The long pathname problem apparently starts to already appear for somewhat
shorter paths (of xcs/xcu files within extensions) on sb111 than on MWS. 
However, as the long pathname problem in general appears on both, MWS and sb111,
just differently for slightly different inputs, I do not see the need to address
that problem on sb111, given that issue 50885 will be fixed for OOo 3.3.

2  On sb111 there apparently are situations (depending on user installation
location and paths of xcs/xcu files within extensions) where installing an
extension works but subsequent OOo starts fail, as I explained above (as the
pathnames used during extension installation can be slightly shorter than those
used during OOo start up).  I do not know whether or not something similar can
happen on MWS (i.e., whether there are also situations there where extension
installation succeeds while some later operation fails).  However, making sure
that, with issue 50885 unfixed, sb111 would never encounter this unfortunate
combination, would require rather large code modifications.  Given that issue
50885 will be fixed for OOo 3.3, those code modifications would be both a waste
of resources and a lasting increase in source complexity that would become
unsubstantiated as soon as issue 50885 is fixed.
Comment 5 Stephan Bergmann 2010-01-20 11:08:43 UTC
I expect mav's fix for issue 50885 to be available within a week or so, and will
merge that fix into CWS sb111 as soon as it is available.
Comment 6 Stephan Bergmann 2010-02-03 08:54:12 UTC
merged CWS fwk137 (fixing issue 50885) into CWS sb111
Comment 7 Stephan Bergmann 2010-02-03 08:55:37 UTC
@msc: please verify
Comment 8 marc.neumann 2010-02-03 13:14:44 UTC
The office starts now after installing the extension. -> set issue to verified

But the extension does not work. This is the new issue 108905.