Command set are added many times as i deselect and i select a list items ;
here are my configuration (package.json):
_{
"name": "generate-documents",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"build": "gulp bundle",
"clean": "gulp clean",
"test": "gulp test"
},
"dependencies": {
"@microsoft/decorators": "1.6.0",
"@microsoft/sp-core-library": "1.6.0",
"@microsoft/sp-dialog": "1.6.0",
"@microsoft/sp-listview-extensibility": "1.6.0",
"@types/es6-promise": "0.0.33",
"@types/react": "15.6.6",
"@types/webpack-env": "1.13.1",
"axios": "0.18.0",
"webfontloader": "^1.6.28"
},
"devDependencies": {
"@microsoft/sp-build-web": "1.6.0",
"@microsoft/sp-module-interfaces": "1.6.0",
"@microsoft/sp-office-ui-fabric-core": "1.6.0",
"@microsoft/sp-webpart-workbench": "1.6.0",
"@types/chai": "3.4.34",
"@types/mocha": "2.2.38",
"@types/node": "8.5.8",
"ajv": "~5.2.2",
"camljs": "^2.11.0",
"es5-ext": "^0.10.50",
"gulp": "~3.9.1",
"office-ui-fabric-react": "5.83.0",
"sp-pnp-js": "^3.0.10",
"tslint-microsoft-contrib": "~5.0.0"
}
}_
Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.
Have you tried using the latest version of SPFx (v1.8.2) as many issues have been resolved since 1.6...
The same with SPFx v1.8.1. In some site collections the CommandSet is append correctly once. Only in one site collection it is shown multiple times. This occured after weeks after adding the app to this site collection. Formerly everthing worked correctly.
Tenant is NOT in targeted release. Removing app from site collection an readding it does not solve the problem. Used a slighlty modified version of the generator麓s template (Button title, few lines of code in clicked event), but it worked for weeks. We saw the same on another tenant麓s site collection. Also on some tenants the CommandSet disappeared.
Unfortenatly, CommandSet seems still unstable over the past weeks and month at my point of view.
Is there any howto to debug or dig deeper into spo?
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.
Have you tried using the latest version of SPFx (v1.8.2) as many issues have been resolved since 1.6...
Thank you @andrewconnell , as i mentioned in description i already use the SPFx version 1.6.
Also @Philluxx has mentioned that he has the same problem with version 1.8.1.
You recommond me to upgrade anyway to latest version or to latest stable version ?
Before we chase down any issues, yes, I'll ask you to upgrade to the latest version. Since you're already on 1.6, that means you're SPO so please upgrade to latest and confirm it's still present.
Further, please see this https://github.com/SharePoint/sp-dev-docs/issues/4374#issuecomment-516815819 for a known issue ... the fix is currently rolling out (https://github.com/SharePoint/sp-dev-docs/issues/4374#issuecomment-520717740)
Just tried it with SPFx 1.8.2 and got the same result. Here ist my package.json
{
"name": "xxxyyy",
"version": "1.0.0",
"private": true,
"engines": {
"node": ">=0.10.0"
},
"scripts": {
"build": "gulp bundle",
"clean": "gulp clean",
"test": "gulp test"
},
"dependencies": {
"@microsoft/decorators": "1.8.2",
"@microsoft/sp-core-library": "1.8.2",
"@microsoft/sp-dialog": "1.8.2",
"@microsoft/sp-listview-extensibility": "1.8.2",
"@types/es6-promise": "0.0.33",
"@types/webpack-env": "1.13.1"
},
"devDependencies": {
"@microsoft/rush-stack-compiler-2.9": "0.7.7",
"@microsoft/sp-build-web": "1.8.2",
"@microsoft/sp-module-interfaces": "1.8.2",
"@microsoft/sp-tslint-rules": "1.8.2",
"@microsoft/sp-webpart-workbench": "1.8.2",
"@types/chai": "3.4.34",
"@types/mocha": "2.2.38",
"ajv": "~5.2.2",
"gulp": "~3.9.1"
}
}
Just tried it with SPFx 1.9.1. Same result. Just in one site collection
Just tried it with SPFx 1.9.1. Same result. Just in one site collection
Thank you @Philluxx , it work's only in one site collection using SPFx v 1.9.1 ?
Same here. Only working in one site collection, all other get appended buttons. Reprovisioning the site collection does not help. Same problem on two tenants, one of them is on targeted release. SPFX is 1.6.
I'm not clear what "Just in one site collection" means...
@vegardei as mentioned above, since the current version of SPFx is v1.9.1 and 1.6 is nearly 12 months old, I'd ask you to please upgrade to latest & test again. Very well could be bugs have been fixed in the last 12mo with as we've had 6 releases since then.
For others, can you provide a repro project in a public GH repo? I can't repro this with a new command set project using SPFx v1.9.1 & SPO.
@andrewconnell will give upgrading to 1.9.1 a shot, but it should work with 1.8.2 right? @Philluxx tried upgrading to 1.8.2 but he got the same bug.
@vegardei It should but if it's an issue in 1.8.2 but not 1.9.1, then the solution is to upgrade. If not, then it's something else. Process of elimination :)
This issue has been automatically marked as stale because it has marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within next 7 days of this comment. Thank you for your contributions to SharePoint Developer activities.
Closing issue due no response from original author. If this issue is still occurring, please open a new issue with additional details. Notice that if you have included another related issue as additional comment on this, please open that also as separate issue, so that we can track it independently.
Issues that have been closed & had no follow-up activity for at least 7 days are automatically locked. Please refer to our wiki for more details, including how to remediate this action if you feel this was done prematurely or in error: Issue List: Our approach to locked issues