whitecube / nova-page

Static pages content management for Laravel Nova
https://whitecube.github.io/nova-page
MIT License
239 stars 40 forks source link

Detail view broken #81

Closed stuartcusackie closed 3 years ago

stuartcusackie commented 3 years ago

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:

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
MannikJ commented 3 years ago

Same issue here...

TzoLy commented 3 years ago

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

tjmckenzie commented 3 years ago

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.

toonvandenbos commented 3 years ago

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

stuartcusackie commented 3 years ago

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

thecaliskan commented 3 years ago

@Nyratas new release ?

toonvandenbos commented 3 years ago

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