When a tag is being converted from a tag into a path if there are any paths which require an invalidation type which is not supported or is not found all the valid invalidation are thrown away and not processed.

The example that caused this issues for me was in relation to some invalid data. but still this should not stop valid invalidation from occuring.

Clearing tag `block_content_list`

Paths returned as follows.

/
/blog
https://foo.com/
https://bar.com/

In this case the first 2 will generate valid invalidation but the second 2 will through errors. and in this case the first should be processed and not tosses.

CommentFileSizeAuthor
#3 3156615-3.patch1.26 KBgordon
#2 3156615-2.patch1.25 KBgordon

Comments

gordon created an issue. See original summary.

gordon’s picture

Priority: Normal » Major
Status: Active » Needs review
StatusFileSize
new1.25 KB

Here is the patch to fix this.

gordon’s picture

StatusFileSize
new1.26 KB

After looking at this patch I realized I should have used continue instead of break. My testing didn't expose this because the bad invalidations were the last in the list so nothing that was not meant to were thrown away.

More testing and reflection determined I needed to use continue