Hi Fago,

Just to say this ahead of time - I may have an older version of workflow that you helped me configure a few months ago. I haven't upgraded because I'm not sure if the changes you made are also in the most updated 5.x-2.1 module or not (comitted yesterday), or which version I should update to? With that caveat, here's my issue:

I just migrated a site from development to a new production space. I've also changed a few things since (so I can't be sure if modules I added or the migration itself could be the culprit).

Anyway, now I see two rule configurations that are empty - I looked at the rule numbers (when hovering over the edit link on the configurations page) and they correspond to rules I had on the development site. So looks as if these have just wiped out? The other strange thing about this is that even though the rule is empty ('Label', 'Event', and 'Module' info is blank) it shows the status is 'Default' – this is strange because the same rule number on the development site is a custom configuration.

I'm also getting the following error (x2 – I assumed because there are two empty configs, but again, I can't be sure):

* warning: preg_match() expects parameter 2 to be string, array given in /home/saving/public_html/dev/includes/bootstrap.inc on line 670.
* warning: preg_match() expects parameter 2 to be string, array given in /home/saving/public_html/dev/includes/bootstrap.inc on line 670.

I can't delete these, nor can I seem to do anything else about it. Do you have any advice? Do you think I should try to export the rule configurations from my development site, and import them into the production site? If so, do i need to do anything with the database first to clear the existing rule configs? Am I getting ahead of myself?

Thanks in advance for your advice!

:)
Scott

Comments

fago’s picture

just delete them from the workflow_ng_cfgs table.

scottrigby’s picture

Status: Active » Fixed

Ok, I can do that :)
marking issue as fixed (I'll re-open if I run into problems)
Thanks! Scott

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.