Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FileVar job variable causes Server Error #986

Closed
pke11y opened this issue Oct 8, 2021 · 0 comments · Fixed by #987
Closed

FileVar job variable causes Server Error #986

pke11y opened this issue Oct 8, 2021 · 0 comments · Fixed by #987
Assignees
Labels
type: bug Something isn't working as expected

Comments

@pke11y
Copy link
Contributor

pke11y commented Oct 8, 2021

Environment

  • Python version: 3.8.12
  • Nautobot version: 1.1.3

Steps to Reproduce

  1. Create a custom MyCustomJob job script which has a nautobot.extras.jobs.FileVar variable.
  2. Navigate to Extensibility - Jobs - MyCustomJob

Expected Behavior

Job Data table including a file input form field to select a file as input for the script.

Observed Behavior

Screenshot 2021-10-08 at 11 36 33

Workaround

# nautobot_config.py
EXTRA_INSTALLED_APPS = ["db_file_storage"]
@glennmatthews glennmatthews added type: bug Something isn't working as expected status: accepted labels Oct 8, 2021
@glennmatthews glennmatthews self-assigned this Oct 8, 2021
glennmatthews added a commit that referenced this issue Oct 8, 2021
* Fix #986: add db_file_storage to INSTALLED_APPS

* Add test coverage
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants