Author: locilka
Date: Fri Jan 23 16:44:49 2009
New Revision: 54953
URL: http://svn.opensuse.org/viewcvs/yast?rev=54953&view=rev
Log:
- Fixed displaying repository information for add-on products
(bnc #459461)
- Storing sources before calling registration on a running system
(bnc #468449)
- 2.17.15
Modified:
branches/SuSE-Code-11-Branch/add-on/VERSION
branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes
branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp
Modified: branches/SuSE-Code-11-Branch/add-on/VERSION
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/add-on/VERSION?rev=54953&r1=54952&r2=54953&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/add-on/VERSION (original)
+++ branches/SuSE-Code-11-Branch/add-on/VERSION Fri Jan 23 16:44:49 2009
@@ -1 +1 @@
-2.17.14
+2.17.15
Modified: branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes?rev=54953&r1=54952&r2=54953&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes (original)
+++ branches/SuSE-Code-11-Branch/add-on/package/yast2-add-on.changes Fri Jan 23 16:44:49 2009
@@ -1,4 +1,13 @@
-------------------------------------------------------------------
+Fri Jan 23 16:40:01 CET 2009 - locilka@suse.cz
+
+- Fixed displaying repository information for add-on products
+ (bnc #459461)
+- Storing sources before calling registration on a running system
+ (bnc #468449)
+- 2.17.15
+
+-------------------------------------------------------------------
Mon Jan 12 15:12:49 CET 2009 - locilka@suse.cz
- Fixed displaying URL and product directory while editing an
Modified: branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp
URL: http://svn.opensuse.org/viewcvs/yast/branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp?rev=54953&r1=54952&r2=54953&view=diff
==============================================================================
--- branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp (original)
+++ branches/SuSE-Code-11-Branch/add-on/src/add-on-workflow.ycp Fri Jan 23 16:44:49 2009
@@ -208,6 +208,14 @@
Pkg::SourceRefreshNow (AddOnProduct::src_id);
Pkg::SourceLoad();
+ // BNC #468449
+ // It may happen that the add-on control file contains some code that
+ // would drop the changes made, so it's better to save the soruces now
+ if (Mode::normal()) {
+ y2milestone ("Saving all sources");
+ Pkg::SourceSaveAll();
+ }
+
AddOnProduct::last_ret = ret;
y2milestone ("MediaSelect Dialog ret: %1", ret);
return ret;
@@ -1189,10 +1197,20 @@
UI::ChangeWidget (`id ("product_details"), `Value, rt_description);
}
+/**
+ * Logs wrong product with 'log_this' error and returns 'return_this'.
+ * Added because of bnc #459461
+ */
+string LogWrongProduct (map