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

Adam seems to inset duplicate entry in folders table #1656

Closed
sleupold opened this issue Dec 4, 2018 · 2 comments
Closed

Adam seems to inset duplicate entry in folders table #1656

sleupold opened this issue Dec 4, 2018 · 2 comments

Comments

@sleupold
Copy link

sleupold commented Dec 4, 2018

I'm submitting a ...
[x] bug report => search github for a similar issue before submitting

...about
[x] Content Types or data management
[x] DNN parts

Current behavior

in log4Net, an error is logged about failed SQL Statement
[D:2][T:18][ERROR] DotNetNuke.Data.PetaPoco.PetaPocoHelper - [4] Error executing SQL: ;Exec dbo.AddFolder @0, @1, @2, @3, @4, @5, @6, @7, @8, @9, @10, @11, @12, @13
Cannot insert duplicate key row in object 'dbo.Folders' with unique index 'IX_Folders_FolderPath'. The duplicate key value is (0, adam/Content/7axDIy-p5kqlv8zTxZaowg/).
The statement has been terminated.

Expected behavior

no bug is logged.

Minimal reproduction of the problem with instructions

just from the log, steps I don't know

What is the motivation / use case for changing the behavior?

there should be no error logged / not being tried to insert duplicate entry

Please tell us about your environment:

DNN 9.2.2 on WinS 2016, Client Win10

  • 2sxc version(s): 9.33.0
  • Browser: [Edge | IE 11 ]
  • DNN: [9.2.2 ]
  • Language: [ German ]

Anything you would like to add

@iJungleboy
Copy link
Contributor

There's probably something wrong when ADAM checks if the folder already exists. Would be great if someone would look into this & contribute.

@iJungleboy
Copy link
Contributor

closed because of inactivity - probably already fixed.

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