To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=66204





------- Additional comments from [EMAIL PROTECTED] Wed Jun  7 08:05:10 -0700 
2006 -------
@kendy: This is also an issue of logical dependencies.

configmgr is a low-level office-independent component, which has a certain
probability of being made part of the office-independent URE.

Hardcoding knowledge of something that is set only in VCL (or even only in
desktop) creates a wrong dependency. This is different to the file-picker case:
the file-picker is a visual component that requires the entire GUI-application
underpinning in order to work at all.

That said the platformbe service (aka system integration backend) is only a
plugin to configmgr itself and could be moved into a higher layer. OTOH it is
itself a office-independent service, that could well be used in a non-office
environment.

The fact that you have to play tricks to make VCL inject the context entry
before actually initializing itself also indicates that something is wrong with
dependencies here: the correct functioning of the configuration service should
not be dependent on VCL being initialized. First, the service is used even in
non-VCL applications. Second, VCL itself uses the service and other components
might use it even before VCL initialization.  

BTW:
- What happens if that context entry is used before VCL has finished setting up
the global Application object?
- Do you still need the VCL-modified component context hack, if the desktop
check is deferred into BackendRef::getBackend()?

And as I mentioned: I we do this, then next thing is to check whether an LDAP
server is configured before trying to instantiate the LDAP backend. And similar
applicability checks apply to most backends that could be dropped into this.

- Jörg

---------------------------------------------------------------------
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