Also find assets that are missing entries in their class hierarchy, as well as in asset and assetData.
This commit is contained in:
parent
57a92dd9fe
commit
8246b7ec88
1 changed files with 2 additions and 2 deletions
|
|
@ -65,8 +65,8 @@ my $sth = $session->db->read($sql);
|
|||
my $count = 1;
|
||||
my %classTables; # Cache definition lookups
|
||||
while ( my %row = $sth->hash ) {
|
||||
eval { WebGUI::Asset->newPending( $session, $row{assetId} ) };
|
||||
if ( $@ ) {
|
||||
my $asset = eval { WebGUI::Asset->newPending( $session, $row{assetId} ) };
|
||||
if ( $@ || ! $asset ) {
|
||||
|
||||
# Replace the progress bar with a message
|
||||
printf "\r%-68s", "-- Corrupt: $row{assetId}";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue