Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation bug when pasting in new list entries #10081

Open
2 of 9 tasks
elsiegit opened this issue Jan 15, 2025 · 7 comments
Open
2 of 9 tasks

Validation bug when pasting in new list entries #10081

elsiegit opened this issue Jan 15, 2025 · 7 comments
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.

Comments

@elsiegit
Copy link

Target SharePoint environment

SharePoint Online

What SharePoint development model, framework, SDK or API is this about?

💥 SharePoint Framework

Developer environment

None

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

  • browser version
  • SPFx version
  • Node.js version
  • etc

Describe the bug / error

When pasting in new entries into modern view lists (WebViewList in URL suffix), it is working correctly if all columns in the view are pasted in as a single paste action, however if columns are pasted in as separate past actions, then a validation error appears which does not clear even though there are no validation issues. I have successfully pasted the same data as a single action but if I try to paste individual columns then the issue occurs. I have tried unhiding all columns in the view to ensure there are no other validation issues.

Steps to reproduce

  1. Edit in grid view
  2. Add new item
  3. Paste in one or multiple rows into a single column

Expected behavior

I expect to be able to paste in columns as needed, and the item to be pass validation once all mandatory fields are completed and all other validations have passed.
image

@elsiegit elsiegit added the type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs. label Jan 15, 2025
@reedpamsft
Copy link
Contributor

@elsiegit can you share a little video? The error icon should also bring you to the column with the error; can you provide more details on the column with the error and the data you're pasting?

@elsiegit
Copy link
Author

@elsiegit can you share a little video? The error icon should also bring you to the column with the error; can you provide more details on the column with the error and the data you're pasting?

Here you go, two videos.... same dataset, (1) works fine as a single paste action, (2) fails if multiple paste actions.

No validation error details / tooltips are available. Once this bug occurs, all subsequent pasting fails until I leave the view and return to it. This has only started occurring in the past couple of days and I have not made any changes to any list settings / configuration in this time.

Media3.mp4
Media2.mp4

@reedpamsft
Copy link
Contributor

@elsiegit interesting, thanks for sharing! I'll look into it.

@reedpamsft
Copy link
Contributor

@elsiegit thanks for the report! I think we've figured this out. We're working on a fix and will roll it out in the next few days.

@elsiegit
Copy link
Author

elsiegit commented Feb 1, 2025

@elsiegit thanks for the report! I think we've figured this out. We're working on a fix and will roll it out in the next few days.

Hi, issue is still persisting... do you have an ETA for resolution please?

@reedpamsft
Copy link
Contributor

@elsiegit can you open up devtools in your browser and type _spModuleLink into the console, hit enter, and let me know what the output is?

@elsiegit
Copy link
Author

elsiegit commented Feb 3, 2025

@elsiegit can you open up devtools in your browser and type _spModuleLink into the console, hit enter, and let me know what the output is?

Here you go, hope it helps:

{buildNumber: 'odsp-web-prod_2025-01-24.002', targetBuildNumber: null, isBuildAsExperimentRunning: false, manifestName: 'ListsEnterprise', scenarioName: 'ListsEnterprise', …}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug-suspected Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Projects
None yet
Development

No branches or pull requests

2 participants