Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

We follow the CalVer (https://calver.org/) versioning scheme: YY.MINOR.MICRO.

26.8.2 (2026-05-06)
===================

- Hotfix to avoid 502 on creating preprint version from rejected version

26.8.1 (2026-04-30)
===================

Expand Down
2 changes: 1 addition & 1 deletion osf/models/preprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def check_unfinished_or_unpublished_version(self):
"""Check and return the "initiated but unfinished version" and "unfinished or unpublished version".
"""
last_not_rejected_version = self.get_last_not_rejected_version()
if last_not_rejected_version.date_published:
if not last_not_rejected_version or last_not_rejected_version.date_published:
return None, None
if last_not_rejected_version.machine_state == 'initial':
return last_not_rejected_version, None
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "OSF",
"version": "26.8.1",
"version": "26.8.2",
"description": "Facilitating Open Science",
"repository": "https://github.com/CenterForOpenScience/osf.io",
"author": "Center for Open Science",
Expand Down