Hi all,

Seems like I found the reason why "touch sitemap" crashes all current flows. Sitemap reloading causes current sitemap to be released, together with flow Interpreter instance, and new sitemap looks up new instance of flow Interpreter. Because Interpreters are SingleThreaded, new instance is created. And after this change [1], each new instance has unique ID which causes scopes of all currently running flows to get lost:

  +    // The instance counters, used to produce unique IDs
  +    private static int instanceCounter = 0;
  +
  +    // The instance ID of this interpreter, used to identify user scopes
  +    private String instanceID;

Previously scopes where associated with sitemap path (which should be really sitemap path plus file name). Any insight on how to restore lost functionality? Any way to find out full sitemap URI?

Vadim

[1] http://marc.theaimsgroup.com/?l=xml-cocoon-cvs&m=108917975901961



Reply via email to