[ http://jira.magnolia-cms.com/browse/MGNLRES-28?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christian Ringele updated MGNLRES-28: ------------------------------------- Assignee: Ondřej Chytil (was: Teresa Miyar) > Counts for all modules: getRepository() in module class should be static for > use in update tasks. > ------------------------------------------------------------------------------------------------- > > Key: MGNLRES-28 > URL: http://jira.magnolia-cms.com/browse/MGNLRES-28 > Project: Magnolia Resources Module > Issue Type: Improvement > Affects Versions: 1.3.1 > Reporter: Christian Ringele > Assignee: Ondřej Chytil > Priority: Minor > > On state of update, the module classes are not instantiated yet. > So ModuleClass.getInstance().getRepository() can't be called. > Should be possible to use the repo name dynamically in the update tasks too, > and not hard coded: > ModuleClass.getRepository() > This counts for many modules, which provide the name of their repository. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.magnolia-cms.com/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <dev-list-unsubscr...@magnolia-cms.com> ----------------------------------------------------------------