Cannot attach attachments

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • DejaJeff
    Member
    • Jul 2017
    • 95

    #1

    Cannot attach attachments

    Something was broken again in one of the last couple updates to DejaOffice for Android. I don't know which update, since it's been a while since I've attached a file. I used to be able to attach files (PDFs, etc) to calendar events and contacts. Now there are issues. I've already uninstalled and reinstalled the current version, 4.4.61 (build 1628), and no help.

    *** This is on an Android 7.1 tablet only. ***

    When I go through the menus to select a file to attach to a calendar event, after I select the file the screen goes back to the calendar list (the edit screen is gone) and nothing was added to the event in question.

    As for contacts, I can add a file attachment to a contact, but 50% of the time after selecting the file I get an Android error dialog that the app has stopped and to close or restart the app. However, with contacts, the attachment is always added when I go back to it. No error message is given.

    This behavior is not present on my Android 13 phone, and I can attach files to contacts and calendar events with no errors. As a work-around I can then sync the phone to DejaCloud, and then sync the Android 7 tablet to DejaCloud, and the added attachments in question show up in DejaOffice on the tablet.

    Please advise.

    Jeff
  • Thomas
    DejaOffice Team Member
    • Dec 2010
    • 3008

    #2
    Jeff,

    Android OS 7.1 is a bit past support... I have some suggestions below, but if these do not work, I do not have much else to offer for that old of a device.

    1. In the Settings of the 7.1 device only, under Logging and Support settings, check what the Database Storage Location is set to. If this is Local Storage New, try changing to Local Storage (Legacy). Android made changes to the required storage folder of the app in OS 12, this could be the issue on the 7.1 device. Do not change this on the OS 13 device.

    2. You could try uninstalling DejaOffice and install an older build just on this device. Here is our Release Notes Page, we have every prior build available for download here, you could just pick an older one or work back from the newest until one works:

    https://www.dejaoffice.com/androidapp/releasenotes.html

    Tap the blue text for the build numbers and it will download the APK for that build. Tap the APK on the tablet once downloaded
    - Lead QA

    Comment

    • DejaJeff
      Member
      • Jul 2017
      • 95

      #3
      Originally posted by Thomas View Post
      Jeff,
      Android OS 7.1 is a bit past support...
      Thomas, I understand what you're saying, but in Google Play the required OS is stated as "5.0 and up" for DejaOffice.

      Having said that, it would be surprising for support to have been dropped for the app without any advance announcement or notification.

      In recent months I have reported other issues running DejaOffice under Android 7.1, and received support.

      As for the database storage settings, it is currently set to "New". But this has not been changed recently.



      Comment

      • DejaJeff
        Member
        • Jul 2017
        • 95

        #4
        Originally posted by Thomas View Post
        Jeff,
        1. In the Settings of the 7.1 device only, under Logging and Support settings, check what the Database Storage Location is set to. If this is Local Storage New, try changing to Local Storage (Legacy). Android made changes to the required storage folder of the app in OS 12, this could be the issue on the 7.1 device. Do not change this on the OS 13 device.
        FYI,

        I changed the storage settings from new to legacy, and as expected the DejaOffice files were relocated...

        From: /storage/emulated/0/Android/data/com.companionlink.clusbsync/

        To: /storage/emulated/0/clusb/

        Stopped and restarted the app.

        No change in behavior.

        Comment

        • Thomas
          DejaOffice Team Member
          • Dec 2010
          • 3008

          #5
          Yes, I meant past support for what makes sense for our App, if it works excellent, but otherwise this is considered a legacy OS version. We still have people using version 5 of our PC program, and while it is available, we do not support it. If there are items that are reproducible on newer OS's that happen to fix older issues, we would cover this or perhaps I missed the OS version on those issues.

          My only other suggestion would be to try one of the older builds I mentioned.
          - Lead QA

          Comment

          • DejaJeff
            Member
            • Jul 2017
            • 95

            #6
            Originally posted by Thomas View Post
            Yes, I meant past support for what makes sense for our App, if it works excellent, but otherwise this is considered a legacy OS version.
            Just to clarify, what is the official minimum required Android OS version for DejaOffice? Google Play store says 5.0.

            Comment

            • DejaJeff
              Member
              • Jul 2017
              • 95

              #7
              Thomas,

              I wanted to revisit this issue. I just got a new tablet running Android 13 and can still replicate the behavior.

              It occurs under the following conditions:

              • Android device is in landscape mode.
              • DejaOffice Calendar is in list view, with the list of events on the left, and the selected event displayed on the right pane.
              • Tap the pencil to edit the event, go to add an attachment, and after the attachment is selected, the focus returns to the original calendar events view, and nothing happened.

              It does not matter what method is used to pick the attachment (Android file picker, gallery app, or a file browser app).

              Now, if I start out in portrait mode on the device, tap a record, edit it, and add an attachment, it works as expected.

              So I went back to my Android 7 tablet, same issue. Works in portrait mode, does not work in landscape mode.

              I went to my Android 13 phone, put it in landscape mode, same issue. Works properly in portrait mode.

              Back when I first reported this issue I assumed it might be due to the OS version (7 on a tablet, versus 13 on my phone). But since I was always using portrait mode on my phone, I didn't realize the issue could be related to display orientation. Well, I didn't realize what was going on until I started using Deja Office on a new Android 13 tablet.

              Can you replicate on your end and request a bug fix?

              Comment

              • Thomas
                DejaOffice Team Member
                • Dec 2010
                • 3008

                #8
                Jeff,

                I was able to replicate this, I have sent it up to our Dev team to resolve.
                - Lead QA

                Comment

                • DejaJeff
                  Member
                  • Jul 2017
                  • 95

                  #9
                  Originally posted by Thomas View Post
                  Jeff,

                  I was able to replicate this, I have sent it up to our Dev team to resolve.
                  Thank you Thomas!

                  Since the time that I posted the update here, I had almost resigned myself that it might not be abled to be replicated and was some issue on my end. I was pulling my hair out for a while, despite even buying a new tablet with Android 13.

                  Thank you very much for following up on this.

                  I'm not asking when it will be fixed, as I recognize that you cannot promise timelines, but if/when it is fixed (and you think of it), please post when an update is available.

                  Comment

                  • Thomas
                    DejaOffice Team Member
                    • Dec 2010
                    • 3008

                    #10
                    Jeff,

                    I will post a link when I have a fix.
                    - Lead QA

                    Comment

                    • Thomas
                      DejaOffice Team Member
                      • Dec 2010
                      • 3008

                      #11
                      Jeff,

                      I believe I have a fix for the issue. We should be pushing an update for DejaOffice officially next week, but If you want to go ahead and give it a try, on the Phone, tap the following link:

                      https://www.dejaoffice.com/androidap...DejaOffice.apk

                      Some phone browsers can have some trouble downloading the file, so if the "Chrome" browser does not work, try downloading with the "Internet" Browser.

                      Once downloaded tap the Download Complete notification to open the installer and choose Install\Update. Reopen DejaOffice, and in the bottom left confirm the build is now 4.4.61 (1654). If so, try editing an event in Tablet Mode and add an attachment. Any change?

                      NOTE:
                      If your Android phone displays an "Install blocked" message, do the following:
                      1) Tap "Settings".
                      2) Check the box for "Unknown sources".
                      3) Tap "OK", then restart the installation.
                      - Lead QA

                      Comment

                      • DejaJeff
                        Member
                        • Jul 2017
                        • 95

                        #12
                        Originally posted by Thomas View Post
                        Jeff,

                        I believe I have a fix for the issue. We should be pushing an update for DejaOffice officially next week, but If you want to go ahead and give it a try, on the Phone, tap the following link:

                        https://www.dejaoffice.com/androidap...DejaOffice.apk
                        Thomas,

                        Sorry for the delay getting back to this.

                        I installed from the link you provided (results in version 4.4.61(1654) ).

                        Now when I attempt to attach a file to a contact with DejaOffice in horizontal landscape orientation, it appears to act as it should, and I can click the save checkmark. But no file is attached.

                        Again, if I do it in portrait orientation it works fine. Not in landscape orientation.

                        Again, same behavior on an Android 7 tablet, Android 13 tablet, and Android 13 phone.

                        Please advise,

                        Jeff



                        Comment

                        • Thomas
                          DejaOffice Team Member
                          • Dec 2010
                          • 3008

                          #13
                          Jeff,

                          I have another small update with some further tweaks for this issue. On the Phone, tap the following link:

                          https://www.dejaoffice.com/androidap...DejaOffice.apk

                          Some phone browsers can have some trouble downloading the file, so if the "Chrome" browser does not work, try downloading with the "Internet" Browser.

                          Once downloaded tap the Download Complete notification to open the installer and choose Install\Update. Reopen DejaOffice, and in the bottom left confirm the build is now 4.4.61 (1659). If so, try editing an event in Tablet Mode and add an attachment. Any change?

                          NOTE:
                          If your Android phone displays an "Install blocked" message, do the following:
                          1) Tap "Settings".
                          2) Check the box for "Unknown sources".
                          3) Tap "OK", then restart the installation.
                          - Lead QA

                          Comment

                          • DejaJeff
                            Member
                            • Jul 2017
                            • 95

                            #14
                            Originally posted by Thomas View Post
                            Jeff,

                            I have another small update with some further tweaks for this issue. On the Phone, tap the following link:

                            https://www.dejaoffice.com/androidap...DejaOffice.apk

                            Some phone browsers can have some trouble downloading the file, so if the "Chrome" browser does not work, try downloading with the "Internet" Browser.

                            Once downloaded tap the Download Complete notification to open the installer and choose Install\Update. Reopen DejaOffice, and in the bottom left confirm the build is now 4.4.61 (1659). If so, try editing an event in Tablet Mode and add an attachment. Any change?
                            Thomas, apologize for the delayed response, I just got around to this. I updated from your link, and the new version is (1660).

                            At first the issue appeared resolved, as I was able to attach a PDF file to a contact in horizontal landscape mode on all three devices (Android 7 tablet, Android 13 tablet, and Android 13 phone).

                            But when I attempted to attach a second file (a random PNG), nothing would happen. So I switched to vertical portrait mode, and it worked. So I deleted the attachments, switched the device(s) back to horizontal landscape mode, tried again, and the multiple file type attachments seem to work after toggling between landscape/portrait/landscape. There might be some logic that remains confused.

                            Again, exact behavior on all three devices. Anyway, I hope this helps. It seems like we are getting closer to squashing this bug .


                            Jeff

                            Comment

                            Working...