[DBCleaner] Cowardly refusing to generate script while metadata is inconsistent

[DBCleaner] Cowardly refusing to generate script while metadata is inconsistent

  
Forge Component
(22)
Published on 17 Mar by Acácio Porta Nova
22 votes
Published on 17 Mar by Acácio Porta Nova
Hello,

Sometimes you'll get this error when attempting to generate the script.

The eSpace tries to detect if a publication is taking place so we don't generate the script while entity metadata may be inconsistent. Unfortunately, solely based on the Outsystems Platform metadata it's hard to tell if an actual publication is taking place.

I use two indicators to try to detect this: whether the eSpace is marked as locked or if the eSpace is marked as inconsistent.

The eSpace is usually locked for publication, and may be left inconsistent if some error occurred in a previous publication.

In order to overcome this issue, the suggestion is to simply republish the affected eSpaces via Service Center.

Best regards,
Ricardo Silva