sp-dev-docs icon indicating copy to clipboard operation
sp-dev-docs copied to clipboard

Highlighted content webpart fails when searching for ContentClass equals STS_List_DocumentLibrary

Open hamedy opened this issue 7 years ago • 3 comments

Category

  • [ ] Question
  • [ ] Typo
  • [x] Bug
  • [ ] Additional article idea

Expected or Desired Behavior

To see a list of document libraries on the site.

Observed Behavior

TECHNICAL DETAILS

ERROR:

Cannot read property 'indexOf' of null

CALL STACK:

TypeError: Cannot read property 'indexOf' of null

at e._parseURI (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-05-03.013/sp-pages-assembly_en-us_5493085219cddd015fe284db23f333b4.js:995:77963)

at new e (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-05-03.013/sp-pages-assembly_en-us_5493085219cddd015fe284db23f333b4.js:995:73483)

at e.getThumbnailUrl (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-05-03.013/sp-pages-assembly_en-us_5493085219cddd015fe284db23f333b4.js:1070:38581)

at Function.e.getContentPreviewInfo (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-05-03.013/sp-contentrollup-webpart-bundle_en-us_25bc4a90a223ba290d5ee90ceaffbf61.js:191:88332)

at t.transposeRow (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-05-03.013/sp-contentrollup-webpart-bundle_en-us_25bc4a90a223ba290d5ee90ceaffbf61.js:191:103456)

at https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-05-03.013/sp-pages-assembly_en-us_5493085219cddd015fe284db23f333b4.js:2678:62993

at e.transposeRow (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-05-03.013/sp-pages-assembly_en-us_5493085219cddd015fe284db23f333b4.js:2678:77770)

at e.transpose (https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-05-03.013/sp-pages-assembly_en-us_5493085219cddd015fe284db23f333b4.js:2678:78031)

at https://spoprod-a.akamaihd.net/files/sp-client-prod_2019-05-03.013/sp-pages-assembly_en-us_5493085219cddd015fe284db23f333b4.js:2678:62949

Steps to Reproduce

add the webpart to a modern page, filter on ContentClass equals to STS_List_DocumentLibrary

Thanks, Hamed

hamedy avatar May 28 '19 11:05 hamedy

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

msft-github-bot avatar May 28 '19 11:05 msft-github-bot

Hey @hamedy , thanks for reporting, we are addressing this bug.

qianghuang1 avatar Jun 12 '19 07:06 qianghuang1

This issue is being closed as part of an issue list cleanup project. Issues with no activity in the past 6 months that aren't tracked by engineering as bugs were closed as part of this inititive. If this is still an issue, please follow the steps outlined to re-open the issue.

msft-github-bot avatar Jan 22 '20 21:01 msft-github-bot