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
When I add a 2nd input to globalConfig.json and configure for tabs, ucc-gen fails with error:
Traceback (most recent call last):
File "./myapp/.venv/bin/ucc-gen", line 10, in <module>
sys.exit(main())
File "./myapp/.venv/lib/python3.7/site-packages/splunk_add_on_ucc_framework/main.py", line 191, in main
verbose_file_summary_report=args.verbose,
File "./myapp/.venv/lib/python3.7/site-packages/splunk_add_on_ucc_framework/commands/build.py", line 698, in generate
open_api_object = ucc_to_oas.transform(global_config, app_manifest)
File "./myapp/.venv/lib/python3.7/site-packages/splunk_add_on_ucc_framework/commands/openapi_generator/ucc_to_oas.py", line 398, in transform
open_api_object = __add_paths(open_api_object, global_config_dot_notation)
File "./myapp/.venv/lib/python3.7/site-packages/splunk_add_on_ucc_framework/commands/openapi_generator/ucc_to_oas.py", line 374, in __add_paths
actions=global_config.pages.inputs.table.actions, # type: ignore[attr-defined]
AttributeError: 'DataClasses' object has no attribute 'table'
globalConfig.json is example taken from docs with other necessary fields.
Is the globalConfig.json wrong or is this a bug? Any way to disable the openAPI as I'm not using that.
workaround: comment out lines 696-709 commands/build.py does not work, UI fails to load
Masking the original 404 message: 'The path '/en-US/static/@D8B1F5B6D10852DEB4968472006D15A4D9C111043B7EFADDE3FFBC77E58ACB54.1:1707145446/app/myapp/openapi.json' was not found.' with 'Page not found!' for security reasons
Description
When I add a 2nd input to globalConfig.json and configure for tabs, ucc-gen fails with error:
globalConfig.json is example taken from docs with other necessary fields.
Is the globalConfig.json wrong or is this a bug? Any way to disable the openAPI as I'm not using that.
thanks!
globalConfig.json:
What ucc-gen version are you using?
5.37.0
Additional System Info
No response
The text was updated successfully, but these errors were encountered: