Skip to content

Remove SnippetBundle and Snippet related classes #7888

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

Merged

Conversation

alexander-schranz
Copy link
Member

@alexander-schranz alexander-schranz commented Apr 10, 2025

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets fixes #
Related issues/PRs #
License MIT
Documentation PR sulu/sulu-docs#

What's in this PR?

Remove SnippetBundle and Snippet releated classes.

Why?

The old snippet bundle is replaced with the new storage.

To Do

Baseline adds some new error but all errors of classes which should be removed before the 3.0 release:

Bildschirmfoto 2025-04-17 um 11 43 07
s:

@alexander-schranz alexander-schranz changed the title Remove SnippetBundle and Snippet releated classes Remove SnippetBundle and Snippet related classes Apr 10, 2025
@alexander-schranz alexander-schranz force-pushed the enhancement/remove-snippet-bundle branch 2 times, most recently from 258c5a4 to 86c1b06 Compare April 10, 2025 13:43
@alexander-schranz alexander-schranz force-pushed the enhancement/remove-snippet-bundle branch 3 times, most recently from e38bc7b to 4fdbb1d Compare April 17, 2025 09:39
Comment on lines +169 to +173

return true;

/*
// TODO maybe readd validation based on a JSON provided by admin build
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Via the new pattern I think we are not longer able to validate at any point if a field type really exists, as we always have the fallback to a "default" property resolver which is used for text, text_line, and all other "simple" which not require any resolving mechanic.

@alexander-schranz alexander-schranz force-pushed the enhancement/remove-snippet-bundle branch from fbc0fae to 01c1392 Compare April 17, 2025 12:26
@Prokyonn
Copy link
Member

@alexander-schranz I think we can merge this one, WDYT?

@alexander-schranz alexander-schranz marked this pull request as ready for review April 22, 2025 07:59
@alexander-schranz alexander-schranz merged commit 973775b into sulu:3.0 Apr 22, 2025
9 checks passed
@alexander-schranz alexander-schranz deleted the enhancement/remove-snippet-bundle branch April 22, 2025 08:00
@alexander-schranz
Copy link
Member Author

@Prokyonn awesome 🎉

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