Skip to content

Conversation

@jshamble
Copy link
Contributor

@jshamble jshamble commented May 10, 2022

Closes #38174

Note: We are using minItems and NOT minContains as
as ajv uses an earlier draft for performance reasons, see
https://ajv.js.org/json-schema.html#draft-07

@jshamble jshamble requested a review from alanorozco May 10, 2022 07:05
@jshamble jshamble self-assigned this May 10, 2022
@jshamble jshamble requested review from processprocess and removed request for alanorozco May 10, 2022 19:11
@jshamble jshamble merged commit 77bc88a into ampproject:main May 10, 2022
@swissspidy
Copy link
Contributor

Does minItems prevent the Uncaught TypeError from occurring?

westonruter added a commit that referenced this pull request May 20, 2022
…a-menu-images-validator-spec

* 'main' of github.com:ampproject/amphtml: (90 commits)
  🔥 [Story mediapool] Fix videos from mediapool with `noaudio` don't have audio when reused. (#38216)
  Hide progress bar on the control group of auto advance experiment (#38215)
  ✨ Add Bento Autocomplete Component (#37837)
  🌐 [Story subscription] Subscription localization async (#38204)
  Dable: add new optional parameter "channel" (#38199)
  ✨ [AMP Story Paywall] Enable developers to specify a custom subscriptions page index (#38175)
  SwG Release 0.1.22.217 (#38187)
  amp-script: implements new size limits for sandboxed scripts (#38185)
  🖍  Hide the system layer and progress bar in preview mode (#38163)
  added minItems (#38177)
  Prevent expandTemplate from ReDOSing (#38178)
  Change amp-story-subscriptions attribute name to reflect its flexibility (#38176)
  🐛 [Story Preview] Enable amp-video to play in preview mode (#38149)
  Added the possibility to get page count to story messaging api (#38170)
  SwG Release 0.1.22.216 (#38168)
  Allow @newmuis to update OWNERS files (#38169)
  ✨ Add Richaudience to RTC callout vendors (#38160)
  🚀  SunMedia: Update amp-ad (#38128)
  Remove option to deploy PR artifacts to a static website (#38152)
  added some vars and requests in gfksensic.json (#37722)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[AMP Story] Uncaught TypeError if product has no productImages

4 participants