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

Items can't be duplicated with 8-char random string ID based data types #804

Open
wwwysocki opened this issue Mar 28, 2022 · 0 comments
Open

Comments

@wwwysocki
Copy link
Contributor

Repro:

  1. Create a global data type or page data folder (use defaults).
  2. For the GUID, select 8-char Random String
  3. Add at least 1 field, e.g. String (use defauls)
  4. (For page data folder type, add it to a page)
  5. Add an item of this type.
  6. Duplicate the item

Expected:

Duplicated OK

Actual:

A server error with an exception

System.ArgumentException: datasetParameter name: Key violation error. A data element with the same dataId is already added. Type: Test.Bzbz
at Composite.Plugins.Data.DataProviders.XmlDataProvider.XmlDataProvider.AddNew[T](IEnumerable`1 dataset)

Note:

Data types with IDs based on GUIDs or 4-char Random Strings seem to be working OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants