Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-17318

Node of type app:filelink & app:folderlink cause entire parent folder content not to load in Alfresco Mobile for Android

    Details

      Description

      Description

      The customer uses app:filelink and app:folderlink to create links to files in Share. These work fine but the folder containing any such node will not load in Alfresco Mobile for Android

      Steps to reproduce

      1.) Edit ../tomcat/webapps/share/WEB-INF/classes/alfresco/form-config.xml

      2.) change line 45 from

      <type name="noderef" template="/org/alfresco/components/form/controls/readonly.ftl" />
      to
      <type name="noderef" template="/org/alfresco/components/form/controls/textfield.ftl" />

      3.) Restart alfresco and log into Share
      4.) Create a site and then create folders LinkRoot and Links under the site document library
      5.) Add a folder called Folder1 under LinkRoot and copy the NodeRef
      6.) Add content called Doc1 under LinkRoot and copy the NodeRef
      7.) Go into the Links folder and click on Create > Plain Text file
      8.) Change the end of the URL after &itemId= from

      &itemId=cm:content&mimeType=text/plain
      

      to

      &itemId=app:filelink
      

      then hit Return

      9.) Enter LinkDoc1 as the Name and the NodeRef value as the Link Destination

      10.) Using the NodeRef for Folder1, repeat steps 7-9 changing app:filelink to app:folderlink in step 8

      11.) Open the Alfresco Mobile for Android and browse to the site. Expand the document library to see the LinkRoot and browse to Links folders. The following error appear:

      An error occurred : null
      No files found
      !AlfrescoService.2!CMIS_ITEM
      

      Expected Behaviour

      The expectation is to see the content of the folder even if links are filtered out so no error is returned browsing document library, or to fully support links.

      Observed Behaviour

      Error when browsing to any folder containing one link

      Analysis to date

      Reproduced against alfresco 5.0.2.0
      Used Alfresco Mobile 1.7.0 on Android 6.0 r1 on VMWare to reproduce (http://rwthaachen.dl.osdn.jp/android-x86/65890/android-x86-6.0-r1.iso)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                closedbugs Closed Bugs
                Reporter:
                jguay Julien Guay [X] (Inactive)
              • Votes:
                1 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: