FOSHttpCacheBundle icon indicating copy to clipboard operation
FOSHttpCacheBundle copied to clipboard

remove annotation for 3.X release

Open toxicity1985 opened this issue 2 years ago • 10 comments

Hello,

Sorry about the mess but i make something wrong with the rebase and drop the commit. I update the plugin yesterday. I add a match function as asked. I juste have a question regards the invalidation path attribute. If we have a match we have to clear the path configured inside the attribute but not the route called ?

toxicity1985 avatar Dec 20 '23 07:12 toxicity1985

If we have a match we have to clear the path configured inside the attribute but not the route called ?

yes. the assumption is that you annotate this on a route that changes content (so usually it will be a POST request). if the request that triggers the invalidation would itself be cached, symfony would not be invoked on a cache hit and the invalidation would not be triggered.

dbu avatar Dec 20 '23 07:12 dbu

thanks. looks like the CI is now reporting properly again. ignore the installation problem with jean-beru for now.

the failing tests in the other builds indicate that something is not yet working properly with the attributes. or the fixtures only have annotations not attributes?

dbu avatar Dec 20 '23 09:12 dbu

@toxicity1985 do you have time to check why the build fails?

dbu avatar Jan 06 '24 10:01 dbu

Hello,

I will check today or tommorow. I was busy last week :-p

toxicity1985 avatar Jan 06 '24 11:01 toxicity1985

thanks - did not want to rush you, just to check if it went under or if you are still aware of it.

dbu avatar Jan 06 '24 11:01 dbu

I fixed some test but the last are related to the cache maybe something related to configuration but i don't find where.

toxicity1985 avatar Jan 15 '24 08:01 toxicity1985

@dbu i fixed the last test.

toxicity1985 avatar Jan 19 '24 10:01 toxicity1985

Hi @dbu & @toxicity1985. Is there anything than could be supported to test or to fix any of the remaining tests? Or is this ready to be merged?

usu avatar Mar 17 '24 02:03 usu

Hello @usu, I think it's ok. I use the fork version on my project. But i think we also have to update some parent library.

toxicity1985 avatar Mar 19 '24 06:03 toxicity1985

I have to fix the style. But all the test pass now.

toxicity1985 avatar Mar 19 '24 13:03 toxicity1985

thanks a lot! i wrapped this up in #611

there are still a couple of things left in the version 3 milestone https://github.com/FriendsOfSymfony/FOSHttpCacheBundle/milestone/6

dbu avatar Mar 21 '24 16:03 dbu