Branch: refs/heads/master Home: https://github.com/rhq-project/rhq Commit: 517c86ca9aa7217b2756d550e22823e90df7682d https://github.com/rhq-project/rhq/commit/517c86ca9aa7217b2756d550e22823e90d... Author: Josejulio Martínez jmartine@redhat.com Date: 2016-05-26 (Thu, 26 May 2016)
Changed paths: M modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/DashboardView.java M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/dashboard/DashboardManagerBean.java
Log Message: ----------- Bug 1186300 - java.lang.IllegalArgumentException:Invalid column widths (more widths than columns) [58%, *] error thrown in JBoss ON UI
Property 'width' was duplicated for configuration's dashboards. These duplicated values may yield the error when the incorrect 'width' is selected (I guess that the lower id is selected). I couldn't reproduce this bug on any way and couldn't find any way for it to happen on the code. I propose a "fix when it happens".
When detecting more widths than columns, trim the additional widths and attach fresh Configuration with the same Properties as the current Property (this deletes duplicates in case they exist). On server-side, old configuration is deleted.
Commit: 1d73d1e8a7bbc5ec3c99893f39bcb965e5371e17 https://github.com/rhq-project/rhq/commit/1d73d1e8a7bbc5ec3c99893f39bcb965e5... Author: Michael Burman yak@iki.fi Date: 2016-06-06 (Mon, 06 Jun 2016)
Changed paths: M modules/enterprise/gui/coregui/src/main/java/org/rhq/coregui/client/dashboard/DashboardView.java M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/dashboard/DashboardManagerBean.java
Log Message: ----------- Merge pull request #259 from josejulio/bugs/1186300
Bug 1186300 - java.lang.IllegalArgumentException:Invalid column width…
Compare: https://github.com/rhq-project/rhq/compare/4d67d2ee1b61...1d73d1e8a7bb
rhq-commits@lists.fedorahosted.org