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

Move ptable logic from tl_content to DC_Table #6645

Merged
merged 2 commits into from Dec 21, 2023

Conversation

ausi
Copy link
Member

@ausi ausi commented Dec 20, 2023

This removes the need to check for Input::get('ptable') in the tl_content DCA. Not sure if this is the right approach though.

@ausi ausi added the bug label Dec 20, 2023
@ausi ausi added this to the 5.3 milestone Dec 20, 2023
@ausi ausi self-assigned this Dec 20, 2023
@aschempp
Copy link
Member

aschempp commented Dec 20, 2023

Looks like we should have an access voter before we can make this improvement? 🤔

@ausi
Copy link
Member Author

ausi commented Dec 20, 2023

Looks like we should have an access voter before we can make this improvement? 🤔

Why?

@ausi ausi marked this pull request as ready for review December 20, 2023 14:50
Copy link
Member

@leofeyer leofeyer left a comment

Choose a reason for hiding this comment

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

The changes do not work, I‘m afraid. I added them to #6648 but I was not able to edit the new element as a non-admin user. (I was able to edit the child elements, though.)

@ausi
Copy link
Member Author

ausi commented Dec 20, 2023

The changes do not work, I‘m afraid.

Should be fixed in e7002e1

@ausi ausi requested a review from leofeyer December 20, 2023 17:35
@leofeyer leofeyer merged commit 2d8430f into contao:5.x Dec 21, 2023
16 checks passed
@leofeyer
Copy link
Member

Thank you @ausi.

leofeyer added a commit that referenced this pull request Feb 2, 2024
…method (see #6833)

Description
-----------

Fixes #6824

Now that we have merged #6645, we can revert these changes.

Commits
-------

ea67382 Revert the changes to the `Controller::getParentEntries()` method
ef335ed Also check the ptable in the SQL query
7db085f Fix getParentEntries() (see #10)

Co-authored-by: ausi <martin@auswoeger.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants