Skip to content

[Editorial Workflow] | Galley file allow unintended revision upload of past files #12349

@touhidurabir

Description

@touhidurabir

Valid Title

  • I have updated the title to accurately reflect the bug description

Description

For the galley upload, we only have Change File option but it still allow upload revision of previous upload file . this is confusing/wrong as galley at a time only points to one single file and uploading a new one will/should be counted as the revision of that galley file .

Image

Steps to Reproduce

  1. Login with Editorial Role
  2. Select a submission Navigate to Galley tab
  3. Create a new one with a file
  4. Now perform Change File action on that galley
  5. See that a revision of a pervious upload file can be uploaded

Expected Result

Should be able only upload a new file for galley, not revision of any previous file

Actual Result

Possible to upload the revision of a previous file .

Environment Details

No response

Application Version

OJS 3.5/main

Logs

No response

Additional Information

No response

PRs

Stable-3.5.0

pkp-lib --> #12351
ojs --> pkp/ojs#5350 [TEST ONLY]
omp --> pkp/omp#2239 [TEST ONLY]
ops --> pkp/ops#1207 [TEST ONLY]
pkp-lib --> #12441
ui-library --> pkp/ui-library#825
ojs --> pkp/ojs#5408
ops --> pkp/ops#1225
omp --> pkp/omp#2260 [TEST ONLY]

main

pkp-lib --> #12353
ojs --> pkp/ojs#5352 [TEST ONLY]
pkp-lib --> #12440
ui-library --> pkp/ui-library#824
ojs --> pkp/ojs#5407
ops --> pkp/ops#1224
omp --> pkp/omp#2259 [TEST ONLY]

Metadata

Metadata

Assignees

Labels

Bug:1:MinorA bug found in uncommon paths, with low consequences, limited users or has an easy workaround

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions