Skip to content

Commit

Permalink
Merge pull request #20 from gilsonsouza/Code-11-SP1
Browse files Browse the repository at this point in the history
SLE-11-SP1 SR number can be longer than 11 digits
  • Loading branch information
gilsonsouza committed Jul 24, 2017
2 parents d411382 + b4f620d commit d4ebb3f
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.17.19
2.17.19.1
6 changes: 6 additions & 0 deletions package/yast2-support.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Jul 20 12:07:56 UTC 2017 - gsouza@suse.com

- Allow support request number longer than 11 digits (bsc#1040706)
- 2.17.19.1

-------------------------------------------------------------------
Mon Jan 18 09:51:55 CET 2010 - mzugec@suse.cz

Expand Down
6 changes: 3 additions & 3 deletions src/dialogs.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ any ContactDialog () {
)),
`Frame (_("Upload Information"), `VBox(
`Left(`InputField(`id(`target), _("Upload Target"), deletechars(Support::options["VAR_OPTION_UPLOAD_TARGET"]:"", "'"))),
`Left(`InputField(`id(`novell_number), _("Novell 11 digit service request number"), Support::novell_number))
`Left(`InputField(`id(`novell_number), _("Service request number"), Support::novell_number))
)));

Wizard::SetContentsButtons(caption, contents, HELPS["contact"]:"",
Expand Down Expand Up @@ -528,8 +528,8 @@ any ContactDialog () {
Support::options["VAR_OPTION_GPG_UID"]=(string)UI::QueryWidget(`gpg_uid, `Value);
Support::novell_number=(string)UI::QueryWidget(`novell_number, `Value);
if (size(Support::novell_number)>0){
if (size(Support::novell_number)!=11){
Popup::Error(_("The SR number must be 11 digits"));
if (size(Support::novell_number)<11){
Popup::Error(_("The service request number must be at least 11 digits"));
ret=nil;
continue;
}
Expand Down
2 changes: 1 addition & 1 deletion src/helps.ycp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ ftp://ftp.novell.com/incoming<br>
scp://central.server.foo.com/supportconfig/archives</p>")
/* Contact dialog help 4/4 */
+ _("<p><b>Note:</b> If you are uploading a supportconfig tarball to Novell Technical Support,
make sure you include the Novell 11 digit service request number from your open service request."),
make sure you include the service request number from your open service request."),

/* Collecting data dialkog help 1/1 */
"collecting" : _("<p><b><big>Collecting Data</big></b>><br>
Expand Down

0 comments on commit d4ebb3f

Please sign in to comment.