Skip to content

Commit

Permalink
Quick hack to correct feature referencing a collection alias during i…
Browse files Browse the repository at this point in the history
…ngestion
  • Loading branch information
jjrom committed Oct 15, 2024
1 parent f0b5333 commit 714ef35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/resto/core/dbfunctions/CatalogsFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ private function getCleanLinks($catalog, $userid, $baseUrl) {
$output['internalItems'][] = $internalItem;

// Check for link existence !
if ( !(new FeaturesFunctions($this->dbDriver))->featureExists($internalItem['id'], $this->dbDriver->targetSchema . '.feature', $internalItem['collection']) ) {
if ( !(new FeaturesFunctions($this->dbDriver))->featureExists($internalItem['id'], $this->dbDriver->targetSchema . '.feature') ) {
return RestoLogUtil::httpError(400, 'Feature ' . $internalItem['href'] . ' does not exist. Ingest it first !');
}

Expand Down

0 comments on commit 714ef35

Please sign in to comment.