Skip to content

Conversation

@ryanmitchell
Copy link
Contributor

When importing add-on namespaced field sets and blueprints from the stache the namespace (for blueprints) is prefixed with vendor, and for field sets the handle is prefixed too.

This PR updates the logic to handle those appropriately.

@ryanmitchell ryanmitchell merged commit 0b15b88 into statamic:master Jul 1, 2024
@ryanmitchell ryanmitchell deleted the fix/importing-addon-fieldsets branch July 1, 2024 08:06
@lazerg
Copy link

lazerg commented Aug 20, 2024

Hi @ryanmitchell

After this update, fieldsets that are exported by vendor:publish from third-party packages are broken

statamic/cms v5.20.0
statamic/eloquent-driver v4.12.3

Screenshot 2024-08-20 at 13 38 07

@ryanmitchell
Copy link
Contributor Author

@lazerg what is the handle of fieldset in the database?

@lazerg
Copy link

lazerg commented Aug 20, 2024

@ryanmitchell

after update it is similar to second one format, but statamic/cms looking for first one format

image

@ryanmitchell
Copy link
Contributor Author

@lazerg does this PR fix the issue for you? #339

@lazerg
Copy link

lazerg commented Aug 20, 2024

@ryanmitchell Yes !

@ryanmitchell
Copy link
Contributor Author

Thanks for confirming, I'll bundle it into the next release.

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

Successfully merging this pull request may close these issues.

2 participants