Octane - Wrong url
See original GitHub issueZiggy version
v1.4.0
Laravel version
v8.58
Description
ZiggyServiceProvider has a listener responsible to reset the state for current request and is setting the property generated to false, but the payload on the BladeRouteGenerator class is not changed so it returns the wrong url for the current request. This does not happen on 1.1.0, thats the version i am currently using
Ziggy call and context
//Octane listener
Event::listen(RequestReceived::class, function () {
BladeRouteGenerator::$generated = false;
});
//BladeRouteGenerator, url it set on constructor
if (! static::$payload) {
static::$payload = new Ziggy($group);
}
Ziggy configuration
Wrong url
Route definition
//
Issue Analytics
- State:
- Created 2 years ago
- Comments:6
Top Results From Across the Web
PR11 | Wrong Server Version - OTOY Forums • View topic
Hello, I downloaded both, the new PR11 Blender, and the respective Octane Server PR11 for OSX METAL + Big Sur. When launching the...
Read more >634067 - incorrect octane url for in testcase - Monorail
octane test fails to run because the URL changed. What went wrong? octane url changed to http://chromium.github.io/octane/
Read more >Troubleshooting - ADM Help Centers - Micro Focus
This section contains troubleshooting suggestions for issues relating to the ALM Octane installation. You can also check the log here: /opt/octane/log.
Read more >Hey! I've got a huge problem with my Octane license and ...
I've got 2 licenses of Octane Standalone and Octane C4D on the same OTOY account and I'm using them on 2 seperate machines....
Read more >Return a view with Laravel Octane Route - Stack Overflow
Yes I had a 404 on the home page and I tried with another URL and I have this error : TypeError: Laravel\Octane\Octane::invokeRoute(): ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
yeah, i see that know, i understood you were asking other thing… 🤣
Okay so your app’s URL is not the same on every request 😅 I’ll work on a fix for this, we can probably still get away with caching most of the payload but you’re right the URL will have to not be persisted.