Bug 1088660

Summary: popup: 'Please select a product to install.'
Product: [openSUSE] openSUSE Distribution Reporter: Steffen Winterfeldt <snwint>
Component: InstallationAssignee: Ladislav Slezák <lslezak>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P3 - Medium CC: lslezak, mloviska, okurz, snwint
Version: Leap 15.0   
Target Milestone: ---   
Hardware: Other   
OS: Other   
URL: https://trello.com/c/q11Jh63y
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: yast logs

Description Steffen Winterfeldt 2018-04-09 11:20:31 UTC
Leap 15.0 Build191.1 and Tumbleweed 20180406:

When you select two times 'next' from the initial screen (license & lang) - that is, have accept the 'kde' role. And then go back two times to be back at the license screen (say, to choose a different language) you'll get a 'Please select
a product popup' when you hit 'next'. - You can't continue the install.
Comment 1 Steffen Winterfeldt 2018-04-09 11:22:52 UTC
Ladislav, any idea?
Comment 2 Ladislav Slezák 2018-04-10 07:50:42 UTC
Please attach the YaST logs, it's hard to guess what happened.

And did you enable the online repositories? Or just used the DVD?

A wild guess is that an additional (different) product is available via the online repos. But if you used only the DVD then I have no idea...
Comment 3 Steffen Winterfeldt 2018-04-10 08:02:17 UTC
Only the DVD. As said, just hit two times (one is not enough) 'next', then go back.
Comment 4 Steffen Winterfeldt 2018-04-10 08:19:24 UTC
Created attachment 766537 [details]
yast logs

Here are the logs.
Comment 5 Ladislav Slezák 2018-05-03 07:32:01 UTC
OK, it turned out that the desktop selection resets everything, including the selected product.

https://github.com/yast/yast-installation/blob/cc898b79207b0d225319b8cdeb670212d452c117/src/lib/installation/widgets/system_roles_radio_buttons.rb#L55

  Yast::Packages.Reset([])

should be changed to

  Yast::Packages.Reset([:product])

to keep the selected product.
Comment 6 Ladislav Slezák 2018-05-03 10:02:29 UTC
*** Bug 1091402 has been marked as a duplicate of this bug. ***
Comment 7 Ladislav Slezák 2018-05-03 12:16:53 UTC
Fixed in yast2-installation-4.0.56 (https://github.com/yast/yast-installation/pull/695)