#97: Clarify/Fix "global" environment of response elements wrt 'act'/'action'
variables
-----------------------+----------------------------------------------------
 Reporter:  jcaffaro   |       Owner:  skaplun
     Type:  defect     |      Status:  new    
 Priority:  major      |   Milestone:  v1.0   
Component:  WebSubmit  |     Version:  v0.99.1
 Keywords:             |  
-----------------------+----------------------------------------------------
 The default global environment provided to WebSubmit Response elements
 includes variables "act" and "action".

 Both might be the same (see below), but "action" is initialized with an
 undefined variable (websubmit_engine.interface(..) l.439).
 (The reason for the code to not crash is that the given variable is not
 really undefined, but corresponds to a function with the same name defined
 in the same file. I doubt this is wanted... Else it should better be
 documented next to the creation of the global environment...)

 Also probably that only one of 'act' or 'action' variables is necessary
 (one of them might have been mistakenly copied from the global environment
 provided to WebSubmit functions), unless both are here for backward-
 compatibilty.

-- 
Ticket URL: <http://cdswaredev.cern.ch/invenio/ticket/97>
Invenio <http://invenio-software.org>

Reply via email to