[Bug 280145] New: Updating from 'Unknown product' to 'Unknown product' in FACTORY Update module
https://bugzilla.novell.com/show_bug.cgi?id=280145 Summary: Updating from 'Unknown product' to 'Unknown product' in FACTORY Update module Product: openSUSE 10.3 Version: Alpha 4plus Platform: x86-64 OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: gp@novell.com QAContact: jsrain@novell.com Running the new FACTORY Update module for the first time on my STABLE installation, I noticed a warning of 'Unknown product' to 'Unknown product' in the initial screen of that module when, at the same time, the next line read "Update to openSUSE FACTORY 10.3". This is not consistent, and the warning message also is quite confusing. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280145 ------- Comment #1 from gp@novell.com 2007-06-01 12:38 MST ------- Created an attachment (id=143666) --> (https://bugzilla.novell.com/attachment.cgi?id=143666&action=view) Screenshot hilighting the issue -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280145 ------- Comment #2 from gp@novell.com 2007-06-01 12:38 MST ------- Created an attachment (id=143667) --> (https://bugzilla.novell.com/attachment.cgi?id=143667&action=view) y2log -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280145 holler@nefkom.info changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |holler@nefkom.info AssignedTo|bnc-team- |locilka@novell.com |screening@forge.provo.novell| |.com | ------- Comment #3 from holler@nefkom.info 2007-06-02 11:10 MST ------- Please look at #274064. Assigned to Lukas Ocilka. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280145 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #4 from locilka@novell.com 2007-06-04 01:40 MST ------- Update.ycp:489 SuSERelease::ReleaseInformation: openSUSE 10.3 Found matching product: $["label":"openSUSE FACTORY 10.3", "productname":"openSUSE-factory", "productversion":"10.3", "relnotesurl":"http://www.suse.com/relnotes/i386/openSUSE/FACTORY/release-notes.rpm", "vendor":"SUSE LINUX Products GmbH, Nuernberg, Germany"] Update.ycp:618 update from $["major":10, "minor":3, "name":"openSUSE", "nameandversion":"openSUSE 10.3", "show":"openSUSE 10.3", "version":"10.3"] to $["major":10, "minor":3, "name":"openSUSE FACTORY 10.3", "nameandversion":"openSUSE FACTORY 10.3 10.3", "show":"openSUSE FACTORY 10.3", "version":"10.3"] I have to admit that the message is confusing :) My mistake... This is the proposed patch: Index: update_proposal.ycp =================================================================== --- update_proposal.ycp (revision 38257) +++ update_proposal.ycp (working copy) @@ -451,9 +451,9 @@ // TRANSLATORS: proposal warning, both %1 and %2 are replaced with product names _("Warning: Updating from '%1' to '%2', products do not exactly match."), // TRANSLATORS: unknown product name - _("Unknown product"), + Update::installedVersion["show"]:_("Unknown product"), // TRANSLATORS: unknown product name - _("Unknown product") + Update::updateVersion["show"]:_("Unknown product") ); } Anyway, this will still produce a warning: --- cut --- Warning: Updating from 'openSUSE 10.3' to 'openSUSE FACTORY 10.3', products do not exactly match. --- cut --- Despite having only one additional word, the products are different, FACTORY provides another product name that is than written into the /etc/SuSE-release. Anyway, it might be a bit broken by design because product "openSUSE FACTORY 10.3" IS also installed in that system but only as an Add-On product, additionally, there is _NO_ base product in ZYPP. Product.ycp:86 All found products: [$["category":"add-on", "description":"openSUSE FACTORY 10.3", "display_name":"openSUSE FACTORY 10.3", "flags":["update"], "name":"openSUSE-factory", "relnotes_url":"http://www.suse.com/relnotes/i386/openSUSE/FACTORY/release-notes.rpm", "short_name":"FACTORY", "summary":"openSUSE FACTORY 10.3", "update_urls":[], "vendor":"", "version":"10.3"]] Product.ycp:98 Found base products: [] Product.ycp:99 No base product found -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=280145 locilka@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED ------- Comment #5 from locilka@novell.com 2007-06-04 01:41 MST ------- - Displaying correct product names (from/to) in the FACTORY update proposal in warning message when products don't match (#280145). - yast2-update-2.15.13 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com