On 4/3/17 10:12 AM, Huzaifa Faruqui wrote:
> When I bulk edit tickets and save changes I get 'Update Scheduled' flash on
> the screen. However, changes do not take place. I see that that the
> tasks.bulk_edit() method has been decorated & a new method 'post' has been
> added to it which adds some sort of delay in ticket update. But in my case
> there is infinite delay. I have also ensured that mongod, solr, taskd are
> running in the background. How to resolve this behaviour?
> 

All functions that have the @task decorator get a .post() method added to them,
which has them run in the background on the taskd process.  A bit more info
here: https://forge-allura.apache.org/docs/platform/message_bus.html

The bulk edit for tickets uses this since it can take several seconds or more to
run, when you are updating lots of tickets.

So having taskd running is necessary of course.  What does the taskd log output
say?  It should have at least one line about running the bulk edit task, maybe
more.  You can also go to the /nf/admin/task_manager URL to find the task and
see its status & output (may need to use the ">" arrow to page back further in
time; or use ?minutes=100 etc in the URL, to find the task if it was a while 
ago)


-- 
Dave Brondsema : d...@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
              <><

Reply via email to