MantisBT - ParaView
View Issue Details
0009604ParaViewBugpublic2009-09-27 04:562010-03-09 21:50
Sven Buijssen 
Zhanping Liu 
normalminoralways
closedfixed 
3.6 
3.8 
0009604: Changing Result Array Name in Calculator raises error in depending Calculator
Sources - Box
Filters - Calculator1
Arbitrary operation to create a point data named e.g. "foo"
Filters - Calculator2
Arbitrary operation to create another point data named e.g. "bar"
Select Calculator1, change name to e.g. "foobar".
=> On Apply the output messages window will pop up and display

ERROR: In ..\..\..\src\VTK\Graphics\vtkArrayCalculator.cxx, line 305
vtkArrayCalculator (0952DDF0): Invalid array name: foobar

Checking the Scalars or Vectors (depending on operation in Calculator1) dropdown box in Calculator2 confirms that this list has not been updated automatically.

Verified with ParaView 3.6.1 (local server, XP) and ParaView CVS as of today (local server, Linux 32 bit).
No tags attached.
related to 0010012closed Zhanping Liu Calculator remembering past arrays 
Issue History
2009-09-27 04:56Sven BuijssenNew Issue
2009-10-02 09:26Utkarsh AyachitStatusbacklog => tabled
2009-10-02 09:26Utkarsh AyachitAssigned To => Utkarsh Ayachit
2009-10-02 09:26Utkarsh AyachitTarget Version => 3.8
2009-12-08 10:06Utkarsh AyachitRelationship addedhas duplicate 0010012
2009-12-08 10:07Utkarsh AyachitRelationship deletedhas duplicate 0010012
2009-12-08 10:07Utkarsh AyachitRelationship addedrelated to 0010012
2010-01-11 10:42Utkarsh AyachitAssigned ToUtkarsh Ayachit => Zhanping Liu
2010-03-04 13:02Zhanping LiuNote Added: 0019709
2010-03-04 13:03Zhanping LiuStatustabled => @80@
2010-03-09 21:50Alan ScottNote Added: 0019788
2010-03-09 21:50Alan ScottStatus@80@ => closed
2010-03-09 21:50Alan ScottResolutionopen => fixed

Notes
(0019709)
Zhanping Liu   
2010-03-04 13:02   
This problem was fixed through the addition of new class vtkPVArrayCalculator.h/cxx and changes to some related files (see below). Now the user is able to change the name of an upstream calculator.

===
VTK/Graphics/vtkArrayCalculator.h/cxx
ParaView/Qt/Components/pqCalculatorPanel.h/cxx
ParaView/Servers/Fitlers/CMakeLists.txt
ParaView/Servers/Fitlers/vtkPVArrayCalculator.h/cxx (addition)
ParaView/Servers/ServerManager/Resources/filters.xml
(0019788)
Alan Scott   
2010-03-09 21:50   
Tested local server, XP, trunk.

Not sure what "change name to foobar" means, so I changed the name of the filter AND the result array name. Both work.