Uploaded image for project: 'Repository'
  1. Repository
  2. REPOSITORY-402

Missing a ModelAwareDataHolder#getValue method with a default value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 4.2.0
    • 4.2.0
    • None
    • None
    • 4.2 M9

      Before data model refactoring we can call for example zoneItem.getServiceParameters().getString(paramName, defaultValue)

      With a new API of ModelAwareDataHolder we do not have the equivalent anymore.

      Futhermore, the former API throws a UnknowMetadataException when the data does not exist. The new API returns null.
      And the javadoc says nothing about this !!
       

            raphael Raphaël Franchet
            laurence Laurence Aumeunier
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: