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

Issue with MMD field default values on certain tenants

Open dgusoff opened this issue 7 years ago • 3 comments

Category

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

Expected or Desired Behavior

Documents with MMD fields with the following characteristics: Multiple Values; a default value set; bound to a site collection level term set; should upload without issue.

Observed Behavior

On some tenants, documents with the attributed described above will fail with message "The URL [server relative url] is invalid. It refer to a nonexistent folder..."

Steps to Reproduce

I tried this on three tenants and was able to reproduce on two. Both tenants that could reproduce are several years old if that matters. Both modern and classic sites are affected.

  1. Create a MMD site column. Bind it to a site collection scoped term set. Make sure there is a term in that term set and set a default value. Check "Allow multiple values"
  2. Add that site column to a document library and try to upload a document via the upload dialog or via drag/drop. The error will then occur.
  3. Interestingly the "New" document command does seem to work properly

I believe this is related to the issue being discussed on https://github.com/SharePoint/sp-dev-docs/issues/4438 . Note the last comment about changes to a taxonomy event receiver. I do believe these two issues are manifestations of the same root cause.

Thanks for your contribution! Sharing is caring.

dgusoff avatar Aug 22 '19 17:08 dgusoff

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

msft-github-bot avatar Aug 22 '19 17:08 msft-github-bot

We had a support ticket open around this, and received the following reply from Microsoft:

Great news! The product team was able to identify a code change that they rolled back in order to resolve the issue ... Please confirm this is resolved so we can update the product team right away.

So it looks like someone at Microsoft owned it and rolled back a code update. It looks like we're back in business, so I'll close this. Thanks!

edit - I mentioned above I felt this was related to a taxonomy event receiver referenced in #4438 . Now that I think about it this issue did have all the hallmarks of a Synchronous ItemAdding or ItemUpdating throwing an exception or returning a Cancel status.

dgusoff avatar Aug 23 '19 04:08 dgusoff

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

msft-github-bot avatar Jan 23 '20 18:01 msft-github-bot