Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2242

Remove DaffodilTunables object from DPathCompileInfo and RuntimeData objects.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.4.0
    • 2.5.0
    • Back End, Front End
    • None

    Description

      Currently the tunables are stored on the DPathCompileInfo objects, which are runtime objects created by the schema compiler.

      This is a mistake. Many tunables mostly can vary at runtime. If at runtime one gets tunables from the RuntimeData by mistake, one will not get the new values.

      The ones that are needed at schema compile time (e.g., unqualifiedPathStepPolicy) should be passed and saved separately in the DPathCompileInfo objects and RuntimeData objects that need it.

      It is possible that DaffodilTunables should not be serializable to prevent this problem.

      Attachments

        Activity

          People

            mbeckerle Mike Beckerle
            mbeckerle Mike Beckerle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: