Giter Site home page Giter Site logo

Conflict with cached routes about nova-page HOT 8 OPEN

whitecube avatar whitecube commented on September 15, 2024 4
Conflict with cached routes

from nova-page.

Comments (8)

gwleuverink avatar gwleuverink commented on September 15, 2024 2

@voidgraphics The issue still exists with L6.14.0 and Nova 2.10.1

from nova-page.

raphcollective avatar raphcollective commented on September 15, 2024 1

Hey, I tried to do some exploration on the issue.

I discovered than when the routes are cached they don't seem to show up in the Route::getRoutes()->getRoutes() array in the registerRouteTemplates function of the TemplatesRepository. Actually only the nova routes show up in there. They do appear correctly in route:list and in tinker when I call the function manually. I couldn't really figure out why but I hope this helps.

I'm using a fresh Laravel 5.8 project with Nova 2, this is how the route is registered:
Route::get('/home', 'PageController@index')->template(\App\Nova\Templates\Test::class)->name('home');

from nova-page.

slavarazum avatar slavarazum commented on September 15, 2024

Catch the same issue, have any ideas how to fix it? Don't want to lose ability of route caching 😕

from nova-page.

Arkenis avatar Arkenis commented on September 15, 2024

+1

still having those issues with Laravel Nova 2.0.11 + nova-page 0.2.3

from nova-page.

shalawani avatar shalawani commented on September 15, 2024

Any idea to solve this issue guys, please

from nova-page.

chrispage1 avatar chrispage1 commented on September 15, 2024

Just hit this issue myself when deploying this with a project using deployer. It breaks a lot of stuff!

I've even tried limiting down my routes file so it doesn't leverage the middleware, and doesn't define a template but still no joy...

from nova-page.

thinkspill avatar thinkspill commented on September 15, 2024

Hit this issue on a new (nova 2.7) project just now.

from nova-page.

nickbluestone98 avatar nickbluestone98 commented on September 15, 2024

Is there any fix for this yet @voidgraphics ? Really seems a shame to not get this bug fixed. Have the exact same issues as above in Laravel 8 and Nova 3. The package itself is fantastic and super useful.

from nova-page.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.