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

Does not work in mutisite configurations #103

Open
Sennik opened this issue Jan 6, 2022 · 2 comments
Open

Does not work in mutisite configurations #103

Sennik opened this issue Jan 6, 2022 · 2 comments

Comments

@Sennik
Copy link

Sennik commented Jan 6, 2022

Nice to know
It only is usable in list view, nowhere to be found in tree view (took me a minute to find out, there is no explanation or manual or whatsoever)

After installation
First move resulted in a server error in the Statamic Control Panel and website:

[2022-01-06 06:50:20] local.ERROR: Undefined array key 1 {"userId":"05c1294e-021e-4816-8c38-48f27dc3aada","exception":"[object] (ErrorException(code: 0): Undefined array key 1 at /var/www/testsite/vendor/statamic/cms/src/Stache/Stores/CollectionEntriesStore.php:38)

Result:
CP (on collection related pages) and whole frontend website broken.

What I found
The moved page landed in the target collections root directory while it should have landed in one of the folders of the multisite configuration. When I manually moved it to the 'default' folder it all worked again.

I think it is safe to say that this plugin is not multisite compatible. That's a pity because 'statamic-move-entries' could be a very usable add-on, especially on multisite configurations.

What it should be capable of (IMHO)

  • Move from list, tree and detailview (now only listview, nasty to find the entries there)
  • Move to any site's collection's (multisite). If possible with the source site as default (but selectable, if possible in one go to multiple sites)

Nice to have

  • Preserve or renew creation date
  • Preserver or renew author
@christophstockinger
Copy link

I can confirm this problem!

@codedge
Copy link
Owner

codedge commented Jun 30, 2024

Thanks for your detailed feedback. Some things have been fixed meanwhile.

  • Support latest Statamic (version 5)
  • Docs and screenshot about usage in the readme
  • Move from list and detail view has always been possible. What do you mean with tree view? I don't understand where a tree view is

Indeed, there is no multi-site support yet. Feel free to open an PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants