Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-130

ResourceCreationSpecifier.validate() provides no way to pass datapath information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.1
    • Core Java Framework
    • None

    Description

      The ResourceCreationSpecifier.validate() method does not take a ResourceManager as an argument, so users cannot pass in datapath information. This means that the validate() method cannot necessarily resolve import-by-name. But the validate() method does try to check for valid parameter overrides, which can't be done if the aggregate imports delegates by name. It throws an exception while trying to resolve the import-by-name in this case.

      Either there should be an overridden method validate(ResourceManager), or validate() should not attempt to do anything involving delegates – saving that for doFullValidation(ResourceManager) instead.

      Attachments

        Activity

          People

            alally Adam P. Lally
            alally Adam P. Lally
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: