Clicking to create an associated object in my Rails app via the Forest Admin edit page for an object.
Create a new book in series here:
Returns the following page:
A form to pop up, similar to the
Create form for the associated model, but with details pertaining to the associated object filled out.
We can submit that form and then be taken back to the original Edit page to continue with our edits!
Just getting 404 errors in my logs.
This has previously always worked and has suddenly stopped working on all environments, including my local development environment.
We’ve made no changes that should impact Forest.
Thank you for the feedback.
Since it happened in all your environments at the same time, it seems to point to a regression on the UI.
But I was unable to reproduce this error behavior. It is ok to create a related record while creating a record.
To go further, these informations will help:
- Are you able to browse / manipulate the collections book and series independently correctly?
- Can you please share the models files for the entities book and series? Any related configuration is
- Can you please share an HAR* of the failing scenario?
- Can you please provide the package versions used in your server?
XHR*: you can create an HAR by using the network tab of your browser.
1- clean the network calls
2- do again the failing scenario
3- Export a HAR file by right-clicking on the list of network calls and select “save all as HAR with content”
Are you able to browse / manipulate the collections book and series independently correctly?
Can you please share the models files for the entities book and series? Any related configuration is
I don’t think it’s related to the book or series model. Not being able to create a related object is happening with every single model in the app.
Can you please share an HAR of the failing scenario?*
While going to generate the HAR, I noticed this in the console:
I’ll DM you the .har file!
Can you please provide the package versions used in your server?
- Rails 188.8.131.52
- forest_liana 7.2.2
Thanks for your message.
A fix has been released just now.
Could you please try again and tell me if it’s fixed on your side?
Hello @adriguy! It works! Thank you!
What was the problem?
Great news @Nadia, thanks for your prompt answer!
A routing issue on our side Sorry again!