Error when trying to remove the last profile

Bug #260661 reported by sander on 2008-08-23
2
Affects Status Importance Assigned to Milestone
Coccinella
Medium
buzzdee

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.frall.page.u.pop .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
"::Profiles::FrameDeleteCmd .jprofiles.frall.page"
    invoked from within
".jprofiles.frall.page.bt.del invoke "
    invoked from within
".jprofiles.frall.page.bt.del instate {pressed !disabled} { .jprofiles.frall.page.bt.del state !pressed; .jprofiles.frall.page.bt.del 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) on 2008-08-23
Changed in coccinella:
assignee: nobody → matsben
importance: Undecided → Medium
buzzdee (sebastia) on 2010-04-11
Changed in coccinella:
milestone: none → 0.96.20
assignee: Mats (matsben) → buzzdee (sebastia)
buzzdee (sebastia) on 2010-05-12
Changed in coccinella:
status: New → Confirmed
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) on 2010-09-30
Changed in coccinella:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers