Skip to content

The migration for setting the 'recurrent' property to 0 for all events is not ran automatically upon upgrade #79

Description

@lucaa

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.

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions