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

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Fri Oct 29 12:45:55 EDT 2010


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

Ramesh Reddy commented on TEIID-1331:
-------------------------------------

The JOPR plugin does indeed marks all the fields "read-only", not editable. On a VDB you can only edit

1) Connection Type
2) Model -> Source -> JNDI Name
3) Data Source -> Mapped Role Name
4) multisource suff

everything else are "read-only". If you are seeing them in JON as writeable, then we have an issue. I agree with your comment about "mapped roles", and it is writeable in the JOPR and Admin API, and I just tested the functionality.

> 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.1
>         Environment: JbossAS 5.1
>            Reporter: Cristiano Nicolai
>            Assignee: Ramesh Reddy
>             Fix For: 7.1.1
>
>         Attachments: TeiidManagement.java
>
>
> 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