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

Already on GitHub? Sign in to your account

Publish draft error - PublicIsUnmodifiable: The public instance cannot be published. Use draft. #1905

Closed
RacingTadpole opened this Issue May 30, 2013 · 1 comment

Comments

Projects
None yet
4 participants

When I go into the admin panel and change a page, e.g. dragging a plugin from one placeholder to another, or just change the details of a plugin, and then press "Publish draft" straight after this, I often get an error:

PublicIsUnmodifiable: The public instance cannot be published. Use draft.

Alternatively, sometimes I am told that I cannot submit the form as the slug is already taken (by the same page).

I have found that if I navigate away, come back, make the changes again, and press "Save and continue editing", and only then "Publish draft", it often works - but not always.

Also, I have found that I often cannot delete plugins from pages.

Perhaps my database has somehow become corrupted?

Sorry I can't be more specific, but I thought I'd ask in case others have had the same problem. Any advice on how I could try to pin this down would be helpful too! (The new management command cms check doesn't detect anything wrong. I am using Django 1.5.1 and Django-CMS 2.4.1, and my site is upgraded from versions 1.4.3 and 2.3.5. All just with one SITE_ID and LANGUAGE_CODE='en-us', USE_I18N=True. I don't use the CMS ToolbarMiddleware. And there is one odd thing too that may be relevant - there is no /en/ in the URL despite my language settings.) I posted this earlier at StackOverflow too.

@digi604 digi604 added this to the 2.4.X milestone Feb 10, 2014

Contributor

yakky commented May 28, 2014

Can't reproduce on 2.4.3

@FinalAngel FinalAngel closed this Nov 2, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment