Comments (8)
In foundation/Session/Connection.php, after pg_close
set Connection::handler
to null
probably fixed this warning.
I can make the PR if you are agree.
from pomm-bundle.
Ah ah, that's what I did in the close_session
branch, but it still does not shutdown the session properly and when session::__destruct is called, connection is re-opened to deallocate prepared statements which does not exist in the new session.
from pomm-bundle.
I have set up a close_connection branch on Foundation with a new API to close sessions from a Pomm
instance. Would you mind having a look at it ?
from pomm-bundle.
IMO, the session should use new connection, not the one used by pomm. The problem is that if there is an transaction error, all further statements will be ignored. and thus session save will also fail.
from pomm-bundle.
You mean merging the pomm_shutdown
branch with the new Connection system 2 months ago did not fix the problem ?
from pomm-bundle.
@chanmix51 I donβt know. This is your issue, is it fix?
I can test, but I need the unit test to reproduce the bug.
from pomm-bundle.
Oh. π I was looking for something different and found this one. When talking about session in this thread I didn't realize, that the the session refers to the pomm session and not the application session. I deeply apologize.
from pomm-bundle.
ouf :) don't mind, that's ok. @sanpii can we close this one ?
from pomm-bundle.
Related Issues (20)
- Question about Injection via symfony instead of Pooler HOT 6
- [Profiler] Add the "See runnable query"
- [ProfilerExtension] Twig Extensions is abandonned
- The PommProject\SymfonyBridge\PropertyInfo\Extractor\PommExtractor class is deprecated HOT 6
- Pomm Bundle not compatible with PHP >= 8.x
- Unique "Object" Validator in Pomm HOT 1
- Still not stable? HOT 10
- Twig and relation HOT 2
- Unable to load @ParamConverter annotation HOT 1
- impossible to use a session builder as a service HOT 8
- impossible to initialize a modelLayer
- deprecated configuration key throws an exception with Sf 3.3 HOT 1
- Warning raised with SF 3.3 in ContainerModelLayerPooler HOT 2
- BC break: default session builder should be the model manager HOT 1
- Support symfony4 HOT 2
- Rewrite test for sf4 HOT 1
- Update README with flex installation instruction HOT 1
- An alias can not reference itself, got a circular reference on ProductModel HOT 3
- Error 500 on query explain HOT 1
- Custom converter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pomm-bundle.