Project

General

Profile

Actions

Bug #6681

closed

unnecessary warnings when removing parameters

Added by Daniel Crawl over 9 years ago. Updated over 9 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.


Files

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

Updated by Christopher Brooks over 9 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.

Actions #2

Updated by Daniel Crawl over 9 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.

Actions

Also available in: Atom PDF