elements-at / alternateobjecttrees Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
Hello all.
When trying to install your plugin bundle, I get the following error :
You have requested a non-existent service : "Elements\Bundle\AlternateObjectTreesBundle\Installer"
Any clue of what is going on?
Arnaud.
AdminController extends from DataObjectHelperController, which causes the routes to be overwritten. This leads to problems when trying to open an Object, because the route can not be resolved anymore.
_elements_alternate_object_trees:
resource: "@ElementsAlternateObjectTreesBundle/Controller/"
type: annotation
options:
expose: true
In AdminController.php filterValues is not correct if the attribute value is '0', such as with a checkbox. Add a test for this in function treeGetChildrenByIdAction() as below.
$attributeValue = $request->get('attributeValue');
foreach ($objects as &$object) {
if (!empty($attributeValue) || $attributeValue === '0') { // test for '0'
$filterValues[$level] = $request->get('attributeValue');
}
$object['filterValues'] = $filterValues;
}
Without aa4488b the bundle is not usable because you will get a JS error when opening / expanding a folder that the route does not exist.
Or in other words: Currently you have to set dev-master
as version constraint.
A comma is missing after the POST.
Ext.Ajax.request({
url: "/admin/elements-alternate-object-trees/admin/alternate-object-tree",
method: "POST"
params: {
name: value
},
Hi!
Looks as bundle doesn't work on Pimcore 6.5 and it's related with changes in gridGetColumnConfigAction method and tree rendering.
Another issue is reproduced on Pimcore 6.6 and it'r related with pimcore/pimcore#6146 and override admin actions. With enable I got the same issue as described in pimcore/pimcore#6146 (comment). After disable AlternateObjectTrees, issue is gone.
Can you look?
Thnx!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.