commit | 6d09500b8e61b6b410e6e112e3e662bc10d0b1a4 | [log] [tgz] |
---|---|---|
author | Claudio Guglielmo <claudio.guglielmo@bsiag.com> | Mon Sep 05 13:18:25 2016 +0200 |
committer | Claudio Guglielmo <claudio.guglielmo@bsiag.com> | Tue Sep 06 09:55:37 2016 +0200 |
tree | 520ba05462cd90b9cdd8987104e3fb116496cbb9 | |
parent | 569b2bf64f4f6817845f693801bded1fa01d4e0a [diff] |
Table: Fix rowOrderChanged exception rowOrderChanged event contains null entries -> the array of rowIds is bigger than excepted -> JS throws exception "Row order may not be updated because lengths of the arrays differ." Reason: The null entries come from filtered rows which don't have a row id. Due to the flag ignoreAccepted, isRowAccepted is not executed which is wrong for this case. Another issue: If the filter is added and removed in the same request, the delete event will be generated anyway even though the filter has already been removed. Solution: The flag ignoreAccepted feels like a hack and and may not work in every situation. To remove the hack and solve the issues, following steps are taken: 1. Don't convert the filter_changed at the time of occurrence, convert it before sending the response to the client. This solves the issue with the add and remove filter in the same request. 2. Move the delete event to the beginning. This makes the flag ignoreAccepted unnecessary. 3. Move the cleanup of events before an insert event from table event buffer to json table. This cleanup is only necessary for the filter conversion because row events may normally only be fired after the row has been inserted -> Does not solve a new issue, just solves it in another way (see JsonTableTest.testRemoveRowFilterAfterUpdates) 177932 178211
[Eclipse Scout] 1 is a mature and open framework for modern, service oriented business applications. It substantially boosts developer productivity and is simple to learn.
This Repository Eclipse Scout RT contains the source for the runtime components embedded in the applications build on top of the Eclipse Scout Framework.
The content of this repository is build on the Eclipse infrastructure and the different versions are available on several [P2 Update Sites] 2.
The easiest way to start with Eclipse Scout is to download Eclipse for Scout Developers Eclipse for Scout Developers on the [Eclipse downloads page] 3.
We welcome any kind of contributions (Bug report, documentation, code contribution...). Please read the [Eclipse Scout Contribution page] 7 to know more about it.
The contribution process of Eclipse Scout is hosted on tools deployed by the Eclipse Foundation (involing [Bugzilla] 6, Gerrit, Hudson, MediaWiki...).
External tools like the GitHub tracker and pull requests are not supported.
To get in touch with the Eclipse Scout community, please open a thread in the [Eclipse Scout Forum] 5 or send a mail to [our mailing list] 8: scout-dev@eclipse.org
[Eclipse Public License (EPL) v1.0] 9