an Error occurs in Storefront after setting up a Promotion without Promotional notes
steps to reproduce:
setup a promotion
leave promotion notes blank ( not a required field in kinetic UX)
add a few items to the cart
note: I had an active promotion, but built a new promotion without the Promotional notes, the new promotion was in disabled state, but the error occurred..
once adding promotion notes to that promotion, the error no longer occurs
screenshot:
API error:
18:45:52.259Z ERROR Reaction: Description is required (errorId=clctfyebn0001zbbla046bz49)
path: [
"updateCartItemsQuantity"
]
--
stack: ClientError: Description is required
at /Users/node82/dev/R51/promo/reaction/node_modules/.pnpm/simpl-schema@1.12.3/node_modules/simpl-schema/dist/SimpleSchema.js:764:21
at Array.forEach (<anonymous>)
at SimpleSchema.validate (/Users/node82/dev/R51/promo/reaction/node_modules/.pnpm/simpl-schema@1.12.3/node_modules/simpl-schema/dist/SimpleSchema.js:754:15)
at Object.transformAndValidateCart (file:///Users/node82/dev/R51/promo/reaction/packages/api-plugin-carts/src/mutations/transformAndValidateCart.js:49:14)
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Object.saveCart (file:///Users/node82/dev/R51/promo/reaction/packages/api-plugin-carts/src/mutations/saveCart.js:15:3)
at async Object.updateCartItemsQuantity (file:///Users/node82/dev/R51/promo/reaction/packages/api-plugin-carts/src/mutations/updateCartItemsQuantity.js:66:21)
at async updateCartItemsQuantity (file:///Users/node82/dev/R51/promo/reaction/packages/api-plugin-carts/src/resolvers/Mutation/updateCartItemsQuantity.js:25:20)
an Error occurs in Storefront after setting up a Promotion without Promotional notes
steps to reproduce: setup a promotion leave promotion notes blank ( not a required field in kinetic UX) add a few items to the cart note: I had an active promotion, but built a new promotion without the Promotional notes, the new promotion was in disabled state, but the error occurred.. once adding promotion notes to that promotion, the error no longer occurs
screenshot:
API error: