You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@empire-db.apache.org by "jan (JIRA)" <em...@incubator.apache.org> on 2018/10/30 08:29:00 UTC
[jira] [Created] (EMPIREDB-281) SelectInputControl: Problem with
updating options
jan created EMPIREDB-281:
----------------------------
Summary: SelectInputControl: Problem with updating options
Key: EMPIREDB-281
URL: https://issues.apache.org/jira/browse/EMPIREDB-281
Project: Empire-DB
Issue Type: Bug
Components: JSF2 Extensions
Affects Versions: empire-db-2.4.7
Reporter: jan
When you update the options for a column in a record (e. g. in an ajax call) the option in the SelectInputControl won't be updated, if the value is the same. So the options description is kept forever.
A fix may be to change line 192 to
{code:java}
if (ObjectUtils.compareEqual(ov, oe.getValue()) && ObjectUtils.compareEqual(si.getItemLabel(), oe.getText()))
{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)