scientist-softserv / adventist_knapsack

Apache License 2.0
1 stars 0 forks source link

Importer Form #282

Closed jillpe closed 9 months ago

jillpe commented 9 months ago

Summary

When creating a new import through the dashboard, the fields do not filter based on the parser. All of the fields that were in the old site are present in the knapsack version along with their options.

Old Site Form https://github.com/scientist-softserv/adventist-dl/assets/84697174/4c81a065-cc87-49a5-bc2c-ac79fed4ba99
Knapsack Version Form https://github.com/scientist-softserv/adventist-dl/assets/84697174/a8d6ca80-60bb-461e-a230-2112f4d55a28

Accepted Criteria

ShanaLMoore commented 9 months ago

Turning on assets.debug = true seems to resolve this, but normally we don't have it set to true in development so i don't think this is the answer. This screenshot shows the options are not present if a parser isn't selected.

However when I turn off assets.debug, I was able to get it working properly by running rake assets:precompile and restarting the server. Kirk confirmed this as well.

Image

ShanaLMoore commented 9 months ago

This is issue is in staging too:

Image

ShanaLMoore commented 9 months ago

when i ran rake assets:precompile on staging, it fixed it. We need to figure out how to make that run automatically on deploys.