Bug 748884

Summary: yast2-printer: Printer.ycp DownloadProgress error
Product: [openSUSE] openSUSE 12.2 Reporter: Johannes Meixner <jsmeix>
Component: YaST2Assignee: Johannes Meixner <jsmeix>
Status: RESOLVED FIXED QA Contact: Jiri Srain <jsrain>
Severity: Minor    
Priority: P4 - Low    
Version: Factory   
Target Milestone: Factory   
Hardware: All   
OS: openSUSE 12.2   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Johannes Meixner 2012-02-24 14:26:33 UTC
Printer.ycp
--------------------------------------------------------------------------
  // Empty ... so that the DownloadProgress starts at the beginning.
...
  Printerlib::ExecuteBashCommand( "cat /dev/null >" + database_filename );
...
      DownloadProgress( ...
                        create_database_progress_filename,
--------------------------------------------------------------------------

database_filename != create_database_progress_filename


Compare with other same kind of code in Printer.ycp how it is correct:
--------------------------------------------------------------------------
  // Empty an existing progress file so that the DownloadProgress
       starts at the beginning.
...
  Printerlib::ExecuteBashCommand( "cat /dev/null >" +
    autodetect_printers_progress_filename );
...
    DownloadProgress( ...
                      autodetect_printers_progress_filename,
--------------------------------------------------------------------------
Comment 1 Johannes Meixner 2012-05-08 14:34:08 UTC
Fixed in YaST SVN.
Comment 2 Johannes Meixner 2012-05-08 14:41:20 UTC
Committed YaST SVN revision 68100.
Comment 3 Johannes Meixner 2012-05-09 13:22:11 UTC
OBS submitrequest 117224.