Closed fredericgboutin-yapla closed 1 year ago
Oh, I'm an idiot. I just saw this issue opened 2 years ago - https://github.com/zf1s/zf1/issues/23
Here is the thing: I'm going to yoink zf1-future fix and pull request here if I'm able to use my forked version with the fix. Doing so, I will be able to confirm if the fix works.
( I know it works since I switched from zf1s to zf1-future just to try it )
There it is, https://github.com/zf1s/zf1/pull/163
First time contributor so multiple things went wrong as pointed out by @glensc here https://github.com/zf1s/zf1/pull/163#issuecomment-1362722023
I started from scratch using Github Desktop so here is the new proper pull request: https://github.com/zf1s/zf1/pull/164
Source: https://github.com/zendframework/zf1/issues/665
We are migrating a project from PHP 5.6 to 7.4 and we encountered this problem using zf1s.
The important part to understand is this,
So basically, we have a view with a couple of ajax calls and sometimes they generate a warning because the session didn't change (same second, same content).
Anyways, I saw that zf1-future implemented a simple fix for this, see https://github.com/Shardj/zf1-future/commit/9175301058d324bcdcdca0d091b2e6c394273a95
Basically the workaround proposed by virtually everyone in the community is to inherit the class and force a return
true
- see https://github.com/zendframework/zf1/pull/654#issuecomment-252055139.I think it would be handy for zf1s to support / fix this scenario instead.