[Tickets #14326] Re: Custom attributes values are not shown if type is string
noreply at bugs.horde.org
noreply at bugs.horde.org
Sun Apr 10 11:57:21 UTC 2016
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE
E-MAIL-ADRESSE WERDEN NICHT GELESEN.
Ticket-URL: https://bugs.horde.org/ticket/14326
------------------------------------------------------------------------------
Ticket | 14326
Aktualisiert Von | heinz at htl-steyr.ac.at
Zusammenfassung | Custom attributes values are not shown if type is string
Warteschlange | Whups
Version | 3.0.7
Typ | Bug
Status | Unconfirmed
Priorität | 2. Medium
Milestone |
Patch |
Zuständige |
------------------------------------------------------------------------------
heinz at htl-steyr.ac.at (2016-04-10 11:39) hat geschrieben:
After upgrading whups to 3.0.7 custom attribute values are blank in
ticket history if they are of type string.
In my existing sql storage the attribute values (in table
whups_attributes) are stored as string (not json encoded)
Prior upgrading the values were retrived and tried to decode by
Horde_Serialize::unserialize
Horde_Serialize::unserialize returned the provided string in case of a
not JSON-coded argument.
After upgrade json_decode (with JSON_BIGINT_AS_STRING option) is used
in case of a string.
json_decode is returning NULL if the argument isn't JSON-coded
and so custom string attributes are not shown.
I think, it's a side effect of ticket 14146
More information about the bugs
mailing list