Skip to content

mutation createEmptyCart doesn't throw exception when authorization header is set and token has expired #26112

@TomashKhamlai

Description

@TomashKhamlai

Preconditions (*)

  1. Registered Customer is created

Steps to reproduce (*)

  1. Generate Customer token
  2. Wait for token expiration
  3. Create empty cart using expired token

Expected result (*)

  1. Cart is not created because token has expired
"message": "The current customer isn't authorized.",
"category": "graphql-authorization"
  1. Guest cart is not created because token was used

Actual result (*)

  1. Guest cart is created

Metadata

Metadata

Labels

Component: QuoteGraphQlIssue: ConfirmedGate 3 Passed. Manual verification of the issue completed. Issue is confirmedIssue: Format is validGate 1 Passed. Automatic verification of issue format passedIssue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentPriority: P3May be fixed according to the position in the backlog.Progress: doneProject: GraphQLReproduced on 2.4.xThe issue has been reproduced on latest 2.4-develop branch

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions