Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't save Release draft as draft #162

Closed
1 of 3 tasks
thibaultmeyer opened this issue Nov 12, 2016 · 6 comments · Fixed by #169
Closed
1 of 3 tasks

Can't save Release draft as draft #162

thibaultmeyer opened this issue Nov 12, 2016 · 6 comments · Fixed by #169
Labels
Milestone

Comments

@thibaultmeyer
Copy link
Contributor

thibaultmeyer commented 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
@strk
Copy link
Member

strk commented Nov 12, 2016

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

@lunny
Copy link
Member

lunny commented 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 lunny added this to the 1.0.0 milestone Nov 12, 2016
@strk
Copy link
Member

strk commented 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
Copy link
Member

strk commented 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
Copy link
Member

strk commented Nov 14, 2016

Can you test #169 @0xBAADF00D ?

@thibaultmeyer
Copy link
Contributor Author

Excellent, it working very well @strk.

@go-gitea go-gitea locked and limited conversation to collaborators Nov 23, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants