[Tickets #8846] db_migrate filtered apps

bugs at horde.org bugs at horde.org
Mon Feb 1 15:55:42 UTC 2010


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8846
------------------------------------------------------------------------------
  Ticket             | 8846
  Created By         | rsalmon at mbpgroup.com
  Summary            | db_migrate filtered apps
  Queue              | Horde Base
  Version            | Git master
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


rsalmon at mbpgroup.com (2010-02-01 10:55) wrote:

db_migrate can't update all installed apps, eg 'content'.

the default filter $GLOBALS['registry']->listApps() is set to (  
'notoolbar', 'active').

Quick fix :
- if (!in_array($app, $GLOBALS['registry']->listApps(array()))) {
+ if (!in_array($app, $GLOBALS['registry']->listApps(array('inactive',  
'hidden', 'notoolbar', 'heading', 'block', 'admin', 'active')))) {

I don't know if you want to run db_migrate on apps with status = 'inactive'.







More information about the bugs mailing list