Issue 34459 - IDL: com.sun.star.util.XProtectable
Summary: IDL: com.sun.star.util.XProtectable
Status: CLOSED FIXED
Alias: None
Product: App Dev
Classification: Unclassified
Component: api (show other issues)
Version: 3.3.0 or older (OOo)
Hardware: All All
: P4 Trivial
Target Milestone: 4.2.0
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-21 16:36 UTC by steffen.grund
Modified: 2017-05-20 09:32 UTC (History)
2 users (show)

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


Attachments
Patch to add description about IllegalArgumentException for unprotect method (585 bytes, patch)
2014-02-04 12:41 UTC, hanya
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description steffen.grund 2004-09-21 16:36:28 UTC
XProtectable is used on ScTableSheetObj and ScModelObj. In the idl, the method
"unprotect" raises an IllegalArgumentException. This exception is never thrown
when using the implementation -  even with a wrong password.

The purpose of the Exception has to be explained in the idl file.
Comment 1 steffen.grund 2004-09-21 16:37:11 UTC
set to P4, this is no P3 bug.
Comment 2 niklas.nebel 2004-09-21 17:32:00 UTC
For Sascha...
Comment 3 Rob Weir 2013-07-30 02:21:49 UTC
Reset assignee on issues not touched by assignee in more than 2000 days.
Comment 4 hanya 2014-02-04 12:41:42 UTC
Created attachment 82500 [details]
Patch to add description about IllegalArgumentException for unprotect method

Current implementations raise com.sun.star.lang.IllegalArgumentException if 
the password is invalid for unprotect method.
Comment 5 SVN Robot 2015-01-16 17:02:52 UTC
"hanya" committed SVN revision 1652460 into trunk:
#i34459# add description about IllegalArgumentException thrown by unprotect m...
Comment 6 hanya 2015-01-18 13:46:48 UTC
Fixed on trunk.