Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-123651

Review Google Drive and OneDrive behaviour with title/fileName

    Details

      Description

      With the new behavior with the filename / title we must review how the files created and edited with Google Drive and OneDrive behave with it.

      When creating a file (from any of the "drives") the file must be shown on DM with the title, and the filename must be the title with the extension (each one of each file type)

      One thing that we must check is that when you are providing a unique title, you should take in consideration that the final filename (the title plus the extension) should be unique too or an error will be thrown, so now the extension is provided to check the title and the title plus the extension.

       

      Acceptance criteria

      Given a site with the integration with google docs enabled

      When a user creates a document/presentation/spreadsheet with "doc1" as title

      Then the docs are stored in Liferay with the right extension in filename

      And modifying the title do not alter the filename

       

      Given a site with the integration with one drive enabled

      When a user creates a document/presentation/spreadsheet with "doc1" as title

      Then the docs are stored in Liferay with the right extension in filename

      And modifying the title do not alter the filename

       

      ID Test Priority Test Scenarios Covered by Backend (Unit/Integration)? Test to add
       1.29  5 The file name will be added with ".docx" as the extension after creating a Google doc No  Update existing test: GoogleDrive#EditGoogleDoc 
       1.30  5 The file name will be added with ".xlsx" as the extension after creating a Google sheet No Update existing test: GoogleDrive#EditGoogleSheet 
       1.31  5 The file name will be added with ".pptx" as the extension after creating a Google slide No Update existing test: GoogleDrive#EditGoogleSlide
       1.32  4 The file name will not be altered when editing the Google Drive document title  No GoogleDrive#AddGoogleEntryWithDuplicateTitle
       1.33  4 The title and the file name will be renamed when the created Google docs title duplicates the existing document title No  GoogleDrive#AddGoogleEntryWithDuplicateTitle 
       1.34  4 The title and the file name will be renamed when the created Google docs title duplicates the existing document file name No   GoogleDrive#AddGoogleEntryWithDuplicateFileName
       1.35  5 The file name will be added with ".docx" as the extension after creating a One Drive Word No  Update existing test:OneDrive#AddWordDocument
       1.36  5 The file name will be added with ".pptx" as the extension after creating a One Drive Powerpoint No  Update existing test: OneDrive#AddPowerPointPresentation
       1.37  5 The file name will be added with ".xlsx" as the extension after creating a One Drive Excel No  Update existing test: OneDrive#AddExcelSheet
       1.38  4 The file name will not be altered when editing the One Drive document title No  OneDrive#AddOneDriveEntryWithDuplicateTitle 
       1.39  4 The title and the file name will be renamed when the created One Drive docs title duplicates the existing document title No OneDrive#AddOneDriveEntryWithDuplicateTitle 
       1.40  4 The title and the file name will be renamed when the created One Drive docs title duplicates the existing document file name No   OneDrive#AddOneDriveEntryWithDuplicateFileName

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              austin.chiang Austin Chiang
              Reporter:
              alicia.garcia Alicia Garcia
              Recent user:
              Sophia Zhang
              Participants of an Issue:
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Packages

                  Version Package
                  7.4.0 CE GA1 DXP 7,4
                  7.4.13 DXP GA1
                  Master