Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-16548

Make sure configs are frozen in regular Task construction

    Details

    • Templates:

      Description

      I've recently learned that regular Tasks do not freeze their Configs at construction (only CmdLineTasks do).  This should be modified, as modifying configuration after Task construction will lead to serious, hard-to-find logic bugs in at least some Tasks, and hence it's something we should consider an anti-pattern.

      We should also find a good place (or places) to document this.  The Task base class constructor is at least one such place, but I'm not sure it's visible enough.

        Attachments

          Container Issues

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jbosch Jim Bosch
                Watchers:
                Jim Bosch, John Parejko
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Summary Panel