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

Detail view broken #81

Closed
stuartcusackie opened this issue Jun 1, 2021 · 7 comments
Closed

Detail view broken #81

stuartcusackie opened this issue Jun 1, 2021 · 7 comments

Comments

@stuartcusackie
Copy link

stuartcusackie commented Jun 1, 2021

There seems to be a conflict between Nova v3.26.1 and NovaPage 0.2.7. Rolling back to Nova v.3.22.0 and NovaPage 0.2.6 solves the problem.

I've double checked everything in my code to make sure I'm not creating a conflict. I've re-published nova assets, manually added service providers and removed all of my code to test, but the problem remained. I'm pretty sure the problem is in the package.

Clues:

  • The edit resource view still works for some reason.
  • Visiting this route directly http://homestead.test/nova-api/nova-page/actions returns a 404, even though I can see it in my routes list, and adding it manually to my own routes file makes no difference. I don't understand why this route is not available.

Error details:

Pages index loads fine but there is a console error:

vendor.js?id=158eb2009eabe0a47c04:1 
GET http://homestead.test/nova-api/nova-page/actions?relationshipType=&display=index 404 (Not Found)
... at FtD3.t.exports

Clicking into the resource detail view gets stuck on the loading icon produces this console error:

vendor.js?id=158eb2009eabe0a47c04:1
GET http://homestead.test/nova-api/nova-page/actions?resourceId=route.home&editing=true&editMode=create&display=detail 404 (Not Found)
... at FtD3.t.exports
@stuartcusackie stuartcusackie changed the title Bug: Detail view has broken for me Detail view broken Jun 1, 2021
@MannikJ
Copy link

MannikJ commented Jul 7, 2021

Same issue here...

@TzoLy
Copy link

TzoLy commented Jul 7, 2021

Seems like a problem with ActionController::class from route /nova-api/nova-page/actions

@tjmckenzie
Copy link
Contributor

I am getting the same error. I noticed loaded 1 time, either right before or after switching to DB storage. Unable to reproduce it since.

thecaliskan added a commit to thecaliskan/nova-page that referenced this issue Aug 30, 2021
@toonvandenbos
Copy link
Member

Could someone please test the current version of dev-master and check if everything works fine since I merged @thecaliskan's PR ? Thanks !

@stuartcusackie
Copy link
Author

stuartcusackie commented Sep 2, 2021

@Nyratas Seems good to me. Tested on local and production. Detail view is working with the latest version of Nova.

@thecaliskan
Copy link
Contributor

@Nyratas new release ?

@toonvandenbos
Copy link
Member

Yes, I just published a new release. Thanks @thecaliskan!

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

6 participants