[Tickets #5455] Obscure error messages for violation of export restriction
bugs at bugs.horde.org
bugs at bugs.horde.org
Wed Jun 13 10:53:19 UTC 2007
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=5455
-----------------------------------------------------------------------
Ticket | 5455
Created By | Otto.Stolz at uni-konstanz.de
Summary | Obscure error messages for violation of export restriction
Queue | Turba
Version | 2.1.3
Type | Enhancement
State | New
Priority | 2. Medium
Owners |
-----------------------------------------------------------------------
Otto.Stolz at uni-konstanz.de (2007-06-13 03:53) wrote:
$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."
More information about the bugs
mailing list