Autogen does not refresh unlocalized org tree cache
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Evergreen |
Fix Released
|
Critical
|
Unassigned | ||
| 3.0 |
Fix Released
|
Undecided
|
Unassigned | ||
| 3.1 |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
The org tree is stored in memcached separately for each locale: "orgtree.en-US", "orgtree.en-CA", etc. When the org tree is updated, running autogen deletes all the cached localized orgtree values, forcing them to be refreshed.
However, the orgtree is also stored in memcached in a non-localized form with "orgtree." as the cache key (e.g. when AppUtils-
We should be able to fix this problem by modifying the org_tree_js() function in OpenILS:
(Sitka ran into this issue after adding a new org unit. System-wide non-staff searches began failing with a query error: Can't call method "opac_visible" on an undefined value at /usr/local/
| Changed in evergreen: | |
| importance: | Undecided → Critical |
| milestone: | none → 3.2-rc |
| Changed in evergreen: | |
| assignee: | nobody → Bill Erickson (berick) |
| status: | New → Confirmed |
| Changed in evergreen: | |
| milestone: | 3.2-rc → 3.2.0 |
| status: | Confirmed → Fix Committed |
| assignee: | Bill Erickson (berick) → nobody |
| Changed in evergreen: | |
| status: | Fix Committed → Fix Released |

Here's a branch that does what Jeff suggests: http:// git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ miker/lp- 1786987- remove- no_locale- org-tree- cache