XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • 1.0
    • 1.0
    • servlet
    • None

      It is possible that a url search string for an opendof interface would return not found, when it actually exists.

      The addition (publish) of an interface to the repository will use DOFInterfaceID.toStandardString for the database key. Its possible for a url to mismatch this based on both the registry number and the hex id being 0 padded or not.

      DOFInterfaceID.toStandardString always strips 0 pads on the registry portion and adds 0 padding on the hex id portion.

      DOFInterfaceID.create(String standardForm) accepts either.

      To fix, in the dofUriToStandardForm method of the HttpCommandParser class, change the return iid string value to first instantiate a DOFInterfaceID and then return it's toStandString output.

            Adams Chad
            Adams Chad
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: