Uploaded image for project: 'Metadata Aggregator'
  1. Metadata Aggregator
  2. MDA-197

XMLSignatureSigningStage initialises Santuario library incorrectly

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.2
    • Fix Version/s: 0.10.0
    • Component/s: DOM Metadata
    • Labels:
      None

      Description

      The doInitialize method of this stage includes:

      if (!Init.isInitialized()) {
          Init.isInitialized();
      }
      

      This is clearly a mistake as presumably the second call is supposed to perform initialization but in fact just asks whether it is done a second time.

      We should figure out what the right protocol for initializing Santuario is, and make sure that it is done properly (if it needs to be done at all; in practice, this seems to work just fine).

        Attachments

          Activity

            People

            Assignee:
            ian@iay.org.uk Ian Young
            Reporter:
            ian@iay.org.uk Ian Young
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour, 8 minutes
                1h 8m