cubicweb #3096647 broken c-c i18ncubicweb [validation pending]

crash because of name referenced before assignment

priorityimportant
typebug
done in3.17.7
load0.100
load left0.000
closed by#d2edd8ac5f33 [c-c i18ncubicweb] fix crash, closes #3096647
patch[c-c i18ncubicweb] fix crash, closes #3096647 [applied]