-
Notifications
You must be signed in to change notification settings - Fork 183
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
Report template types are broken #436
Comments
Hey @smcgu, it's best to use the code in That said, it sounds like your database was not properly seeded after you updated. You need to re-build the containers to ensure the database has the proper default values. In this case, the values are the names of the document types. This is new in the upcoming v4.2 release. If the initial values aren't loaded, you'll see empty entries in the drop-down because the name values are missing. This also leads to incorrect icons displayed for docx and pptx templates on the template library page. |
Thank you for the quick response. The containers were rebuilt and I tested the process twice. The process was:
The templates were properly listed and typed before this process. So, it is something in the upgrade process or changes. And, yes, I am aware of that the dev branch is less stable. This was tested on a restricted, limited use installation. |
Alex and I were just chatting and we found the issue. Ghostwriter CLI tries to not step on any database customizations you may have made. In this case, two of the three entries already exist and the new fixtures modify them. The You can fix that manually with this command. We'll look at updating how we try to handle fixtures for the release.
|
This issue has been labeled as |
This issue is closed because it has been inactive for 14 days since being labeled |
Describe the bug
Report templates show the incorrect type and the Document Type drop-down has empty options.
To Reproduce
Steps to reproduce the behavior:
Expected Behavior
Report templates should be correctly associated with their document type in the Report Template Library view and in an individual report template view.
Screenshots
Shared over Slack. Unable to upload here.
Server Specs:
Additional context
Reverting to
v4.1.0
(tag/release) resolved the behavior.The text was updated successfully, but these errors were encountered: