Mailinglist Archive: yast-commit (535 mails)

< Previous Next >
[yast-commit] r41664 - in /trunk/metapackage: package/yast2-metapackage-handler.changes src/OneClickInstall.ycp src/OneClickInstallWorkerResponse.ycp
  • From: benjimanw@xxxxxxxxxxxxxxxx
  • Date: Wed, 31 Oct 2007 10:40:03 -0000
  • Message-id: <20071031104003.F1CED173AC@xxxxxxxxxxxxxxxx>
Author: benjimanw
Date: Wed Oct 31 11:40:03 2007
New Revision: 41664

URL: http://svn.opensuse.org/viewcvs/yast?rev=41664&view=rev
Log:
Fixes bugs 310813 and 331557

Modified:
trunk/metapackage/package/yast2-metapackage-handler.changes
trunk/metapackage/src/OneClickInstall.ycp
trunk/metapackage/src/OneClickInstallWorkerResponse.ycp

Modified: trunk/metapackage/package/yast2-metapackage-handler.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/package/yast2-metapackage-handler.changes?rev=41664&r1=41663&r2=41664&view=diff
==============================================================================
--- trunk/metapackage/package/yast2-metapackage-handler.changes (original)
+++ trunk/metapackage/package/yast2-metapackage-handler.changes Wed Oct 31
11:40:03 2007
@@ -1,4 +1,9 @@
-------------------------------------------------------------------
+Thu Oct 31 10:40:00 GMT 2007 - benji.weber@xxxxxxxxx
+
+- Allow package names that are not valid XML element names e.g. 3ddiag
(#331557)
+- Alter default error message to indicate most likely cause for failure - user
didn't enter password (#310813)
+-------------------------------------------------------------------
Thu Oct 4 15:34:25 CEST 2007 - mvidner@xxxxxxx

- Use an actual icon (sw_single) for the YaST windows instead of the

Modified: trunk/metapackage/src/OneClickInstall.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/src/OneClickInstall.ycp?rev=41664&r1=41663&r2=41664&view=diff
==============================================================================
--- trunk/metapackage/src/OneClickInstall.ycp (original)
+++ trunk/metapackage/src/OneClickInstall.ycp Wed Oct 31 11:40:03 2007
@@ -757,7 +757,7 @@
{
SetupXML();
map<string,any > toSerialise = $[];
- toSerialise = add(toSerialise,"software",software);
+ toSerialise =
add(toSerialise,"software",makeXMLFriendly(software));
toSerialise =
add(toSerialise,"repositories",makeXMLFriendly(repositories));
toSerialise =
add(toSerialise,"remainSubscribed",remainSubscribed);
toSerialise = add(toSerialise,"name",name);
@@ -775,7 +775,7 @@
{
SetupXML();
map<string,any> deSerialised = (map<string,any
)XML::XMLToYCPFile(filename);
- software = deSerialised["software"]:$[];
+ software = fromXMLFriendly((list<map<string,string>
)deSerialised["software"]:[]);
repositories = fromXMLFriendly((list<map<string,string>
)deSerialised["repositories"]:[]);
remainSubscribed = deSerialised["remainSubscribed"]:false;
summary = deSerialised["summary"]:"";

Modified: trunk/metapackage/src/OneClickInstallWorkerResponse.ycp
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/metapackage/src/OneClickInstallWorkerResponse.ycp?rev=41664&r1=41663&r2=41664&view=diff
==============================================================================
--- trunk/metapackage/src/OneClickInstallWorkerResponse.ycp (original)
+++ trunk/metapackage/src/OneClickInstallWorkerResponse.ycp Wed Oct 31 11:40:03
2007
@@ -5,7 +5,7 @@
import "XML";

string DEFAULT_FAILURE_STAGE = _("unknown");
- string DEFAULT_ERROR_MESSAGE = _("An unknown error occurred.");
+ string DEFAULT_ERROR_MESSAGE = _("Administrator (root) privileges are
required, either they were not supplied or an unknown error occurred.");
string DEFAULT_NOTE = "";
string success = "false";
string note = DEFAULT_NOTE;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages