Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b3cc7b97

Von Tamino Steinert vor etwa 1 Monat hinzugefügt

  • ID b3cc7b9742df16a484492d01e57bfb2354b6b2a8
  • Vorgänger ee33f8a4
  • Nachfolger 71c1b574

FileVersion: Migration: Verweis auf BJ RemoveInvalidFileEntries

Unterschiede anzeigen:

sql/Pg-upgrade2/add_file_version.pl
80 80
      }
81 81
    }
82 82
    if (scalar @errors) {
83
      my $error_message = 'Please resolve the errors by removing invalid database entries or by adding the corresponding files under the expected paths:
84
      <table class="tbl-list" border="1" style="border-collapse: collapse">
85
        <thead><tr>
86
          <th>error message</th>
87
          <th>file_name</th>
88
          <th>file_id</th>
89
        </tr></thead>
90
      ';
83
      my $error_message = <<MESSAGE;
84
Please resolve the errors by deleting the invalid database entries or by adding the corresponding files to the expected paths.
85
To delete the invalid database entries, run the 'RemoveInvalidFileEntries' background job. Before running the background job, ensure that these files are no longer required.
86
<table class="tbl-list" border="1" style="border-collapse: collapse">
87
  <thead><tr>
88
    <th>error message</th>
89
    <th>file_name</th>
90
    <th>file_id</th>
91
  </tr></thead>
92
MESSAGE
91 93
      $error_message .= '<tr>' . join('</tr><tr>', @errors) . '</tr>';
92 94
      $error_message .= '</table>';
93 95
      die $error_message;

Auch abrufbar als: Unified diff