[framework-issues] [Issue 113752] Package Information Provi der may deliver wrong urls

2010-10-20 Thread kso
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113752


User kso changed the following:

What|Old value |New value

Target milestone|OOo 3.x   |OOo 3.4





--- Additional comments from k...@openoffice.org Wed Oct 20 11:39:50 + 
2010 ---
set target.


-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 113752] Package Information Provi der may deliver wrong urls

2010-10-20 Thread cornouws
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113752


User cornouws changed the following:

What|Old value |New value

  CC|'brinzing,fs,hanya,mav'   |'brinzing,cornouws,fs,hany
|  |a,mav'





-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 113752] Package Information Provi der may deliver wrong urls

2010-08-10 Thread brinzing
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113752


User brinzing changed the following:

What|Old value |New value

  CC|'fs,mav'  |'brinzing,fs,mav'





--- Additional comments from brinz...@openoffice.org Tue Aug 10 17:06:41 
+ 2010 ---
.

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 113752] Package Information Provi der may deliver wrong urls

2010-08-10 Thread hanya
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113752


User hanya changed the following:

What|Old value |New value

  CC|'brinzing,fs,mav' |'brinzing,fs,hanya,mav'





--- Additional comments from ha...@openoffice.org Wed Aug 11 04:00:25 + 
2010 ---
.

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 113752] Package Information Provi der may deliver wrong urls

2010-08-09 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113752
 Issue #|113752
 Summary|Package Information Provider may deliver wrong urls
   Component|framework
 Version|OOO330m1
Platform|All
 URL|
  OS/Version|All
  Status|NEW
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|code
 Assigned to|dv
 Reported by|jl





--- Additional comments from j...@openoffice.org Mon Aug  9 14:13:56 + 
2010 ---
The com.sun.star.deployment.PackageInformationProvider service may deliver wrong
URLs to installed extensions. Therefore, the
com.sun.star.ucb.ExtensionContentProvider may not work correctly because it 
uses it.

The PackageInformationProvider was intended for services, which need to find the
installation location of the extension where they come from. The
PackageInformationProvider.getPackageLocation is supposed to deliver this
information. However the implementation just searches the user, shared and
bundled extension and returns the URL of the first found extension. It does not
take into account, that this extension is disabled, which can be the case with
user extensions. If the service was started before the extension was disabled,
then the service will continue to be active during that session and
getPackageLocation should return the url for the disabled extension. However, if
code which is not  from that extension wants to know the location then it must
not get it, because it must not use the extension.

getPackageLocation also does not work when live deployment enters the game.
Let's think of a shared extension Foo version 1. Foo contains a service which is
started in OOo and at some point it needs to load some resource from the
extension. It therefore uses the getPackageLocation. Now the extension Foo
version 2 is installed in the user repository during the same session. If the
service from Foo version 1 calls getPackageLocation then it will obtain a URL to
Foo version 2, which may contain completely different resources. 

A similar scenario exists when uninstalling an extension. Let's say the
extensions are installed as described previously, but the service from Foo
version 2 (user) runs. Then it is removed or disabled. The service can continue
to  run until OOo dies. If it calls getPackageLocation it will get the URL to
Foo version 1 (shared).

To minimize the risk, getPackageLocation should not only take the identifier but
also the version. It would still deliver the wrong URL in the mentioned
scenarios (provided that the same version is used in user and shared repository)
but one can assume that the same versions are identical. However, if one wants
to obtain the true location then this approach fails also.

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 113752] Package Information Provi der may deliver wrong urls

2010-08-09 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113752


User jl changed the following:

What|Old value |New value

  CC|''|'fs,mav'

 Assigned to|dv|fs





--- Additional comments from j...@openoffice.org Mon Aug  9 14:16:16 + 
2010 ---
added cc

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[framework-issues] [Issue 113752] Package Information Provi der may deliver wrong urls

2010-08-09 Thread jl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113752


User jl changed the following:

What|Old value |New value

 Assigned to|fs|dv





--- Additional comments from j...@openoffice.org Mon Aug  9 14:17:05 + 
2010 ---
.

-
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: issues-unsubscr...@framework.openoffice.org
For additional commands, e-mail: issues-h...@framework.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org