Issue 79839 - unopkg has geeky/silly errormessage when working on read-only context + crash
Summary: unopkg has geeky/silly errormessage when working on read-only context + crash
Status: CLOSED FIXED
Alias: None
Product: General
Classification: Code
Component: code (show other issues)
Version: current
Hardware: All All
: P4 Trivial (vote)
Target Milestone: OOo 3.2
Assignee: joerg.skottke
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-07-20 14:44 UTC by joerg.skottke
Modified: 2009-10-09 08:12 UTC (History)
1 user (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 joerg.skottke 2007-07-20 14:44:40 UTC
The message is e.g.

[autojsk@tazman program]$ ./unopkg add --shared ~/workspace/unopkg-tool/plain.oxt 

ERROR: operating on read-only context!
       Cause: 

unopkg failed.

1) The "Cause:" is unneccessary as the line above already proclaims the
existence of an ERROR
2) The errormessage is designed for geeks of at least level 3 and magicians from
level 10 up
3) unopkg failed - who would have guessed ;-)

A nice errormessage could be:
You are trying to install an extension to the shared layer (for all users). 
Due to missing accessrights you may not install shared extensions.
Comment 1 joachim.lingner 2007-08-16 14:55:29 UTC
.
Comment 2 joachim.lingner 2007-10-15 16:38:53 UTC
Retargeted to 3.0.
Comment 3 joachim.lingner 2008-05-21 09:18:48 UTC
.
Comment 4 joachim.lingner 2008-12-09 14:43:28 UTC
Retargeting.
Comment 5 joachim.lingner 2009-07-23 13:15:06 UTC
running unopkg add --shared  without write permission caused a crash, which at
least is visible in a windows non-pro office. This is fixed now.

A changed the string to 
add extension:
"You need write permissions to install a shared extension!"
remove extension:
"You need write permissions in order to remove a shared extension!"
reinstall all extension:
"You need write permissions in order to install shared extensions!"

Please note that these strings are contained in exceptions. They are therefore
neither localized nor specified.

Comment 6 joachim.lingner 2009-09-02 14:36:51 UTC
@jsk: Please verify.
Comment 7 joerg.skottke 2009-09-08 13:47:24 UTC
Verified
Comment 8 joerg.skottke 2009-10-09 08:12:01 UTC
Close