Skip to content

"poNumber" have wrong type #181

@nyavobd

Description

@nyavobd

Summary
Consumer return an error Errors occurred while preparing data for the search index. For the entity "oro_sale_quote", the following fields: "poNumber" have wrong type.

Steps to reproduce
Launch the command : bin/console oro:search:index Oro\\Bundle\\SaleBundle\\Entity\\Quote <any_quote_having_a_poNumber>

Actual Result
When running bin/console oro:message-queue:consume, I got an error : Errors occurred while preparing data for the search index. For the entity "oro_sale_quote", the following fields: "poNumber" have wrong type.

Expected Result
The indexation is a success

Details about your environment

  • OroCommerce version: 6.1.6
  • PHP version: 8.4.11

Additional information
The error is caused by this line. It has to be text instead of datetime.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions