Trigger not firing when importing assets via xml


(Alderman) #1

Squiz 5.0.2.0

 

Hi.

 

We are exporting profiles from our current cms and batching them up to import in bulk into Squiz.  This all works perfectly.  However, a trigger that fires when one of these data records is created manually (it links them as type 2 into another folder) seems to be bypassed when the import is run.  The data type is correct, the trigger isn't looking for a particular status (e.g. live) and the trigger is set to fire on creation in particular places (one of which is where the import is creating its data records).

 

Any ideas - would the creation of assets via xml import not fire a trigger for some reason?

 

The trigger has ignore permissions set for everything (as only us back end admins can load the xml).

 

Thanks.

 

Jeff.


(Nic Hubbard) #2

As a work around, you could use the Batch option in the Trigger Manager to run that trigger over all those assets.


(Alderman) #3

Thanks Nic - that would be a life saver.  I shall try it this morning.


(Alderman) #4

That worked well - much easier than messing with the import actions.