close Warning: Can't synchronize with repository "(default)" (/var/svn/mms does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 14 years ago

Last modified 14 years ago

#403 closed defect

Error al eliminar variables de un dataset — at Version 3

Reported by: Ignacio Vecino Owned by: lramirez
Priority: major Milestone: GUI 0.6
Component: GUI Keywords: MMS Interface
Cc:

Description (last modified by Pedro Gea)

Me da un error al eliminar una variable de un datasheet a través de la interfaz de MMS. El error se produce al eliminarla a través de la función del botón derecho como a través del botón superior de eliminar.

El error es el siguiente:

wrong # args: should be "::MDVGui::onDeleteVariable when objSelection"
wrong # args: should be "::MDVGui::onDeleteVariable when objSelection"
    while executing
"::MDVGui::onDeleteVariable After"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 ::MDVGui::onDeleteVariable After"
    ("eval" body line 1)
    invoked from within
"eval uplevel \#0 $script $when "
    (procedure "invokeObservers" line 6)
    invoked from within
"invokeObservers $name "After""
    (procedure "::MenuManager::invokeCommand" line 23)
    invoked from within
"::MenuManager::invokeCommand MMS.Variable_Delete B47E224:0:3E8C960:0:3DAE508:0:2:4:5 0"
    (menu invoke)

Change History (4)

Changed 14 years ago by Ignacio Vecino

Attachment: eliminatevariable.log added

comment:1 Changed 14 years ago by livanr68

Component: GeneralGUI
Milestone: GUI 0.6
Owner: changed from Pedro Gea to lramirez
Status: newaccepted
version: 0.6

comment:2 Changed 14 years ago by livanr68

(In [2026]) refs #403
El error se produce al invocar el evento de menú para refrescar las listas una vez eliminada la variable, esto funcionaba bien con la GuiTools 2.7, al parecer el error se ha introducido con algún cambio del paquete actual, de momento comentamos la llamada al evento para que no salte este incómodo error aunque haya que refrescar manualmente las listas.
En breve resolveremos el problema.

comment:3 Changed 14 years ago by Pedro Gea

Description: modified (diff)
Summary: Error al eliminar variables de un datasheetError al eliminar variables de un dataset
Note: See TracTickets for help on using tickets.