Error when deleting shared files

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
8/28/2008 4:12:10 PM
Gravatar
Total Posts 45

Error when deleting shared files

This message appears next to the delete button after checking a file and click the button:

The DELETE statement conflicted with the REFERENCE constraint "FK_mp_SharedFilesHistory_mp_SharedFiles". The conflict occurred in database "wrsconnect_mojocms", table "dbo.mp_SharedFilesHistory", column 'ItemID'. The statement has been terminated.

This looks like a referential integrity issue. I would assume that when you delete a row in mp_SharedFiles, the associated rows in mp_SharedFilesHistory should be blown out. Of course, if you want to track deletions as part of the history, there probably shouldn't be constraint on the ItemID foreign key in mp_SharedFilesHistory.

8/29/2008 7:01:31 AM
Gravatar
Total Posts 18439

Re: Error when deleting shared files

I have fixed this in my local copy, it will be in svn trunk by late tonight.

Thanks,

Joe

You must sign in to post in the forums. This thread is closed to new posts.