ignoreDupResponce: implemented wrong according to code review -------------------------------------------------------------
Key: RF-10775 URL: https://issues.jboss.org/browse/RF-10775 Project: RichFaces Issue Type: Bug Security Level: Public (Everyone can see) Components: core Affects Versions: 4.0.0.CR1 Reporter: Ilya Shaikovsky Assignee: Nick Belaevski In order to ignore dom updates two conditions should be met: 1) next request to be sent should be "similar" to the current from which the responce came 2) current should have ignoreDupRespoce = true. but according to current code 1) step checked in a wrong way. The *last* event is get instead of the next. Code: isIgnoreResponse: function () { var lastEntry = getLastEntry(); return lastEntry && lastRequestedEntry.isIgnoreDupResponses() && lastRequestedEntry.getRequestGroupId() == lastEntry.getRequestGroupId(); }, var getLastEntry = function () { var lastIdx = items.length - 1; return items[lastIdx]; }; -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ richfaces-issues mailing list richfaces-issues@lists.jboss.org https://lists.jboss.org/mailman/listinfo/richfaces-issues