Support #4243

Gist visibility update?

Added by Marcin Kuzminski [CTO] about 6 years ago. Updated about 6 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Commit Number:
Affected Version:


[tenderapp] report: reported by user:

When I edit an existing public gist entry, it always turns into a private gist without any indications. And there seems no way to change the visibility of gists from private to public. Is this an intended behavior?

Confirmed with my own RhodeCode CE 4.3.1 installation and

How to reproduce:

  1. Sign in to
  2. Open
  3. Fill anything in the body and push "Create Public Gist" button.
  4. Push "Edit" button.
  5. Push "Update Gist" button.

Expected result:

  • The gist entry should remain public.

Actual result:

  • The gist entry turns into "Private Gist".

Updated by Marcin Kuzminski [CTO] about 6 years ago

Hi !

Thanks for reporting this, we will fix this ASAP, and produce a bugfix release in next 1-2 days.


Updated by Marcin Kuzminski [CTO] about 6 years ago

  • Assignee set to Marcin Kuzminski [CTO]
  • Priority changed from Normal to High
  • Target version set to v4.5
  • Private changed from Yes to No

Updated by Martin Bornhold about 6 years ago

  • Assignee changed from Marcin Kuzminski [CTO] to Martin Bornhold

Updated by Redmine Integration about 6 years ago

pullrequest created by martinb (status: under_review).


Updated by Martin Bornhold about 6 years ago

  • Status changed from In Progress to Resolved

The problem was a wrong default value in the colander schema. On edit we don't send a value for the type attribute and therefore an invalid default value get's inserted into the DB, only 'private' or 'public' are allowed. When filtering with 'private' or 'public' the gists with invalid values are "hidden".
Fixed with

Also available in: Atom PDF