plomino / Plomino

Powerful and flexible web-based application builder
33 stars 37 forks source link

Importing design fails when async is available and not refreshing DB. #124

Open jean opened 12 years ago

jean commented 12 years ago

Plomino assumes database refresh when importing, if zc.async is available.

2012-07-11 06:29:08 ERROR Zope.SiteErrorLog 1341977348.850.0836674099376 http://plomino/importDesign
Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module Products.CMFPlomino.PlominoDesignManager, line 446, in importDesign
  Module Products.CMFPlomino.PlominoDesignManager, line 868, in importDesignFromXML
  Module Products.CMFPlomino.PlominoDatabase, line 303, in setStatus
  Module zc.async.threadlocal, line 77, in setLiveAnnotation
ValueError: not initialized

There may also be an issue if zc.async is available but no worker instance has been started.

jean commented 12 years ago

Provisionally fixed by Eric in 9464d4e226a440f2a4becea8fa55806500d765df (see TODO).

djay commented 8 years ago

@ebrehault it's looking like this is still an issue for us.