6.0.0-beta1
7/30/25

[#5455] Obscure error messages for violation of export restriction
Summary Obscure error messages for violation of export restriction
Queue Turba
Queue Version 2.1.3
Type Bug
State Duplicate
Priority 1. Low
Owners
Requester Otto.Stolz (at) uni-konstanz (dot) de
Created 06/13/2007 (6622 days ago)
Due
Updated 06/14/2007 (6621 days ago)
Assigned
Resolved 06/14/2007 (6621 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
06/14/2007 02:38:06 AM Chuck Hagenbuch Comment #2
Type ⇒ Bug
State ⇒ Duplicate
Priority ⇒ 1. Low
Reply to this comment
- In the display of the search results from an export-restricted
addressbook, do not provide the "Export" menu item.
This is how HEAD (2.2-CVS) behaves.
- Decide, whether " 'export' => false"  also excludes copying to
another addressbook, or whether a particular option should be
provided for restricting copying.
It does not affect copying from search results.
- In the display of the search results from a copy-restricted
addressbook
There is no such thing as a copy-restricted address book.
- If the above enhancements are not feasable, then, at the very
least, provide a specific error message for these cases, such as: "No
objects may be exported from this adressbook."
I can't reproduce the error messages, so ...
06/13/2007 10:53:18 AM Otto (dot) Stolz (at) uni-konstanz (dot) de Comment #1
State ⇒ New
Priority ⇒ 2. Medium
Type ⇒ Enhancement
Summary ⇒ Obscure error messages for violation of export restriction
Queue ⇒ Turba
Reply to this comment
$cfgSources['localldap'] = array(

     'title' => _("E-Mail directory Uni Konstanz"),

...

     'export' => false,

     'browse' => false

);

Permissions set for 'localldap':

   Array ( [type] => matrix.  [default] => 6 )

   Array ( )



Now, when a user performs a search against localldap, and then tries 
to copy into his personal adressbook some contacts found therein,   
then the error message given  is: "Failed to find object to be added: 
No results" , which is perfectly obscure.



Likewise, when trying to export contacts from that search result, the 
user gets the message: "There were no addresses to export.".



When the user, however, tries to add a contact from that search result 
to a contact list in his personal addressbook, he will be told: 
"Successfully added 1 contact(s) to list." -- in spite of  that 
contact not being added to the contact list (cf. Ticket #4915).



Please make the following enhancements:



- In the display of the search results from an export-restricted 
addressbook, do not provide the "Export" menu item.



- Decide, whether " 'export' => false"  also excludes copying to 
another addressbook, or whether a particular option should be provided 
for restricting copying.



- In the display of the search results from a copy-restricted 
addressbook, do not provide the "Copy", and "Add"  menu items. (If 
"'export' => false" covers copying, then, of course, this suggestion 
applies to search results from an export-restricted addressbook.)



- If the above enhancements are not feasable, then, at the very least, 
provide a specific error message for these cases, such as: "No objects 
may be exported from this adressbook."




Saved Queries