Skip to content

Not saving hyper entries on first save, when selecting an entry of multisite #274

Description

@remoflury

Describe the bug

I have a Craft CMS 5 Multisite.
On some nested blocks, I have troubles saving links to entries to other sites within hyper on the first save.

Steps to reproduce

  1. Have a nested Matrix block.
  2. Inside, have a matrix with at least a hyper field (let's call it hyper-matrix)
  3. Create a new entry in the hyper-matrix. Set the entry to a page on the same site --> works
  4. Create a new entry in the hyper-matrix. Set the entry to a page on the another site and save it. Reopen the entry. the entry in the hyper is not saved. readd it, then it will be persisted

Craft CMS version

5.11.1

Plugin version

2.3.12

Multi-site?

Yes

Additional context

This is part of my composer.json:

"require": {
    "behinddesign/craft-object-storage": "^v1.1.1",
    "craftcms/ckeditor": "^5",
    "craftcms/cms": "^5.10.13.2",
    "johnhenry/matrix-block-anchor": "^3.3.1",
    "nystudio107/craft-retour": "^5.0.14",
    "nystudio107/craft-seomatic": "^5.1.22",
    "spicyweb/craft-embedded-assets": "^5.4.8",
    "teamnovu/craft-sitecopy": "^4.0.4",
    "verbb/auth": "^2",
    "verbb/base": "^3",
    "verbb/formie": "^3.1.40",
    "verbb/hyper": "^2",
    "verbb/tablemaker": "^5.0.9",
    "vlucas/phpdotenv": "^5"
  }

If you provide a support email, I can send you a db-dump, if you need one

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions