You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Those commands are actually failing if no cache was cleared
if ( ! $result) {
$ui->error($message);
return1;
}
How to reproduce
Call those commands with an empty cache
Expected behavior
The behavior from MongoDB seems more natural. Those commands shoudn't return an error if no cache was cleared but simply display an information message.
When wrapping those commands in composer there is no proper way to make them fail silently
Bug Report
doctrine/mongodb-odm 1.2.5
doctrine/orm v2.6.2
Summary
When calling the following doctrine commands
doctrine:cache:clear-metadata
doctrine:cache:clear-query
doctrine:cache:clear-result
I'm expecting the same behavior as
doctrine:mongodb:cache:clear-metadata
Current behavior
Those commands are actually failing if no cache was cleared
How to reproduce
Call those commands with an empty cache
Expected behavior
The behavior from MongoDB seems more natural. Those commands shoudn't return an error if no cache was cleared but simply display an information message.
When wrapping those commands in composer there is no proper way to make them fail silently
The text was updated successfully, but these errors were encountered: