[
https://jira.jboss.org/browse/TEIID-1331?page=com.atlassian.jira.plugin.s...
]
Ramesh Reddy resolved TEIID-1331.
---------------------------------
Resolution: Rejected
Per Ted, the JON and JOPR consoles behave the same way. If one is coding directly against
the Profile Service, the same may not be true as per the editability of it. So, the
enforcement is on the GUI side, not in the Server side.
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.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira