cubicweb-vcreview #2924069 patch not detected as applied if obsolete relation comes late [validation pending]

- add draft revision a; generates new patch p
- add public revision b
- add obsolete relation between a and b
- p is not moved to 'applied' state

prioritynormal
typebug
done in1.2.0
load left0.000
closed by#af16da752ae1 hook: update patch state when we get a new obsolete relation
patchhook: update patch state when we get a new obsolete relation [applied]