Details

    • Type: Technical Testing
    • Status: Closed
    • Priority: Minor
    • Resolution: Completed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Sprint:
      S01E02 - Giants Enigma, S01E03 - Floating Bottle, S01E04 - Turtles Swamp

      Description

      Bugs found:

       - PASS
       - To Do
       - FAIL

      • Impeditive:
        Ticket Title QA Status
        ? ?
      • Not impeditive:
        Ticket Title QA Status
        ? ?

      Case 1:

      Can only select Documents and Media of type image or jpeg(Can display specific content type using itemMimeType)

      1. Add a document type to the documents and media admin with a text field
      2. Add two new documents using that document type, each with an image file(one of type image/jpeg and another of any other type)
      3. Create a fragment with this configuration:
        {
            "fieldSets": [
        		{
        		"fields": [
        			{
        			"name": "itemSelector1",
        			"type": "itemSelector",
        			"label": "Image",
        			"typeOptions": {
        				"itemType" : "com.liferay.portal.kernel.repository.model.FileEntry",
        			        "itemSubtype": DLFileEntryType-fileEntryTypeID"(whatever it is for structure),
        				"mimeTypes": ["image/jpeg"]
        			     }
        			}
        		   ]
        	     }
        	]
        }
        
      1. And this HTML:
        <div class="fragment_img">
          ${configuration.itemSelector1}
        </div>
        
      1. Add a new masters page and add your created fragment to the page
      2. Click on the fragment configuration
      3. Assert you can only select/upload the image/jpeg type image from your specific document type
      4. Select your uploaded(type image/jpeg) image
      5. Assert it is displayed correctly(depending on your html configuration)

        Attachments

          Activity

            People

            • Assignee:
              brooke.dalton Brooke Dalton
              Reporter:
              brooke.dalton Brooke Dalton
              Recent user:
              Brooke Dalton
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package