Navigation

    Kopano
    • Register
    • Login
    • Search
    • Categories
    • Get Official Kopano Support
    • Recent
    Statement regarding the closure of the Kopano community forum and the end of the community edition

    Cannot share folders with the MDM plugin

    Plugins for Kopano WebApp
    5
    25
    2194
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mcostan
      mcostan last edited by mcostan

      @bhuisman
      @bhuisman

      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.

      1 Reply Last reply Reply Quote 0
      • bhuisman
        bhuisman last edited by

        @mcostan / @tosty I added some background to https://jira.kopano.io/projects/KMP/issues/KMP-65 and we’ll check it out soon

        Regards, Bob

        Need support?
        Have a look at https://kopano.com/support/ for options.

        Helpful resources:
        https://kopano.com/blog/how-to-get-kopano/
        https://documentation.kopano.io/
        https://kb.kopano.io/

        tosty 1 Reply Last reply Reply Quote 0
        • tosty
          tosty @bhuisman last edited by tosty

          @bhuisman

          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));```
          1 Reply Last reply Reply Quote 0
          • mcostan
            mcostan last edited by mcostan

            @tosty

            That’s great!

            @bhuisman

            Let us know when this is in the MDM build and I can test and report back if this fixes the issue on my side.

            Thanks a lot!

            1 Reply Last reply Reply Quote 0
            • bhuisman
              bhuisman last edited by

              @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.

              Regards, Bob

              Need support?
              Have a look at https://kopano.com/support/ for options.

              Helpful resources:
              https://kopano.com/blog/how-to-get-kopano/
              https://documentation.kopano.io/
              https://kb.kopano.io/

              1 Reply Last reply Reply Quote 0
              • tosty
                tosty last edited by

                Well, I tried to get this done yesterday. Sent the patch via email.

                https://git.masilux.de/tosty/KWA-MDM/commit/7a5722e940bec0e61dca89957c55e81343ca5258

                1 Reply Last reply Reply Quote 0
                • bhuisman
                  bhuisman last edited by

                  @tosty thanks! I found your email and exported a patch - it is attached to the ticket.

                  Regards, Bob

                  Need support?
                  Have a look at https://kopano.com/support/ for options.

                  Helpful resources:
                  https://kopano.com/blog/how-to-get-kopano/
                  https://documentation.kopano.io/
                  https://kb.kopano.io/

                  1 Reply Last reply Reply Quote 0
                  • mcostan
                    mcostan last edited by

                    @bhuisman

                    Good afternoon, I was wondering when the fix will be available in the overnight community builds.

                    1 Reply Last reply Reply Quote 0
                    • marty
                      marty Kopano (Inactive) last edited by

                      @mcostan
                      Better to track https://jira.kopano.io/browse/KMP-65

                      https://documentation.kopano.io/deskapp_admin_manual
                      http://documentation.kopano.io/webapp_smime_manual
                      https://documentation.kopano.io/webapp_admin_manual

                      1 Reply Last reply Reply Quote 0
                      • mcostan
                        mcostan last edited by

                        @marty

                        Good afternoon, I noticed the JIRA is now set to completed. Can I assume that the community overnight builds will include the fix?

                        1 Reply Last reply Reply Quote 0
                        • marty
                          marty Kopano (Inactive) last edited by

                          @mcostan
                          Yes and I’ve put them online already

                          https://documentation.kopano.io/deskapp_admin_manual
                          http://documentation.kopano.io/webapp_smime_manual
                          https://documentation.kopano.io/webapp_admin_manual

                          1 Reply Last reply Reply Quote 0
                          • mcostan
                            mcostan last edited by

                            Great thank you for your help. I’ll pick up the changes and test.

                            1 Reply Last reply Reply Quote 0
                            • mcostan
                              mcostan last edited by

                              @marty

                              Installed and tested and I can confirm that this fixes the bug. Much appreciated in particular to @tosty for finding the solution!

                              1 Reply Last reply Reply Quote 0
                              • tosty
                                tosty last edited by

                                @mcostan
                                You’re welcome!

                                1 Reply Last reply Reply Quote 0
                                • PRO123
                                  PRO123 last edited by

                                  … 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

                                  1 Reply Last reply Reply Quote 0
                                  • marty
                                    marty Kopano (Inactive) last edited by

                                    @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.

                                    https://documentation.kopano.io/deskapp_admin_manual
                                    http://documentation.kopano.io/webapp_smime_manual
                                    https://documentation.kopano.io/webapp_admin_manual

                                    1 Reply Last reply Reply Quote 0
                                    • PRO123
                                      PRO123 last edited by

                                      @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.

                                      1 Reply Last reply Reply Quote 0
                                      • marty
                                        marty Kopano (Inactive) last edited by marty

                                        @PRO123 You are correct.
                                        The new version can be found in the repositories. Short announcement will be posted later.

                                        https://documentation.kopano.io/deskapp_admin_manual
                                        http://documentation.kopano.io/webapp_smime_manual
                                        https://documentation.kopano.io/webapp_admin_manual

                                        PRO123 1 Reply Last reply Reply Quote 0
                                        • PRO123
                                          PRO123 @marty last edited by

                                          @marty said in Cannot share folders with the MDM plugin:

                                          The new version can be found in the repositories.

                                          THX a lot for your quick reaction & have a nice weekend :)

                                          1 Reply Last reply Reply Quote 0
                                          • First post
                                            Last post