Can't save Release draft as draft #55

Closed
opened 2025-11-02 03:06:22 -06:00 by GiteaMirror · 6 comments
Owner

Originally created by @thibaultmeyer on GitHub (Nov 12, 2016).

  • Gitea version (or commit ref): 0.9.99.0915
  • Git version: 2.10
  • Operating system: CentOS 64bit
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • SQLite
  • Log gist:

Description

Can't save a Release draft modification as draft.

How to reproduce

  1. Go to release tab
  2. Create a new draft and click on "Save Draft"
  3. On release tab, click on "Edit" button for the newly created draft
  4. The "Save Draft" button not appearing
Originally created by @thibaultmeyer on GitHub (Nov 12, 2016). - Gitea version (or commit ref): 0.9.99.0915 - Git version: 2.10 - Operating system: CentOS 64bit - Database (use `[x]`): - [x] PostgreSQL - [ ] MySQL - [ ] SQLite - Log gist: ## Description Can't save a Release draft modification as draft. ## How to reproduce 1. Go to release tab 2. Create a new draft and click on "Save Draft" 3. On release tab, click on "Edit" button for the newly created draft 4. The "Save Draft" button not appearing
GiteaMirror added the type/bug label 2025-11-02 03:06:22 -06:00
Author
Owner

@strk commented on GitHub (Nov 12, 2016):

Does this also happen on Gogs or is it a new bug in gitea ?

@strk commented on GitHub (Nov 12, 2016): Does this also happen on Gogs or is it a new bug in gitea ?
Author
Owner

@lunny commented on GitHub (Nov 12, 2016):

Yes. Maybe it's a bug. When you edit a draft, you cannot save it. Only publish it or delete it or Cancel.

@lunny commented on GitHub (Nov 12, 2016): Yes. Maybe it's a bug. When you edit a draft, you cannot save it. Only publish it or delete it or Cancel.
Author
Owner

@strk commented on GitHub (Nov 14, 2016):

Just tried on try.gogs.io and I confirm you can only delete the release, save it as an actual release or cancel the operation, so no further saving as draft after the first one. Will try to fix.

@strk commented on GitHub (Nov 14, 2016): Just tried on try.gogs.io and I confirm you can only delete the release, save it as an actual release or cancel the operation, so no further saving as draft after the first one. Will try to fix.
Author
Owner

@strk commented on GitHub (Nov 14, 2016):

So, what do we want here ?
At the moment upon "editing" a draft release you have "Edit" and "Delete" options, whereas "Edit" also publishes the release (changing its "draft" state).

It sounds like you'd want "Edit" to keep the "Draft" or "Published" state while adding a "Publish" button to change the state ?

@strk commented on GitHub (Nov 14, 2016): So, what do we want here ? At the moment upon "editing" a draft release you have "Edit" and "Delete" options, whereas "Edit" _also_ publishes the release (changing its "draft" state). It sounds like you'd want "Edit" to keep the "Draft" or "Published" state while adding a "Publish" button to change the state ?
Author
Owner

@strk commented on GitHub (Nov 14, 2016):

Can you test https://github.com/go-gitea/gitea/pull/169 @0xbaadf00d ?

@strk commented on GitHub (Nov 14, 2016): Can you test https://github.com/go-gitea/gitea/pull/169 @0xbaadf00d ?
Author
Owner

@thibaultmeyer commented on GitHub (Nov 14, 2016):

Excellent, it working very well @strk.

@thibaultmeyer commented on GitHub (Nov 14, 2016): Excellent, it working very well @strk.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#55