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

Remove xlsfile references #41

Open
dave-mills opened this issue Nov 18, 2024 · 0 comments
Open

Remove xlsfile references #41

dave-mills opened this issue Nov 18, 2024 · 0 comments

Comments

@dave-mills
Copy link
Member

It looks like the ODK Link Package still references xlsfile as a property of Xlsform and XlsformTemplate models, but we have moved to Spatie Media library collections to store the actual Excel files. This is causing at least one error (described below):

Context:

@dave-mills - I got issue when deploying the updated xlsform to ODK central...

Here are what I did:

  1. get latest code from dev branch
  2. run command "composer install", "npm i", "npm run build", "npm run dev"
  3. run command "php artisan migrate:fresh --seed"
  4. download the updated xlsform, add settings excel sheet to it
  5. login as admin, create a new team, create xlsform template
  6. admin panel > team resources > xlsforms relation manager, click "Add Xlsform to Team" button to add xlsform, error 500 occurred

I create another xlsform template with our previous xlsform, got same error.


Screen shot:

image

Originally posted by @dan-tang-ssd in #37 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant