8000 [Improvement] Only show area EditableDialogBox dialog when it actually has items to edit by rberneder · Pull Request #11070 · pimcore/pimcore · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Improvement] Only show area EditableDialogBox dialog when it actually has items to edit #11070

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

Closed
wants to merge 18 commits into from

Conversation

rberneder
Copy link
Contributor

Situation
An area is used multiple times throughout different templates.

Problem
The area shall offer an EditableDialogBox in the one template, but must not have such in the other one.

Solution
The area checks if there are items to be edited. If so, the dialog is output.

@blankse
Copy link
Contributor
blankse commented Dec 21, 2021

@rberneder Should already be fixed. See #10962

Edit: I see it is fixed for areablock and not for area. Maybe we should use the same fix?

…tems to edit (adopted implementation in Area to the one in AreaBlock )
@rberneder
Copy link
Contributor Author

You are right @blankse. I have adopted the implementation to the solution in #10962.

@dvesh3 dvesh3 added the Bug label Dec 22, 2021
@dvesh3 dvesh3 added this to the 10.2.7 milestone Dec 22, 2021
@dvesh3
Copy link
Contributor
dvesh3 commented Dec 22, 2021

@rberneder please rebase on 10.2 branch. thanks!

dvesh3 and others added 16 commits December 22, 2021 09:34
…rue in `Document::getByPath()` (#11018)

* Don't return Document from runtime cache when $force parameter is true in Document::getByPath()

* Remove unused variable
Regex validation in dataobjects currently does not support UTF-8, making unicode regex validation impossible.
Added u modifier to checkValidity method to resolve.
* Support link generator for mockup objects

* Code update

* Allow any object for link generator

* Apply suggestions from code review

Co-authored-by: Sebastian Blank <sebastian.bl@gmx.de>

* Revert typehint and add documentation for mockups

* fix param declaration

* Update models/DataObject/ClassDefinition/LinkGeneratorInterface.php

Co-authored-by: Sebastian Blank <sebastian.bl@gmx.de>

* Update models/DataObject/ClassDefinition/LinkGeneratorInterface.php

Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>

Co-authored-by: Sebastian Blank <sebastian.bl@gmx.de>
Co-authored-by: Jacob Dreesen <jacob@hdreesen.de>
* Remove Document from runtime path cache after it was deleted

* Extract `getPathCacheKey()` method

* Remove unused imports

* Remove Document and its children from runtime path cache after it was saved with a new path

* Fix clearing path cache on update

The old path must be cleared, as this is the one that may already be cached.
* Do not initialize db schema in constructor.

* Do not initialize db schema in constructor.

* Always remove schema.

* Always return schema.

* Fix phpstan test (#1)

* Fix phpstan

* Add ConnectionInterface::getSchemaManager()

* Remove unused use

* Code improvements.

* Revert changes regarding connection interface.

* Add method annotation to simplify code in getSchema()

Co-authored-by: Sebastian Blank <sebastian.bl@gmx.de>
…o "setTime() on bool" error (#11050)

* [BUG] Pricing Rules - Saving pricing rule with date range condition leads to "setTime() on bool" error

* [BUG] Pricing Rules - Saving pricing rule with date range condition leads to "setTime() on bool" error
* fix #11059

* Update models/DataObject/ClassDefinition/Data/Table.php

Co-authored-by: Divesh Pahuja <divesh.pahuja@pimcore.com>

Co-authored-by: Divesh Pahuja <divesh.pahuja@pimcore.com>
@dvesh3 dvesh3 changed the base branch from 10.x to 10.2 December 22, 2021 08:42
@dvesh3 dvesh3 changed the base branch from 10.2 to 10.x December 22, 2021 08:48
@dvesh3
Copy link
Contributor
dvesh3 commented Dec 22, 2021

@rberneder Now we have unrelated commits in the PR. Could you please create a new PR with relevant changes? thanks!

@dvesh3
Copy link
Contributor
dvesh3 commented Dec 22, 2021

Fixed directly on 10.2 branch 82dae69 thanks!

@dvesh3 dvesh3 closed this Dec 22, 2021
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.

0