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

Draft collection entries always show as published #813

lukeagsmith opened this Issue Jul 15, 2016 · 2 comments


None yet
3 participants

lukeagsmith commented Jul 15, 2016

Steps to reproduce

  1. Open entry from an "alphabetic" collection in the control panel
  2. Toggle switch to "unpublished"
  3. Save

Expected behaviour

The entry's .md file should get an underscore in front of the filename and file should show and "unpublished" in the control panel

Actual behaviour

The .md file is successfully renamed to start with an underscore but in the CP the page still shows as published (green dot on listing page and toggle on when viewing entry).

Server configuration

Operating system:
Mac OS X 10.11.5

Web server:
Laravel Valet

PHP version:

Statamic version:

Updated from an older Statamic or fresh install:

List of installed addons:


Statamic error log (/local/storage/logs/statamic.log)

no error log generated

Browser log

no console log generated

This comment has been minimized.

lukeagsmith commented Jul 15, 2016

As as followup to this, entries that are draft (have underscore at beginning of filename) but showing as published in the CP can't be deleted via the CP.

The log shows Statamic tires to delete the file name without the leading underscore and of course can't find the file and so fails.


This comment has been minimized.

lukeagsmith commented Aug 5, 2016

Still doesn't appear to be fixed in 2.1.1 and saving a draft causes the attached error.

screen shot 2016-08-05 at 08 07 17

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