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=38450>. 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=38450 Summary: problems with create and edit in less than a second Product: Lenya Version: 1.2.5 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Miscellaneous AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] if you create a document it gets its lastmodified entry. now if you call for editing in the same second as it was created the last modified entry won't get updated because the lastmodified entry just uses seconds and not milliseconds. so for the cache the the fresh created document is still the one with the newest lastmodified entry so the cache won't look for some changes and delivers the outdated document. a possible way to get around this would be to add Packages.java.lang.Thread.currentThread().sleep(1000); in the editDocument function of edit-document.js. does anyone have a better idea? cache | new | | still | | still | | doc 000 |--¬ | doc 000 | | doc 000 | ---------------------------------------------------------------------- timeline 000 | 010 | | | 020 | | 030 | ---------------------------------------------------------------------- action create new doc | request for edit save doc | | | | ------------------------ | V request some time 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]
