cubicweb #2189206 [bfss] migrating some etype/attr storage => crash [validation pending]

warning: relation TimeSeries script String is already known, skip addition
\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\server\migractions.py:1352: DeprecationWarning: [3.10] use del entity.cw_edited[attr]
del entity[attribute]
Traceback (most recent call last):
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\cwctl.py", line 165, in run_arg
status = cmdmeth(appid)
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\cwctl.py", line 765, in upgrade_instance
mih.migrate(vcconf, reversed(toupgrade), self.config)
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\server\migractions.py", line 156, in migrate
super(ServerMigrationHelper, self).migrate(vcconf, toupgrade, options)
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\migration.py", line 181, in migrate
self.cmd_process_script(script)
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\server\migractions.py", line 161, in cmd_process_script
migrscript, funcname, *args, **kwargs)
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\migration.py", line 350, in cmd_process_script
execfile(migrscript, scriptlocals)
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubes\pagode\migration\3.0.0_Any.py", line 2, in <module>
storage_changed('File', 'data')
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\migration.py", line 137, in <lambda>
meth=meth)
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\migration.py", line 203, in interact
return meth(*args, **kwargs)
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\server\migractions.py", line 1352, in cmd_storage_changed
del entity[attribute]
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\logilab\common\deprecation.py", line 84, in wrapped
return func(*args, **kwargs)
File "\\nl1grp1.melinda.local\PYL001A\Labo\pagode\cubicweb\entity.py", line 1387, in __delitem__
del self.cw_edited[attr]
TypeError: 'NoneType' object does not support item deletion
instance pagode not upgraded: 'NoneType' object does not support item deletion

priorityimportant
typebug
done in3.14.4
load0.500
load left0.000
closed by#1bb43e31032d [bfss, migration] fix storage migration (closes #2189206)