Forum OpenACS Development: Re: Modifying xowiki page content from a script

Collapse
Posted by Byron Linares on
I think your problem is the cache data of the object (xowiki::page, etc)
Try

ns_cache flush xotcl_object_cache ::item_id
ns_cache flush xotcl_object_cache ::page_id

And change the page status to ready

use content_item__set_live_revision(:page_id,"ready")

Probably this will work

Sorry for my English