Théo FIDRY

Results 764 comments of Théo FIDRY

This is most likely related to https://github.com/theofidry/AliceDataFixtures/pull/207

Hi, unfortunately I cannot say without any more logs... I do not know from where this exception is thrown neither why

Not really. Not that I'm not interested in it but I don't really use that extension anymore so whilst I'll gladly accept any PR I don't really want to actively...

> Default bahavior when using just AliceBundle is that the parameters are automatically checked and loaded from fixtures path. Would it not make sense so that it behaves same here?...

Hi @egeloen :) If I understand correctly, contexts are re-created for each scenario except scenario outlines for which it's the same context for each example is that right? (just want...

Ok, so I think the problem rather comes from alice loader and the doctrine manager to keep references after each loading. A simple fix would be to actually wipe out...

@egeloen there's doctrine manager which keeps the persisted references, but there's also alice loader which keeps all references. Ideally, it would be better to find a hook to re-create the...

> Can you point me where you would like to clear the manager and the loader? An issue has already been filled in alice (https://github.com/nelmio/alice/issues/418) but I believe this should...

> An other alternative would be to introduce a method with a @BeforeScenario tag which will re-init the context. AFAIR, this tag is also triggered for scenarios outline. I think...

@mollenbu just in case, I remember having this issue at some point with Doctrine on a specific PHP version. I think it was 7.4.16 or smth... So before digging any...