[teiid-issues] [JBoss JIRA] Commented: (TEIID-1331) VDBMetaDataInstanceClassFactory is using old value

Cristiano Nicolai (JIRA) jira-events at lists.jboss.org
Wed Oct 27 19:36:54 EDT 2010


    [ https://jira.jboss.org/browse/TEIID-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12559828#action_12559828 ] 

Cristiano Nicolai commented on TEIID-1331:
------------------------------------------

This problem was evident when I was trying to use the JOPR Plugin with JON/RHQ but I made some tests and the proposed solution worked fine in both scenario: Embedded JOPR and JON/RHQ Agent.

> VDBMetaDataInstanceClassFactory is using old value
> --------------------------------------------------
>
>                 Key: TEIID-1331
>                 URL: https://jira.jboss.org/browse/TEIID-1331
>             Project: Teiid
>          Issue Type: Bug
>          Components: Jopr Plugin
>    Affects Versions: 7.2
>         Environment: JbossAS 5.1
>            Reporter: Cristiano Nicolai
>            Assignee: Steven Hawkins
>
> When updating ManagementComponent values via ProfileService, VDBMetaDataInstanceClassFactory class is using ManagedProperty.getValue to retrieve the updated value instead of MetaValue value received parameter. The value returned by ManagedProperty.getValue is the actual one, not the new value that was submitted.
> Basically should use:
> MetaValueFactory.getInstance().unwrap(value);
> Instead of:
> MetaValueFactory.getInstance().unwrap(property.getValue());
> In all properties manipulated by the setValue method.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the teiid-issues mailing list