cli icon indicating copy to clipboard operation
cli copied to clipboard

[Bug]: metafield in the settings schema options must be an array

Open immakdas opened this issue 2 years ago • 23 comments

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

  1. 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

immakdas avatar Mar 02 '23 08:03 immakdas

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.

github-actions[bot] avatar Jun 20 '23 03:06 github-actions[bot]

issue relevant

immakdas avatar Jun 20 '23 04:06 immakdas

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.

github-actions[bot] avatar Jul 12 '23 03:07 github-actions[bot]

This Shopify dev team seems inactive. If it's still relevant, please add a comment saying so.

immakdas avatar Jul 12 '23 05:07 immakdas

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.

github-actions[bot] avatar Aug 11 '23 03:08 github-actions[bot]

This Shopify dev team seems inactive. If it's still relevant, please add a comment saying so.

immakdas avatar Aug 11 '23 03:08 immakdas

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.

github-actions[bot] avatar Sep 02 '23 03:09 github-actions[bot]

dev team seems inactive. If it's still relevant, please add a comment saying so.

immakdas avatar Sep 03 '23 12:09 immakdas

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.

github-actions[bot] avatar Sep 26 '23 03:09 github-actions[bot]

it is still relevant. Why not

immakdas avatar Sep 26 '23 05:09 immakdas

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.

github-actions[bot] avatar Oct 19 '23 03:10 github-actions[bot]

still relevant

immakdas avatar Oct 19 '23 05:10 immakdas

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.

github-actions[bot] avatar Nov 11 '23 03:11 github-actions[bot]

still relevant

immakdas avatar Nov 11 '23 08:11 immakdas

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.

github-actions[bot] avatar Dec 25 '23 03:12 github-actions[bot]

still relevant

immakdas avatar Dec 25 '23 09:12 immakdas

still relevant

princerafid01 avatar Jan 16 '24 19:01 princerafid01

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.

github-actions[bot] avatar Feb 28 '24 03:02 github-actions[bot]

This issue seems active.

immakdas avatar Feb 28 '24 07:02 immakdas

This issue seems active.

🤣

knjshimi avatar Feb 28 '24 07:02 knjshimi

This issue is active.

princerafid01 avatar Feb 28 '24 08:02 princerafid01

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.

github-actions[bot] avatar Apr 12 '24 03:04 github-actions[bot]

I have a feeling that the issue is active but someone not). Let's call him Iesshua.

immakdas avatar Apr 12 '24 05:04 immakdas

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.

github-actions[bot] avatar May 25 '24 03:05 github-actions[bot]

It is very relevant

immakdas avatar May 25 '24 06:05 immakdas

Oh, we have an anniversary 1 year without any actions.))

immakdas avatar May 25 '24 06:05 immakdas

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.

karreiro avatar May 29 '24 14:05 karreiro

thank you @karreiro

immakdas avatar May 29 '24 16:05 immakdas