DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=42496>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=42496 ------- Additional Comments From [EMAIL PROTECTED] 2007-05-24 08:22 ------- (In reply to comment #18) > (In reply to comment #17) > > You mean you'd combine a queue (asynchronous) with request-based user > > interaction (synchronous)? I'm not quite sure how this should be > > implemented in > > a reasonable way - would you add a loop to the usecase which waits for the > > queued task to be executed? > > The "flow" would be: > a) user requests ...?lenya.usecase=sitemanagement.create and submits > b) doCheckExecutionConditions() checks whether the url is in the cue, if not > it > locks it in the cue and we hit doExecute() (-> go on with c)). If in the cue > addErrorMessage("path-already-exists", params); > c) Instead doing setDefaultTargetURL(document.getCanonicalWebappURL()); like > right now we can send him to an ajax based cue overview (which gets updated in > real time from the cue worker). In combination (or alternatively) we can use a > checkbox to request a notification from the worker as soon he has done the document. OK, I see what you mean. > The cue must be serializable and further keep state of the operation (log > error/success). After a cue item is finished we write to the sitetree. That would mean we'd have to implement a full featured command pattern and a persistent queue, which is serious business. Certainly nothing for 1.4, I'd even say we should postpone it to 1.5 or later. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
