[Bug]: metafield in the settings schema options must be an array
Please confirm that you:
- [X] Are working with Shopify CLI 2.0, not 3.0. (You can open a 3.0 issue here.)
- [X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
- [X] Reproduced the issue in the latest CLI version.
What type of project are you working on?
extension
Expected behavior
theme extension code published (metafield populated to the app block schema options choose list select or radio type)
Actual behavior
- CLI returns Error [blocks/conditional-app-block.liquid] Invalid tag 'schema': settings: with id="select_me" options must be an array
Stack trace
No response
Reproduction steps
- create a theme app extension block with metafield as options in settings
{
"name": "App block",
"target": "section",
"available_if": "{{ app.metafields.myapp.global_enable }}",
"stylesheet": "animate.css",
"javascript": "app.min.js",
"settings": [
{
"type": "header",
"content": "App Block"
},
{
"type": "radio",
"id": "select_me",
"label": "Select the block",
"options": "{{ app.metafields.myapp.somelistofdynamicvalues }}"
}
]
}
{% endschema %}```
2. publish theme app extension to shopify via CLI
### Operating System
ubuntu 16
### CLI version (run `shopify version` if you're not sure)
2.35.0
### Shell
_No response_
### Ruby version (run `ruby -v` if you're not sure)
3.0.1
### What language and version are you using in your application?
Ruby 3.0.1
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
issue relevant
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
This Shopify dev team seems inactive. If it's still relevant, please add a comment saying so.
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
This Shopify dev team seems inactive. If it's still relevant, please add a comment saying so.
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
dev team seems inactive. If it's still relevant, please add a comment saying so.
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
it is still relevant. Why not
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
still relevant
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
still relevant
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
still relevant
still relevant
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
This issue seems active.
This issue seems active.
🤣
This issue is active.
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
I have a feeling that the issue is active but someone not). Let's call him Iesshua.
This issue seems inactive. If it's still relevant, please add a comment saying so. Otherwise, take no action. → If there's no activity within a week, then a bot will automatically close this. Thanks for helping to improve Shopify's dev tooling and experience.
P.S. You can learn more about why we stale issues here.
It is very relevant
Oh, we have an anniversary 1 year without any actions.))
Hi @immakdas, thanks a lot for reporting this issue. The fix for this problem actually won’t live on Shopify CLI, so we’ve forwarded your case to the proper team internally, but we’re closing this issue here. Thanks again for sharing this scenario and stay tuned to https://shopify.dev/changelog to get new updates about this.
thank you @karreiro