Forums / Developer / Node's Url alias creation error / Comment68364
Marko Žmak
Tuesday 31 May 2011 1:55:32 am
Maybe using something like this:
$operationResult = eZOperationHandler::execute( 'content', 'publish', array( 'object_id' => $object->attribute( 'id' ), 'version' => $version->attribute( 'version' ) ) );
in the import script would do the trick?
I used it in many import scripts and never had problems with url aliases.
P.S. For faster imports look at the discussion in this forum thread:
-- Nothing is impossible. Not if you can imagine it! Hubert Farnsworth