Bug when sending data that does not match schema
-
I have added Custom Post Type to be indexed, modified schema for it and added my custom data for entries. When run the indexing from dashboard, I do get success alert (JSON payload
{"status":"success","notice":{"status":"success","message":"All entries for \"my_cpt\" have been successfully Imported"},"addInfo":{"total_posts":100,"offset":10,"posts_per_page":10}}) but collection in Typesense is empty. With WP-CLI I get correct warningBad Request : Fieldshow_linkmust be a string. That mismatch between schema and entry prevents the entry from being saved to collection.When running the indexing from dashboard, these should be shown to user instead of success message.
You must be logged in to reply to this topic.