contao / contao-manager

Contao Manager
GNU Lesser General Public License v3.0
83 stars 33 forks source link

Show error message in migration view #804

Closed ausi closed 3 weeks ago

ausi commented 2 months ago

Adds the error message to the migration view output as currently there is no way to know what went wrong when a schema migration fails.

Bildschirmfoto 2024-04-15 um 18 17 04

aschempp commented 2 months ago

Please also update the swagger.yaml to communicate the new API property.

ausi commented 2 months ago

Please also update the swagger.yaml to communicate the new API property.

Done in 5af9e54e599c9bec493c1208cfc50a1240a56f4b

aschempp commented 2 months ago

Do I understand correctly there is always a message, also for successful migrations? What would that look like?

ausi commented 2 months ago

Do I understand correctly there is always a message, also for successful migrations?

No, the schema-result only has a message if isSuccessful is false. But the migration-result always has a message, usually something like "Contao\CoreBundle\Migration\Version500\BooleanFieldsMigration executed successfully"

aschempp commented 3 weeks ago

Thank you @ausi