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
After running odm:schema:create while having mapped document with search index defined & mapped, odm:schema:drop does not drop search index. While trying to drop it it outputs error: Cannot use object of type stdClass as array.
It succesfuly drops normal indexes, collections and databases after that.
How to reproduce
Add some search index to mapped document
run odm:schema:create
run odm:schema:drop
Expected behavior
Search index should be succesfully dropped.
The text was updated successfully, but these errors were encountered:
Testing this with this document class, I reproduce the error. I'm not able to get the stack trace of the error using -vvv, that makes debugging more difficult.
Bug Report
Summary
odm:schema:drop does not drop search indexes.
Current behavior
After running odm:schema:create while having mapped document with search index defined & mapped, odm:schema:drop does not drop search index. While trying to drop it it outputs error: Cannot use object of type stdClass as array.
It succesfuly drops normal indexes, collections and databases after that.
How to reproduce
Expected behavior
Search index should be succesfully dropped.
The text was updated successfully, but these errors were encountered: