Hello XWiki experts,
I've been getting into a crazy situation where I could not save a page anymore. The
error reported was a hibernate error complaining about consistency violation wrt to a
primary key on xwikilinks.
Having looked into the DB, the indexes, tried to remove things, .... I just realized that
the error was the parser.
That page (a groovy page) was recorded in Syntax 1.0 and the parser caught a piece of
string [A-Z], within a regexp, as a link. That'd be a broken link, but it turned out
to create this constraint violation.
For this case I just upgraded the syntax.
Good to know in the future for us, and probably others since "quickly patching a
syntax 1.0 page" is likely to be something several people still do although it's
all deprecated.
Paul