New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When saving a data object, index definitions are not applied to the object_query table. #5031
Comments
I just figured out, that in see https://github.com/pimcore/pimcore/blob/master/models/DataObject/ClassDefinition/Helper/Dao.php#L44: enabled is false in my case for the object_query table. |
hmm, cannot be reproduced on demo application. on which table are you checking? |
Please see my screenshot: Is this on purpose? In my opinion, the query table should at least receive an (non-unique) index. |
@weisswurstkanone Issue description updated. |
just as a reference but not directly related to it |
Bug Report
In my product's class definition there is a field called "remoteId". I recognized performance issues in relation with the product, so I revised the field's index definition:
First of all, the field is marked as "unique", so I assumed that the database definition (object_query_product) would contain a key with a "unique index" definition, or at least a non-unique index. However this was not the case.
Expected behavior
Actual behavior
Steps to reproduce
Pimcore Version
Your Version: v5.8.0
The text was updated successfully, but these errors were encountered: