Project

General

Profile

Bug #6681

unnecessary warnings when removing parameters

Added by Daniel Crawl almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
03/02/2015
Due date:
% Done:

100%

Estimated time:
Spent time:
Bugzilla-Id:

Description

When a parameter is removed that is referenced by something else, a warning is displayed to the user (in Variable.setContainer()). However, there are situations where the reference should be ignored. For example, the Kepler provenance recorder has a reference to all the parameters in the workflow. Another example is PtolemyQuery in attachParameter().

Attached is a patch to avoid these unnecessary warnings.

listener-patch.txt (3.88 KB) listener-patch.txt Daniel Crawl, 03/02/2015 02:01 PM

History

#1 Updated by Christopher Brooks almost 4 years ago

  • % Done changed from 0 to 90

The patch to make warnings about deleting variables more selective seems reasonable to me, so I patched the ptII tree with r71667.

Please feel free to close this.

#2 Updated by Daniel Crawl almost 4 years ago

  • Status changed from New to Resolved
  • % Done changed from 90 to 100

Thanks for applying the patch, Christopher.

I updated ProvenanceRecorder to use the new API to prevent unnecessary warnings in r33267.

Also available in: Atom PDF