Skip to content

404 error on collections endpoints with new forest_liana version #363

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

Open
littletime opened this issue Jun 4, 2020 · 0 comments
Open

Comments

@littletime
Copy link

littletime commented Jun 4, 2020

Expected behavior

Our Forest Admin retrieves and displays collections from our server.

Actual behavior

Forest can connect, the login request to our server works, but then we have a 404 when trying to load any of the collections.

Failure Logs

404 when trying to load collection:

I, [2020-06-04T10:56:52.356088 #1]  INFO -- : [2ac61226-608f-401b-b294-fb14bab76f53] Started GET "/forest/Category?fields%5BCategory%5D=id%2Cimage%2Cname&page%5Bnumber%5D=1&page%5Bsize%5D=15&searchExtended=0&sort=-id&timezone=Europe%2FParis" for 82.127.116.79 at 2020-06-04 10:56:52 +0000
I, [2020-06-04T10:56:52.357366 #1]  INFO -- : [2ac61226-608f-401b-b294-fb14bab76f53] Processing by ForestLiana::ApplicationController#route_not_found as JSON
I, [2020-06-04T10:56:52.357423 #1]  INFO -- : [2ac61226-608f-401b-b294-fb14bab76f53]   Parameters: {"fields"=>{"Category"=>"id,image,name"}, "page"=>{"number"=>"1", "size"=>"15"}, "searchExtended"=>"0", "sort"=>"-id", "timezone"=>"Europe/Paris", "collection"=>"Category"}
I, [2020-06-04T10:56:52.358030 #1]  INFO -- : [2ac61226-608f-401b-b294-fb14bab76f53] Completed 404 Not Found in 1ms (Allocations: 316)

Context

We just pushed to production, rebuilding our Docker image, which updated our forest_liana package to the last version (5.2.0). In the meantime, we specified the 5.1.3 version in our Gemfile, and it works as expected.

  • Package Version: 5.2.0
  • Rails Version: 6.0.2.1
  • Database Dialect: postgresql
  • Database Version: 12.3
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