Cannot share folders with the MDM plugin
-
Hi,
I will come back with the exact versions of all the software tonight, but I believe the MDM version is one of the latest but I can update it if necessary. I believe I updated Webapp from the community repository a couple of days ago.
When I add a folder via the MDM plugin it shows as “shared” in webapp, but in z-push-admin you see it as reported in the other thread, i.e. without the use SYSTEM attached to it.
-
I tried again, When I do this from the MDM front end I get the following.
The folder on the top “bill” works fine, and it was added using z-push.
The folder “Oracle” was added from the MDM plugin:
------------------------ Folder name: Bills Store: SYSTEM Type: Email Origin: Shared Folder id: 9995a8356ba047cd800edeb80b480023384b00000000 Parent id: 0 Synched: Active ------------------------ Folder name: Oracle - Store: Type: Email Origin: Shared Folder id: 9995a8356ba047cd800edeb80b480023e9010b000000 Parent id: 0
Note the user SYSTEM missing.
the versions are as following:
WebApp:
3.4.20.1651+940.1
Kopano Core:
8.6.2
Z-Push:
2.4.3+0-0 -
@bhuisman
We’ve basically experienced the same problem with public folders.
When adding a folder with the MDM plugin, the store / user SYSTEM is missing.
Works only by adding with z-push.Tried several versions of MDM plugin, incl. 2.1.0.102+24.1 , with several Version of Zarafa / Kopano Core
-
I just checked my MDM plugin version, it’s the latest on the community site:
kopano-webapp-plugin-mdm 2.1.0.102+23.1
I think this bug needs to be fixed though… It is currently very misleading as the MDM front end says “shared” whilst the folders just do not appear.
What’s more it wasn’t easy at all to debug and I had to take the valuable time from @Manfred to work out what was going on…
I think it would be great to get to the bottom of this.
If there is anything else I can do to help with debugging please do let me know.
It is good to know that @tosty is having the same issue as perhaps it will be easier to replicate.
-
@mcostan / @tosty I added some background to https://jira.kopano.io/projects/KMP/issues/KMP-65 and we’ll check it out soon
-
Seems, this little change fixes the problem:
--- class.pluginmdmmodule.php.orig 2018-08-05 20:13:22.903000354 +0200 +++ class.pluginmdmmodule.php 2018-08-06 14:18:36.403006245 +0200 @@ -795,7 +795,7 @@ if ($subfolder[PR_SUBFOLDERS]) { if ($specialFolder) { // Special folders can be redirected again to getSubFolders(), - $this->getSubFolders($specialFolder, $store, $properties, $storeData, $subfolder[PR_ENTRYID], $storeUserName); + $this->getSubFolders($specialFolder, $store, $properties, $storeData, $storeUserName); } else { $folderObject = mapi_msgstore_openentry($store, $subfolder[PR_ENTRYID]); array_push($expand, array('folder' => $folderObject, 'props' => $subfolder));```
-
-
@tosty Cool! If you could create your patch following this guide: https://stash.kopano.io/projects/KW/repos/kopano-webapp/browse/CONTRIBUTING.md we can put it in the code as a contribution.
-
Well, I tried to get this done yesterday. Sent the patch via email.
https://git.masilux.de/tosty/KWA-MDM/commit/7a5722e940bec0e61dca89957c55e81343ca5258
-
@tosty thanks! I found your email and exported a patch - it is attached to the ticket.
-
Good afternoon, I was wondering when the fix will be available in the overnight community builds.
-
@mcostan
Better to track https://jira.kopano.io/browse/KMP-65 -
Good afternoon, I noticed the JIRA is now set to completed. Can I assume that the community overnight builds will include the fix?
-
@mcostan
Yes and I’ve put them online already -
Great thank you for your help. I’ll pick up the changes and test.
-
-
@mcostan
You’re welcome! -
… and unfortunately this tiny but very important fix (thx to @tosty) is still not released with a supported MDM plugin version … and that 8 months later?
So I really wonder what we pay subscription for?
Since yesterday we wanted to make shared calendars and address books from the public folders available for mobile devices (can’t imagine anyone else doing that?) and have wasted some time because of this (long solved) bug because we as paying customer use the supported repo :/
Just not satisfied
Robert -
@PRO123 I’m sorry you feel this way, but you could have also send an email to support and ask about a status update, since you have a paid subscription.
In the mean time I will check if an update version can be released.
-
@marty said in Cannot share folders with the MDM plugin:
but you could have also send an email to support and ask about a status update, since you have a paid subscription.
Yes we could contact the support every time, but you could save effort for everyone (also for Kopano support), if you release (important) fixes also in the supported repo, at least not sometime after (8) months.
Btw. thanks for your quick reaction here.