a-plus icon indicating copy to clipboard operation
a-plus copied to clipboard

Model errors are ambiguous on 'Apply' (import aplus-json)

Open lainets opened this issue 3 years ago • 1 comments

If a module's dates are invalid, the error just says that the dates are wrong but will not specify that the error is in a module nor which module it is. The easy fix would be to include the information in the translation of the MODULE_ERROR_* strings but it doesn't seem right to include that there as who-/whatever modified the module should know that this error came from a module (the Django examples also do not specify which model gave the error). Not sure if you can easily pinpoint where the error occurred from outside though.

lainets avatar Jul 04 '22 08:07 lainets

It would be easier to make the git manager validation for dates better, so that this problem wouldn't come up in practice. See #gitmanager/17

lainets avatar Apr 18 '23 14:04 lainets