I reproduced this with an upgrade from version 2.9.3 to version 2.11-rc-1 , on XWiki 13.4.5, on a subwiki (actually, I have the case on more than a single subwiki, but the idea is that it's happened on a subwiki and not on the main wiki).
On my setup, this extension is a dependency of another extension, so it gets upgraded as a dependency, not as a toplevel extension (not sure if it's relevant or not, but just in case it is).
Expected result:
- the migration of events in MoccaCalendar.Code.RecurrentEventMigration shows 0 events to migrate
- the events in the database have value 0 for the
recurrent property
Actual result
- the migration of events in MoccaCalendar.Code.RecurrentEventMigration shows 12 events to migrate
- in the database, all the events that that have value
0 for the recurrent property are the events created after the upgrade. The others value NULL value stored.
I reproduced this with an upgrade from version 2.9.3 to version 2.11-rc-1 , on XWiki 13.4.5, on a subwiki (actually, I have the case on more than a single subwiki, but the idea is that it's happened on a subwiki and not on the main wiki).
On my setup, this extension is a dependency of another extension, so it gets upgraded as a dependency, not as a toplevel extension (not sure if it's relevant or not, but just in case it is).
Expected result:
recurrentpropertyActual result
0for therecurrentproperty are the events created after the upgrade. The others value NULL value stored.