PrestaShop/PrestaShop

Brands description characters limit does not work

Open

#27,782 opened on Feb 23, 2022

View on GitHub
 (10 comments) (0 reactions) (1 assignee)PHP (4,734 forks)batch import
1.7.6.7BOBrandsBugGood first issueHacktoberfestReadyTrivialVerified

Repository metrics

Stars
 (7,621 stars)
PR merge metrics
 (Avg merge 26d 17h) (116 merged PRs in 30d)

Description

Prerequisites

Describe the bug and add screenshots

Entering the short description while creating a new brand in Brands & Suppliers -> Add new brand has a character limit as a help text below the input field, firstly the number itself is quite random, but once the number is exceeded the brand still saves, though it shouldn't.

Expected behavior

Remove "number of allowed characters" when there is no limitation on the database scheme and remove "Invalid characters: <>;=#{}" from the list of input below:

Add/Edit categories:

  • Title
  • Meta title
  • Meta description

Add/Edit Tax:

  • Name

Add/Edit Meta tags:

  • Page title
  • Meta keywords

Add/Edit Brand:

  • Name
  • Meta title 
  • Meta description
  • Meta keywords

Add/Edit Supplier:

  • Name
  • Meta title 
  • Meta description
  • Meta keywords

Add/Edit Address:

  • Address Alias
  • First name
  • Last name
  • Company
  • Other

Steps to reproduce

  1. Go to Brands & Suppliers -> Add new brand
  2. Enter brand name
  3. In the Short description section enter a higher number of characters than the limit
  4. Press "save"

PrestaShop version(s) where the bug happened

1.7.8.2

PHP version(s) where the bug happened

7.1

If your bug is related to a module, specify its name and its version

No response

Contributor guide