A new issue in OJS 3.5.0-5 is that during the submission, at the view stage in the submission form, the notification " No contributors have been added for this submission" is given when there is no contributor added, but it is not restricted to a minimum of one contributor; then the submit button should be active for submission.
Add the validation here:
lib/pkp/classes/submission/Repository.php
Inside:
public function validateSubmit(Submission $submission, Context $context): array
Add this immediately after:
$locale = $submission->getData(ālocaleā);
$publication = $submission->getCurrentPublication();
$errors = [];
Add:
// Require at least one contributor before final submission
$authors = $publication->getData(āauthorsā);
if (!$authors || $authors->isEmpty()) {
$errors[ācontributorsā] = [
__(āsubmission.wizard.noContributorsā)
];
}