Skip to content

"data" column in layered_filter_block table need to be LONGTEXT #1202

@Prestaplugins

Description

@Prestaplugins

Prerequisites

Describe the bug and add attachments

Using facetedsearch module I got error because the length of the "data" value to store into "layered_filter_block" table was too long.

Expected behavior

We should be able to save long "data".

Steps to reproduce

I don't know how you can reproduce.
I don't exactly know what made the "data" value so long, but it was on a big shop (more than 10000 products) with hundreds of features and features_values.

PrestaShop version(s) where the bug happened

1.7, 8.2, 9.x

PHP version(s) where the bug happened

8.1

Your company or customer's name goes here (if applicable).

Prestaplugins

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions