You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The system should allow the user to import to another tenant successfully without facing any captcha_widget_theme error in response.
Reproduction
GIVEN user able to export successfully with the theme
WHEN the user tries to import into another tenant with a theme
THEN the user gets the "Schema validation failed loading" error
Deploy CLI version
7.21.0
Node version
21.2.0
The text was updated successfully, but these errors were encountered:
Checklist
Description
While importing the exported tenant.yaml using following command:
a0deploy import --config_file=config.json --input_file local/tenant.yaml
I am getting this:
`themes:
button_border_weight: 1
buttons_style: rounded
button_border_radius: 3
input_border_weight: 1
inputs_style: rounded
input_border_radius: 3
widget_corner_radius: 5
widget_border_weight: 0
show_widget_shadow: true
colors:
captcha_widget_theme: auto
primary_button: '#635dff'
primary_button_label: '#ffffff'
secondary_button_border: '#c9cace'
secondary_button_label: '#1e212a'
base_focus_color: '#635dff'
base_hover_color: '#000000'
links_focused_components: '#635dff'
header: '#1e212a'
body_text: '#1e212a'
widget_background: '#ffffff'
widget_border: '#c9cace'
input_labels_placeholders: '#65676e'
input_filled_text: '#000000'
input_border: '#c9cace'
input_background: '#ffffff'
icons: '#65676e'
error: '#d03c38'
success: '#13a688'
captcha_widget_theme: auto
displayName: Unnamed Theme`
Error a0deploy showing:
2024-03-12T15:16:44.618Z - error: Problem running command import 2024-03-12T15:16:44.622Z - error: Schema validation failed loading [ { "keyword": "additionalProperties", "dataPath": ".themes[0].colors", "schemaPath": "#/properties/themes/items/properties/colors/additionalProperties", "params": { "additionalProperty": "captcha_widget_theme" }, "message": "should NOT have additional properties" } ]
Expectation
The system should allow the user to import to another tenant successfully without facing any
captcha_widget_theme
error in response.Reproduction
GIVEN user able to export successfully with the theme
WHEN the user tries to import into another tenant with a theme
THEN the user gets the "Schema validation failed loading" error
Deploy CLI version
7.21.0
Node version
21.2.0
The text was updated successfully, but these errors were encountered: