Error when trying to remove the last profile
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Coccinella |
Fix Released
|
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(
(procedure "::ui::
invoked from within
"::ui::
("uplevel" body line 1)
invoked from within
"uplevel 1 $command $args"
invoked from within
"$state(wpop) remove $profile"
(procedure "::Profiles:
invoked from within
"::Profiles:
invoked from within
".jprofiles.
invoked from within
".jprofiles.
(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.
Changed in coccinella: | |
assignee: | nobody → matsben |
importance: | Undecided → Medium |
Changed in coccinella: | |
milestone: | none → 0.96.20 |
assignee: | Mats (matsben) → buzzdee (sebastia) |
Changed in coccinella: | |
status: | New → Confirmed |
Changed in coccinella: | |
status: | Fix Committed → Fix Released |
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.