Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1331

VDBMetaDataInstanceClassFactory is using old value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • 7.1.1
    • 7.1
    • Legacy Jopr Plugin
    • None
    • Hide

      I wrote a simple Java class that lookups the ProfileService and tried to change the anyAuthenticated value from a Data Role in one VDB.

      Show
      I wrote a simple Java class that lookups the ProfileService and tried to change the anyAuthenticated value from a Data Role in one VDB.

    Description

      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.

      Attachments

        Activity

          People

            rhn-engineering-rareddy Ramesh Reddy
            cnicolai@redhat.com Cristiano Nicolai
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: