Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.
This repository was archived by the owner on May 28, 2023. It is now read-only.

500 Internal Server Error when I tried to save zip code with three characters #253

@alinadivante

Description

@alinadivante

Steps to reproduce the issue

  1. Log in to your account
  2. Go to My profile
  3. Edit your profile → mark checkbox "I have company (...)"
  4. In Zip-code* filed enter only three numbers
  5. Save it
  6. Repeat steps 4-5 in "My shipping details" form

Current behavior

500 Internal Server Error in dev console and there is no any pop-up for end-user.
image
localhost-1558951080710.log

{"code":500,"result":[{"keyword":"minLength","dataPath":".customer.addresses[0].postcode","schemaPath":"#/properties/customer/properties/addresses/items/properties/postcode/minLength","params":{"limit":5},"message":"should NOT be shorter than 5 characters"}]}

Expected behavior

It should accept three characters and changes should be saved.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions