-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
Remove target page code #1482
Remove target page code #1482
Conversation
@VincentLanglet and @jordisala1991 I know you didn't know the project, But in every place that uses this the question is, should I deprecate in Note: I checked in 2 projects that uses sonata page, and any of them uses this checked
both queries returned empty. Edit 1: I want to confirm and know your opinion before invest time on that! |
Some of that logic was added 10 years ago, here: fc9cd60 but seems incomplete... |
well if it's not used, i would remove it, it will help us to have less code to maintain |
Ok I got a new update, there is a really old project that uses Edit 1: probably this comes from 2.x version look: https://github.com/sonata-project/SonataPageBundle/blob/2.x/Admin/PageAdmin.php#L208, in the 2.x version was possible to add Edit 2: I guess here was the mistake/feature 😄 , it was changed from Edit 3: It was introduced in Edit 4: I colected some information and this feature was used for
|
the feature was just removed, then I guess it's fine we remove the code related with this, don't you? |
So the feature was to kind of duplicate pages with same content? IMO if the feature was kind of removed and there are sone leftovers I would completely remove it, and if someone comes up with some need for it, we can always reimplement. Lets deprecate all related to target id on 3.x and remove on 4.x. Can you do it? |
Yeah, let's do that way ;) |
9ec0a38
to
1694d61
Compare
1694d61
to
256a56e
Compare
256a56e
to
b5aacae
Compare
Thanks @eerison |
Remove old target page code
I am targeting this branch, because the target page need to be deprecated in 3.x first.
Issue #1481 .
Changelog