MantisBT - JANA
View Issue Details
0000468JANABugpublic2015-11-06 14:402015-11-29 15:27
davidl 
davidl 
normalminoralways
resolvedfixed 
0000468: DEFTAG: feature does not work
Simon reported and I confirmed that the DEFTAG: feature in JANA stopped functioning in JANA 0.7.3. This was due to a line being added the JEventLoop::Initialize() that tries to get the AUTOACTIVATE parameter just before getting ll of the DEFTAG: parameters. This is done inside a try-catch block (line 426). If the AUTOACTIVATE parameters is not set, then an exception is thrown and the DEFTAG: call is not made. As a result, one can actually get the DEFTAG: feature to work again if the AUTOACTIVATE parameter is set to something.

The fix is to move each of the GetParameter calls into its own try-catch block so if one fails, the others still get tried.
No tags attached.
Issue History
2015-11-06 14:40davidlNew Issue
2015-11-29 15:27davidlNote Added: 0000655
2015-11-29 15:27davidlStatusnew => resolved
2015-11-29 15:27davidlResolutionopen => fixed
2015-11-29 15:27davidlAssigned To => davidl

Notes
(0000655)
davidl   
2015-11-29 15:27   
Fixed in revision 2373 and will appear in JANA 0.7.4