Mailinglist Archive: yast-commit (213 mails)

< Previous Next >
[yast-commit] r62042 - in /trunk/registration: VERSION package/yast2-registration.changes src/modules/YSR.pm
  • From: jdsn@xxxxxxxxxxxxxxxx
  • Date: Wed, 19 May 2010 16:11:10 -0000
  • Message-id: <E1OElrS-0007XU-Dk@xxxxxxxxxxxxxxxx>
Author: jdsn
Date: Wed May 19 18:11:10 2010
New Revision: 62042

URL: http://svn.opensuse.org/viewcvs/yast?rev=62042&view=rev
Log:
- catch severe backend error and pass error message on (bnc#604777)
- 2.19.3

Modified:
trunk/registration/VERSION
trunk/registration/package/yast2-registration.changes
trunk/registration/src/modules/YSR.pm

Modified: trunk/registration/VERSION
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/registration/VERSION?rev=62042&r1=62041&r2=62042&view=diff
==============================================================================
--- trunk/registration/VERSION (original)
+++ trunk/registration/VERSION Wed May 19 18:11:10 2010
@@ -1 +1 @@
-2.19.2
+2.19.3

Modified: trunk/registration/package/yast2-registration.changes
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/registration/package/yast2-registration.changes?rev=62042&r1=62041&r2=62042&view=diff
==============================================================================
--- trunk/registration/package/yast2-registration.changes (original)
+++ trunk/registration/package/yast2-registration.changes Wed May 19 18:11:10
2010
@@ -1,4 +1,10 @@
-------------------------------------------------------------------
+Wed May 19 18:10:23 CEST 2010 - jdsn@xxxxxxx
+
+- catch severe backend error and pass error message on (bnc#604777)
+- 2.19.3
+
+-------------------------------------------------------------------
Wed Apr 28 20:59:51 CEST 2010 - jdsn@xxxxxxx

- split off online-update-configuration module (fate#308494)

Modified: trunk/registration/src/modules/YSR.pm
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/registration/src/modules/YSR.pm?rev=62042&r1=62041&r2=62042&view=diff
==============================================================================
--- trunk/registration/src/modules/YSR.pm (original)
+++ trunk/registration/src/modules/YSR.pm Wed May 19 18:11:10 2010
@@ -298,6 +298,12 @@
# to be on the safe side for a following registration request, we need
to delete the context data
$self->del_ctx();
}
+ elsif ( $exitcode == 2 ) # catch error 2 and send error message up one
layer (bnc#604777)
+ {
+ ${$regret}{'error'} = 'Registration did not succeed due to invalid
data.';
+ ${$regret}{'invaliddataerror'} = '1';
+ ${$regret}{'invaliddataerrormessage'} = $self->get_errormsg();
+ }
elsif ( $exitcode == 3 )
{
${$regret}{'error'} = 'Conflicting registration data';

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

< Previous Next >
This Thread
  • No further messages