Fixes a bug where submit_info would clear CI.#4420
Conversation
…sts for the edit_metadata view.
joemull
left a comment
There was a problem hiding this comment.
These changes seem to make ArticleInfo into an abstract base, but we do not explicitly say that anywhere that I can tell. Can we document it as that, so we don't use it by itself anywhere later?
We should also change this test to use the new class, right?
janeway/src/submission/tests.py
Lines 406 to 419 in 9051b5f
FYI: I don't think we should change the tests, the behaviour is still implemented in The current abstraction is a bit leaky (why does @ajrbyers my suggestion would be to raise a separate issue to fix the abstraction here but for the sake of this feature, don't refactor these forms just yet. |
Closes #4421
competing_interestsfrom ArticleInfo base classEditArticleMetadatawhich inherits fromArticleInfoEditArticleMetadataaddscompeting_interestsas one of its fields