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

SPFx ListViewCommandSet extensions are not loaded in List webpart

Open mbijei opened this issue 6 years ago • 24 comments

Category

  • [x] Bug

Describe the bug

We have several different List View Command Set extensions deployed to different tenants. We use them in lists and also in the list webparts in modern pages. On Thursday (May 7th) we noticed that extensions are no longer being loaded in the list webparts. They work fine in the lists.

There are no errors in the DevTools console from extensions. All pages have a weird error from sp-pages-assembly "Telemetry manager failed to initialize. Error: Logging buffer overflow hit before any logging handler was registered". But I'm not sure if this is relevant in any way.

Extension files for List View Command Set extensions are not loaded from cdn. Field Customizer extension still works fine in the list webpart, all files for it are loaded.

I tried completely deleting and re-installing extension in one of the site collections - no help.

Steps to reproduce

  1. Go to site collection where ListViewCommandSet extension is installed
  2. Check that extension is loading in the list
  3. Open any page and add a List webpart
  4. Extension doesn't show up, no extension files are loaded from cdn

Expected behavior

We expect List View Command Set extension to show up in the command bar of the List webpart

Environment details (development & target environment)

  • OS: Windows 10
  • Target Environment: SharePoint Online
  • Framework: Node.js v8
  • Browser(s): Chrome v81, Edge
  • Tooling: SPFx v1.10.0

mbijei avatar May 11 '20 08:05 mbijei

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

msft-github-bot avatar May 11 '20 08:05 msft-github-bot

Dupe of #5704?

andrewconnell avatar May 11 '20 10:05 andrewconnell

I don't think so. I can reproduce their issue as well. But it their case, I can see all the extension files loaded from the cdn. Looks like it just doesn't get triggered.

In our case, none of the List View Command set files from CDN are loaded for the List webpart. No mater if we open page directly, or from navigation

mbijei avatar May 11 '20 10:05 mbijei

I have the same problem. We don't know if it is a bug on Office365/SP Online, or if something has changed in listview command set extensions development/configuration to allow this kind of components to be displayed on list webparts.

Please, we have several customers using this feature.

Thank you

futty54 avatar May 11 '20 16:05 futty54

We also have the same problem, the buttons went missing (or we just noticed) same time this was posted. We did some digging and it seems this issue already occurred before? here

We were able to make it work until this issue so I'm not sure but maybe its just a manifest change or something for this to be fixed?

Please advise. Thanks.

dejadejadosgit avatar May 12 '20 03:05 dejadejadosgit

Can confirm this. Using this feature a lot in our solutions. If we can have a fix soon it would be great.

Thanks.

nikolayyordanov avatar May 13 '20 11:05 nikolayyordanov

I'm not sure if this is related or not, but our command sets although loading fine on the library at first will bug out on a partial page refresh (switch between libraries or filter by a column). Could the OP test this? Guess that would make it a dupe of #5704

RowanAdvisors avatar May 13 '20 20:05 RowanAdvisors

Switching between the libraries also causes the extension to disappear for us. However, filtering or sorting by a column seem to work fine, extension keeps appearing and working.

mbijei avatar May 14 '20 04:05 mbijei

Anyone with a workaround on this bug? I tried to register the commandset with registrationid 119 but the script is still not loading.

nikolayyordanov avatar May 18 '20 18:05 nikolayyordanov

We haven't found any good workaround. We are considering remaking our extensions to the webparts or field customizer extensions since we need the functionalities to work and we can't wait long for a fix. We registered this in M365 support too, but no news yet. If we get any information from the ticket, I will update this topic as well.

mbijei avatar May 19 '20 04:05 mbijei

@mbijei I have a customer reported exact same issue which has been investigating by the team. Do you mind share the M365 support ticket # so I can link it to mine?

aaronmi avatar May 21 '20 16:05 aaronmi

I am not being able to see the buttons when i add the document library webpart in a page. However the command set buttons are coming up in the corresponding document library

Debopoma-netwoven avatar May 27 '20 10:05 Debopoma-netwoven

same issue

Freerider38 avatar Jun 03 '20 12:06 Freerider38

@aaronmi Sorry for long time to respond. Our ticket number is #:19924412. Do you mind sharing yours, so we can reference it too?

So far no good news from our ticket. M365 support said there were some updates done, but extension still doesn't work for us.

mbijei avatar Jun 04 '20 11:06 mbijei

@aaronmi Sorry for long time to respond. Our ticket number is #:19924412. Do you mind sharing yours, so we can reference it too?

So far no good news from our ticket. M365 support said there were some updates done, but extension still doesn't work for us.

@mbijei we raised a ticket as well and the number of our ticket is #20284100

jsidler avatar Jun 04 '20 15:06 jsidler

This morning all ListViewCommandSet extensions in the List webparts just started to work for us. I hope it's same for everyone else, thank you for sharing your experiences.

I still have the issue with the extensions disappearing when switching between lists in navigation (on partial load), but that's other ticket. ( #5704 )

mbijei avatar Jun 05 '20 06:06 mbijei

Thanks... seeing other reports of the extensions working as well so I'll go ahead and close this.

andrewconnell avatar Jun 05 '20 17:06 andrewconnell

Hello again! Actually, after working for a half of the day, extensions are gone from List webpart again. We see this in all tenants, for all of our List View Command Set extensions.

mbijei avatar Jun 06 '20 10:06 mbijei

Hello again! Actually, after working for a half of the day, extensions are gone from List webpart again. We see this in all tenants, for all of our List View Command Set extensions.

Yes, issue is back again and I reopened the ticket at Microsoft side as well.

jsidler avatar Jun 08 '20 10:06 jsidler

@mbijei and @jsidler, sorry for a long time to respond. My ticket# 20125412. The MS product team had a fix and started rollout to Prod. Unfortunately, it was rolled back due to a critical regression issue in that build. A new build including the fix has started rollout to Prod since last Friday.

aaronmi avatar Jun 08 '20 17:06 aaronmi