
|
If you were logged in you would be able to see more operations.
|
|
|
RHQ Project
Created: 21/May/08 04:53 PM
Updated: 02/Oct/08 10:38 AM
|
|
| Component/s: |
None
|
| Affects Version/s: |
1.0
|
| Fix Version/s: |
1.1
|
|
|
Issue Links:
|
Duplicate
|
|
|
|
This issue Is Duplicated By:
|
|
RHQ-430
metadata updates don't update/save enumerated optoins for config def properties...causing ArrayIndexOutOfBoundsExcpetion
|
|
|
|
|
Incorporate
|
|
|
|
This issue Is Incorporated By:
|
|
|
RHQ-511 Plugin Metadata Update (Tracking Issue)
|
|
|
|
|
|
|
| Resolution Date: |
16/Sep/08 01:31 AM
|
| Date of First Response: |
04/Jun/08 03:28 AM
|
| VCS Revision: |
1,473
|
|
In some cases, updating certain metadata is causing one of the different persistent lists we have to get updated wrong so that the indexes in the database are wrong. I use the following SQL to find where any of our list index fields are screwed up.
select id, 'RHQ_CONFIG_PROP_GRP_DEF' from RHQ_CONFIG_PROP_GRP_DEF where ORDER_INDEX < 0
union all
select id, 'RHQ_CONFIG_PROP_DEF' from RHQ_CONFIG_PROP_DEF where ORDER_INDEX < 0
union all
select id, 'RHQ_CONF_PROP_DEF_ENUM' from RHQ_CONF_PROP_DEF_ENUM where ORDER_INDEX < 0
union all
select id, 'RHQ_CONFIG_PROP_CONSTR' from RHQ_CONFIG_PROP_CONSTR where ORDER_INDEX < 0
union all
select id, 'RHQ_CONFIG_PROPERTY' from RHQ_CONFIG_PROPERTY where LIST_INDEX < 0
|
|
Description
|
In some cases, updating certain metadata is causing one of the different persistent lists we have to get updated wrong so that the indexes in the database are wrong. I use the following SQL to find where any of our list index fields are screwed up.
select id, 'RHQ_CONFIG_PROP_GRP_DEF' from RHQ_CONFIG_PROP_GRP_DEF where ORDER_INDEX < 0
union all
select id, 'RHQ_CONFIG_PROP_DEF' from RHQ_CONFIG_PROP_DEF where ORDER_INDEX < 0
union all
select id, 'RHQ_CONF_PROP_DEF_ENUM' from RHQ_CONF_PROP_DEF_ENUM where ORDER_INDEX < 0
union all
select id, 'RHQ_CONFIG_PROP_CONSTR' from RHQ_CONFIG_PROP_CONSTR where ORDER_INDEX < 0
union all
select id, 'RHQ_CONFIG_PROPERTY' from RHQ_CONFIG_PROPERTY where LIST_INDEX < 0
|
Show » |
|
can you please tell, when / where that happens ?
Heiko