[Bug]: Failed to upload file config/settings_data.json without a good reason #5242
Open
2 tasks done
Labels
Area: @shopify/theme
@shopify/theme package issues
Severity: 3
Normal Severity
Type: Bug
Something isn't working
Please confirm that you have:
In which of these areas are you experiencing a problem?
Theme
Expected behavior
The CLI should push both
settings_data.json
andsettings_schema.json
config files without any issues.It should work since the new settings in the
settings_data.json
file meet new settings' schema defined in thesettings_schema.json
.Actual behavior
The CLI pushes only
settings_schema.json
, and provides a warining in the command output:Verbose output
I can't paste the verbose output here as github shows "Field can not be longer than 65536 characters" error...
So, here is the file instead:
push-output.txt
Reproduction steps
"type": "range"
setting in theconfig/settings_schema.json
file, reducing it'sstep
valueconfig/settings_data.json
. The new value should use the newstep
and it should not meet the previousstep
constraint.shopify theme push
This issue happens both on my local machine and in gitlab's CI.
I am using Shopify CLI
3.74.0
on my local machine and3.72.1
in the Gitlab CI.Operating System
MacOS Sonoma AND GitLab CI based on node:20 image
Shopify CLI version (
shopify --version
)3.74.0
Shell
iTerm2
Node version (run
node -v
if you're not sure)v20.18.0
What language and version are you using in your application?
No response
The text was updated successfully, but these errors were encountered: