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

Support nesting customer objects again #566

Merged
merged 1 commit into from
Mar 5, 2025
Merged

Conversation

jremmurd
Copy link
Contributor

With this PR the DefaultObjectNamingScheme supports nesting Customer objects again - like it was possible in v3.

In Pimcore 11 stricter return types got introduced, which may result in a return type error, if customers got saved within other customer objects and not within folders.

There is a possible return type missmatch in https://github.com/pimcore/pimcore/blob/11.5/models/Element/Service.php#L817 and https://github.com/pimcore/pimcore/blob/11.5/models/Element/Service.php#L842. Also see https://github.com/pimcore/pimcore/blob/11.5/models/Element/Service.php#L427

@fashxp
Copy link
Member

fashxp commented Feb 26, 2025

isn't that even a bugfix?

@jremmurd
Copy link
Contributor Author

isn't that even a bugfix?

@fashxp I depends if the limitation was deliberate or not I gues, your call.

@fashxp
Copy link
Member

fashxp commented Feb 26, 2025

I would vote for bugfix, could you please rebase?

@jremmurd
Copy link
Contributor Author

@fashxp onto which branch? 4.2 ?

@fashxp
Copy link
Member

fashxp commented Feb 27, 2025

yes please

@fashxp fashxp closed this Feb 27, 2025
@fashxp fashxp reopened this Feb 27, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Feb 27, 2025
@jremmurd jremmurd changed the base branch from 5.x to 4.2 March 3, 2025 09:49
@fashxp fashxp added the Bug label Mar 5, 2025
@fashxp fashxp added this to the 4.2.2 milestone Mar 5, 2025
@fashxp
Copy link
Member

fashxp commented Mar 5, 2025

thx very much ❤️

@fashxp fashxp merged commit 8d871e0 into pimcore:4.2 Mar 5, 2025
11 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants