[MAGNOLIA-391] observation-based reloading of data (templates, paragraphs, subscribers) Created: 15/May/05  Updated: 26/Jul/05  Resolved: 26/Jul/05

Status: Closed
Project: Magnolia
Component/s: core
Affects Version/s: 2.1 Final
Fix Version/s: 2.1 Final

Type: Task Priority: Major
Reporter: Fabrizio Giustina Assignee: Fabrizio Giustina
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Date of First Response:

 Description   

Hacks for automating reloading in info.magnolia.module.admininterface.AdminTreeMVCHandler should be totally removed ASAP and replaced with jcr event listeners.

I committed a fix for reloading of paragraph and templates, please take a look at info.magnolia.module.templating.Engine on how to add listeners when needed (still missing: dialogs, mime mapping, URIs, modules...)



 Comments   
Comment by Fabrizio Giustina [ 15/Jun/05 ]

This is mostly done, I am assigning the issue to myself and moving to 2.1 final. I will complete it in the next days.

Comment by Fabrizio Giustina [ 07/Jul/05 ]

checklist:

  • subscribers DONE
  • templates DONE
  • paragraph DONE
  • dialogs NOT CACHED
  • dialog handlers
  • controls
  • treehandlers
  • cache DONE
  • server DONE
  • secureURI DONE
  • virtualURI
  • listeners
  • mime mapping
  • module loader
Comment by Fabrizio Giustina [ 22/Jul/05 ]

updated checklist:

OK:
subscribers
templates
paragraph
dialogs
cache
server
secureURI
listeners
mime mapping

NOT RELOADED:
dialog handlers
controls
treehandlers
virtualURI
module loader

Comment by Fabrizio Giustina [ 22/Jul/05 ]

some more:

OK:
subscribers
templates
paragraph
dialogs
cache
server
secureURI
listeners
mime mapping
treehandlers
dialogs
dialogpages

NOT RELOADED:
admininterface/menu
admininterface/controls
admininterface/VirtualURIMapping
server/i18n
module loader

Comment by Fabrizio Giustina [ 22/Jul/05 ]

admininterface/menu is not cached

last todo list:

  • admininterface/controls
  • admininterface/VirtualURIMapping
  • server/i18n
  • module loader
Comment by Fabrizio Giustina [ 22/Jul/05 ]

admininterface/controls and server/i18n done

remaining tasks:

  • admininterface/VirtualURIMapping
  • module loader
Comment by Fabrizio Giustina [ 22/Jul/05 ]

module and VirtualURIMapping can't be easily be flushed/reloaded withthe current design.
Virtual uris can be added by different modules in the same Map, so there is now way to clear and reload confguration for a single module without removing other module's confguration.

I will close this issue and add a new specific issue to be considered after the 2.1 final release. Also all the reloadable caches need a good cleanup in order to make things more "standard", maybe defining a strict lifecycle with init(), registerHandler(), load(), reload().

Comment by Boris Kraft [ 26/Jul/05 ]

reassigned to RC3

Generated at Mon Feb 12 03:16:58 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.