Ticket #1787 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Add Deprecation Mechanism for algorithms

Reported by: Nick Draper Owned by: Peter Peterson
Priority: major Milestone: Iteration 28
Component: Mantid Keywords:
Cc: campbellsi@… Blocked By:
Blocking: #2180 Tester: Michael Whitty

Description

Add a method of the Algorithm base class

Void Deprecate (std::string newAlgorithm)

It should log a message at warning level that this algorithm is depreacted and all usage should be changed to newAlgorithm.

Usage Add the Deprecate command as the first line in Exec.

Change History

comment:1 Changed 10 years ago by Peter Peterson

  • Milestone changed from Iteration 26 to Iteration 27

comment:2 Changed 10 years ago by Stuart Campbell

  • Blocking 2180 added

comment:3 Changed 10 years ago by Nick Draper

  • Milestone changed from Iteration 27 to Iteration 28

Bulk move of tickets at the end of iteration 27

comment:4 Changed 10 years ago by Peter Peterson

  • Status changed from new to accepted

comment:5 Changed 10 years ago by Peter Peterson

(In [9727]) Adding class for deprecating algorithms. Refs #1787.

comment:6 Changed 10 years ago by Peter Peterson

(In [9728]) Adding error printing if algorithm executed is a deprecated one. Refs #1787.

comment:7 Changed 10 years ago by Peter Peterson

  • Status changed from accepted to verify
  • Resolution set to fixed

(In [9778]) Verifying that the string is ISO8601. Fixes #1787.

comment:8 Changed 9 years ago by Michael Whitty

  • Status changed from verify to verifying
  • Tester set to Michael Whitty

comment:9 Changed 9 years ago by Michael Whitty

  • Status changed from verifying to closed

tested in 11085

comment:10 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2634

Note: See TracTickets for help on using tickets.