Error when trying to remove the last profile

Bug #260661 reported by sander
Affects Status Importance Assigned to Milestone
Fix Released

Bug Description

I get this error when I try to remove the last profile in the Edit profile dialog:

can't read "name2val()": no such element in array
can't read "name2val()": no such element in array
    while executing
"set menuVar $name2val($nameVar)"
    (procedure "::ui::optionmenu::widget::Snit_methodremove" line 28)
    invoked from within
"::ui::optionmenu::widget::Snit_methodremove ::ui::optionmenu::widget ::ui::optionmenu::widget::Snit_inst20 .jprofiles.fral..."
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
"$state(wpop) remove $profile"
    (procedure "::Profiles::FrameDeleteCmd" line 34)
    invoked from within
    invoked from within
" invoke "
    invoked from within
" instate {pressed !disabled} { state !pressed; invoke } "
    (command bound to event)

When I save the dialog after this error, the profiles are not removed as they all show up again the next time I open the same dialog.

sander (s-devrieze)
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → Medium
buzzdee (sebastia)
Changed in coccinella:
milestone: none → 0.96.20
assignee: Mats (matsben) → buzzdee (sebastia)
buzzdee (sebastia)
Changed in coccinella:
status: New → Confirmed
Revision history for this message
buzzdee (sebastia) wrote :

svn revision #2834 contains a fix for the problem.

After deleting the last entry, the "Contact ID", Password and if there was sth. set as a nickname, they are not cleared.

They stay there as an "example". After saving and reopening the dialog, those fields will be empty.

Changed in coccinella:
status: Confirmed → Fix Committed
sander (s-devrieze)
Changed in coccinella:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.