instride-ch/pimcore-data-definitions

Export from here button not working and option to hide

Opened this issue · 9 comments

The export from here button in grid view is not working.
Clicking this button does nothing. We have the latest beta version of DataDefinitions installed.

Is there also an option to hide this button?

@Hbitvof the button should show up if you have ProcessManager installed only, AFAIK? If not, then it's a bug we need to fix.

@Hbitvof the button should show up if you have ProcessManager installed only, AFAIK? If not, then it's a bug we need to fix.

I have processmanager installed, but the button is doing nothing and there is no option to hide the button.

The button shows up to allow you to run export profiles defined in process manager. When you say "does nothing", what do you mean?

When pressing the "Export from here" button or the arrow in the button there is no new screen or any other action. I can press the button (it's getting darker gray) but doing nothing.

OK, the bug here is it should only show up it if finds exports defined in process manager. This is a bug.

OK, the bug here is it should only show up it if finds exports defined in process manager. This is a bug.

We have multiple export jobs from Datadefinitions running in Process Manager. This is something else than exports defined in process manager (I don't see anything about exports in process manager)?

When you have both this bundle and process manager installed, process manager allows you to create Export Definition executables. It will say Type: exportdefinition in the executable config.

When you now open a Object folder, Export from here button will display all those Process manager export definition executables in the dropdown, allowing you to run the export executable "from here", meaning it will pass the current object's ID as the root. You have the same feature in the data object tree on right click.

When you have both this bundle and process manager installed, process manager allows you to create Export Definition executables. It will say Type: exportdefinition in the executable config.

When you now open a Object folder, Export from here button will display all those Process manager export definition executables in the dropdown, allowing you to run the export executable "from here", meaning it will pass the current object's ID as the root. You have the same feature in the data object tree on right click.

I was wrong by saying we have multiple export jobs from Datadefinitions. Those are all CLI jobs. When I add one export definition I see this in the button, so this part is working, but when there are no export jobs the button shouldn't show up so this is indeed a bug.

@Hbitvof PR? It should be pretty straightforward.