-
Notifications
You must be signed in to change notification settings - Fork 1.5k
[Bug]: Fix nested block index #18121
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
base: 11.5
Are you sure you want to change the base?
Conversation
Review Checklist
|
|
*/ | ||
public function setCurrent(int $current): void | ||
{ | ||
$this->current = $current + 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1
because the getCurrent() has a -1
...
Co-authored-by: Jacob Dreesen <j.dreesen@neusta.de>
|
@kingjia90 Is the work on this PR blocked by something? |
Thank you for the reminder, i am waiting for a feedback from @brusch , my apologies for the long wait, this PR went under the radar as we were busy around the Inspire 2025, i am tagging him for a reminder as well |
No problem at all. I just wanted to make sure that it is not forgotten as long as Pimcore 11 is not yet EOL. 😀 Thanks for working on it! |
Changes in this pull request
Resolves #17927
Additional info
A little hacky&quick workaround... i am sure the real issue is somewhere inside this "dark area" http://github.com/pimcore/pimcore/blob/3322e055636b9e96a758bf858e02bafc82a3f75c/models/Document/Editable/Block.php#L111 😄