View Issue Details

IDProjectCategoryView StatusLast Update
0004734Composrcorepublic2021-12-19 21:17
ReporterAdam EdingtonAssigned ToChris Graham 
SeverityMinor-bug 
Status closedResolutionunable to reproduce 
Product Version10.0.39 
Fixed in Version 
Summary0004734: Deleting certain addons leaves remnants
DescriptionIn trying to get a streamlined version of Composr (no accounts, no forums) the removal of certain addons results in error messages about missing files (icons):-
- Awards
- Realtime Rain
- Unvalidated
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Relationships

related to 0004739 resolvedChris Graham Some basic locking for addon management 

Activities

Chris Graham

2021-12-19 18:25

administrator   ~0007201

What should happen is removing the addon should empty the caches, so that things like a cached admin menu block will no longer try and link to modules that no longer exist.

A couple of possible things have been known to break this:

1) A page request happens while the addon is being removed, and happens to regenerate something decached by the addon removal with stale data from before the addon removal is completed. Decache happens at the end of addon removal, but if something else decaches it first, the other request can re-cache it and save it after the addon does its own decaching. i.e. It overlaps in a bad way.
This issue can be easily worked around by manually clearing caches.

2) If somehow an addon removal is not complete (or something manually interferes with what files are on disk), Composr can be in an inconsistent state. This mainly happens if addon hooks exist without all the files (or database tables) relating to the addon.

I can't reproduce the issue right now, so I'm assuming it's one of the above.

Issue History

Date Modified Username Field Change
2021-12-13 12:03 Adam Edington New Issue
2021-12-13 12:05 Adam Edington Category core_abstract_components => core
2021-12-13 12:59 Adam Edington Description Updated View Revisions
2021-12-19 18:25 Chris Graham Note Added: 0007201
2021-12-19 18:26 Chris Graham Assigned To => Chris Graham
2021-12-19 18:26 Chris Graham Status non-assigned => closed
2021-12-19 18:26 Chris Graham Resolution open => unable to reproduce
2021-12-19 21:17 Chris Graham Relationship added related to 0004739