[dev] whups: Catchable fatal error, Object of class PEAR_Error could not be converted to string

Volker Then horde40 at volkerthen.com
Tue Apr 22 17:16:09 UTC 2008


Quoting Volker Then <horde40 at volkerthen.com>:

>
> Hi,
>
> we have a problem with a single ticket ID. A specific user cannot
> access the ticket history and he's getting
>
> Catchable fatal error: Object of class PEAR_Error could not be
> converted to string in /usr/share/php/Horde/Text/Filter/emails.php on
> line 130
>
> instead.
>
> All other tickets work fine for any user.
>
> The debug log says:
>
> Apr 22 18:08:20 HORDE [debug] [whups] User simontemplar does not have
> READ permission for imp [pid 6904 on line 812 of
> "/usr/share/php/Horde/Registry.php"]
>
>
> Why should the user have read permissions for IMP, when reading tickets?
>

The problem is, that the ticket content contains html code like this:

<a href="mailto:xxxxx at xxx.xx">xxxxx at xxx.xx</a>

whups is not able to render the email link for a user without imp permissions.


Is this something for bugs.horde.org?

Bye

Volker





More information about the dev mailing list