Open d35k opened 6 years ago
Do you have any unpublished pages?
No
(Please surround stack traces in code blocks. Otherwise every line causes a github issue of that number to get referenced.)
updated
I can't recreate this - can you share any other info? A screenshot of the browser and error? Or your file structure?
screenrecord.zip there it is
We're having the same problem; same exception & trace.
Site & content fully version controlled - happy to share privately with Statamic team if needed
Is it possible to reopen this issue? We're also run into this problem :(
League\Flysystem\FileExistsException: File already exists at path: pages/1.mac/8.mac-kiegeszitok/9.nagy-sebessegu-adatkabelek-es-adapterek/12.owc-sabrent-usb-3-0-eloszto/index.md
php please clear:stache
command can "solve" the problem. Any idea what can cause this issue?
PS.: I can share the whole file system if it necessary!
Woooho, we found the reproduction process!
The issue comes from creating a page with an existing slug.
Of course the CP prevents you from making a page with an existing slug, both on the same tree level, but if you do this on another level, you can create it (eg. /foo
and /bar/foo
). After creating both pages, if you move one next to the other (eg. /foo
into the /bar
folder), there are going to be two folders with the same slugs (/bar/1.foo
, /bar/2.foo
).
This messes up Stache and no page reordering from then on is going to work.
@jackmcdade should I open a new issue or can we reopen this?
Any news on this bug?? @jackmcdade
I have this issue as well, it's affecting a few live sites and I keep having to go in and fix them, could you please look into it?
Thanks.
Ant.
I have the same problem. We have two languages. Some pages do not exist in the main language. Therefore pages were created in the main and in the 2nd language, but the main language was deactivated. The following files are in the site/content/pages/
folder:
_1.clients
_2.practical-examples
2.practical-examples
_3.advertising-media
en.index.md
index.md
Both folders contain one index file per language. Is this correct or could this cause a problem?
[2020-02-13 09:13:59] stage.ERROR: League\Flysystem\FileExistsException: File already exists at path: pages/2.personnel_consultation/_6.working-method/_2.practical-examples/en.index.md in /.../releases/26/statamic/vendor/league/flysystem/src/Filesystem.php:405
@jackmcdade @jasonvarga any progress on this? We have a (non-technical) client who keeps running into this issue.
Even displaying an error on the UI and cancelling the move would be fine. Currently it seems to allow the page move but then fails on all subsequent moves.
Describe the bug Im gettin error while reordering any page in Pages area.
To Reproduce Steps to reproduce the behavior:
Expected behavior I reordered my Contact page. I only did in once time, after that, i cant reordered my pages.
Environment details (please complete the following information):
Error Log