Bug 302042

Summary: cannot change single item in a table
Product: [openSUSE] openSUSE 10.3 Reporter: Ladislav Slezák <lslezak>
Component: YaST2Assignee: Martin Vidner <mvidner>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Blocker    
Priority: P5 - None    
Version: Beta 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: grep output

Description Ladislav Slezák 2007-08-21 07:50:04 UTC
UI::ChangeWidget(`id(`table), `Item(current,col), new) doesn't work, the table still shows the old value.

It happens in Qt and also in ncurses UI.

Use core/libyui/doc/examples/Table5.ycp as the testcase.

(Tested with the current SVN code.)
Comment 1 Martin Vidner 2007-08-21 11:06:42 UTC
OK. Does it break the installation?
Comment 2 Ladislav Slezák 2007-08-21 11:25:49 UTC
I don't know, I found it in inst_source. AFAIK table widget is used in the partitioner and in add-on registration, maybe somewhere else... But I'm not sure whether they use this ChangeWidget call.
Comment 3 Stanislav Visnovsky 2007-08-21 11:57:59 UTC
This is bad:

- core examples
- s390
- idedma
- restore
- firstboot
- sound
- squid
- users
- slideshow
- add-on-creator
- runlevel
- backup
- ldap-client
- storage (raid only)
- product-creator
- cd-creator
- http-server
- repair
- profile-manager
- bluetooth
Comment 4 Stanislav Visnovsky 2007-08-21 11:59:06 UTC
Created attachment 158699 [details]
grep output
Comment 5 Ladislav Slezák 2007-08-21 13:45:45 UTC
*** Bug 301030 has been marked as a duplicate of this bug. ***
Comment 6 Martin Vidner 2007-08-21 14:43:22 UTC
This has the same cause as bug 299826. I did not realize that Coolo's quick fix was subtly wrong.
Fixed in yast2-core-2.15.9 and submitted.

It would be nice if we could include it in Beta 2. (There are no ABI changes so it will not need a rebuild of the dependent packages, but I know that it is risky.)