Summary | Registry losing cached interfaces information |
Queue | Horde Framework Packages |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | jan (at) horde (dot) org, slusarz (at) horde (dot) org |
Requester | jan (at) horde (dot) org |
Created | 12/02/2010 (5330 days ago) |
Due | |
Updated | 12/20/2010 (5312 days ago) |
Assigned | 12/17/2010 (5315 days ago) |
Resolved | 12/20/2010 (5312 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
in my browser.
The issue is that when we change languages, we flushed the registry
cache. Previously there was a long-standing bug where we would flush
the cache but we wouldn't rebuild the current registry object. Thus,
things like the application names and other translated items within
the cache weren't updateduntil the next page load. I partially fixed
this, but made the mistake of not correctly marking the api list as
unset. Thus, after clearing the cache, the registry would not rebuild
the api list because it was marked as already built. This has been
fixed.
Bug #9424: Need to unset apis variable - or else it won't be rebuilthttp://git.horde.org/horde-git/-/commit/7fd5d34ce9e01a6ccc027131894b18b3c0a813aa
State ⇒ Feedback
Assigned to Jan Schneider
http://lists.horde.org/archives/commits/2010-December/005893.html
Retracting other statements I made in this ticket - not sure it is an
auth thing because api cache is stored in the same data element as
interfaces cache - if one is set but not the other, something weird is
going on.
Also, we DO need the md5 hash in the session because all cached
elements may not be the same for all users.
Adding Jan as owner because he can reproduce (I can't).
the registry caching code needs to be rewritten anyway - the md5
session storage code doesn't make a lot of sense (I think it was
intended to prevent registry changes from affecting current sessions,
but it doesn't work reliably 100% of the time so it is useless).
Summary ⇒ Registry losing cached interfaces informationIW,
open URL like http://bugs.horde.org/ticket/9424, I always get the
fatal error. Reloading the page works fine.
Hope this helps.
State ⇒ Assigned
Patch ⇒ No
Milestone ⇒
Assigned to Michael Slusarz
Queue ⇒ Horde Framework Packages
Summary ⇒ Registry losing cached interfaces information
Type ⇒ Bug
Priority ⇒ 3. High
conditions loses the $this->_cache['interfaces'] entry, resulting in
"The method "tickets/getQueueDetails" is not defined in the Horde
Registry." fatal errors.
The entry is properly populated, but when using call() of the registry
later, the entry is empty again. the 'api' entry always keeps populated.