To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=113899
                 Issue #|113899
                 Summary|unopkg: shared ScriptingFramework Extension can be uni
                        |nstalled for single users
               Component|framework
                 Version|OOO330m4
                Platform|Unknown
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|tm
             Reported by|brinzing





------- Additional comments from brinz...@openoffice.org Sun Aug 15 13:12:35 
+0000 2010 -------
steps to reproduce:

- user "ADMIN" installs shared extension "ScriptDispatch.oxt" from:
  http://www.openoffice.org/issues/show_bug.cgi?id=98990

  C:\Programme\OOo-dev 3\program>unopkg add c:\ScriptDispatch.oxt 
    --shared --verbose
  [...]
  [Enter "yes" or "no"]:yes
   Copying: ScriptDispatch.oxt
    Enabling: ScriptDispatch.oxt
    Enabling: ScriptDispatch
  unopkg done.

- start oo
- check with "StartScriptdispatch.odt" from 
  http://www.openoffice.org/issues/show_bug.cgi?id=98990
- close oo

- change to user "USER" (a user without admin privileges)
- start oo
- check with "StartScriptdispatch.odt"
- close oo
- uninstall extension:
  C:\Programme\OOo-dev 3\program>unopkg remove 
   org.test.java.scriptdispatch --shared --verbose
   Disabling: ScriptDispatch.oxt
   Disabling: ScriptDispatch
  unopkg done.

  btw: User "USER" can not uninstall via "Tools - Extension Manager...",
          cause "Remove" button is disabled ...
  
- user "USER"'s "shared-extension-desc.xml" will now look like:

  <?xml version="1.0" encoding="UTF-8"?>
  <unopackages xmlns:unopackages="unopackages.dtd">
     <language value="Java"/>
  </unopackages>

  but the extension is not removed from:
  C:\Programme\OOo-dev 3\share\uno_packages\cache
 
- user "ADMIN" can still use the shared extension while user "USER" can not.

- if user "USER" tries to reinstall the extension he will fail:
  ERROR: You need write permissions to install a shared extension!
       Cause: void
  unopkg failed.

is this behaviour intended ?

imho the root cause for the problem is, that the "shared-extension-desc.xml"
is located inside the user directory "3\user\Scripts\". the content is 
redundant.

In OO 3.2 the file was in:
"C:\Program Files\OpenOffice.org\Basis\share\Scripts\unopkg-desc.xml"
and so changing the file failed without write permissions.

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

Reply via email to