Select the search type
  • Site
  • Web
Search
You are here:  Support/Forums
Support

Bring2mind Forums

Cannot Add New Files to a New Folder
Last Post 05/23/2008 9:32 AM by Peter Donker. 5 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
stevepalm
New Member
New Member
Posts:4


--
05/15/2008 1:52 AM

I am not able to add files to a new folder.  I am able to add new files to old folders.  Everything seems to function ok, but I can not see the new files in the folder - through DNN or WebDav.  The files appear to be added to the /Portals/0/DMX directory.  It seems that the DB is not hooked up correctly.

When files are added to a new folder using Webdav, the file is visable in WebDav, but not in DNN.

I am experiencing the problem with DMX4.02.02 and DNN4.08.02. 

Thank You

Steve

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/18/2008 8:37 PM
Steve,

There must be something different about the permissions on this folder. Is there any role that has 'approval' rights?
To further debug you could also have a look at the DMX_Entries table. It should create a new record after the upload. Is it there?

Peter
stevepalm
New Member
New Member
Posts:4


--
05/21/2008 9:18 PM

There are entries in the DMX_Entries table for the new non-visible files.  I found that they are tagged IsApproved='False' and I do not have any folders that are marked for approval.  It appears that I am not able to add files to new folders, because I can add files to older folders.  The folders that I could not add files to a few days ago, now I can add files and they are immediately visible.

I do not want to use the approval process for this application.  How is the Approval process supposed to work.

I have clients waiting, please respond promptly.

Steve

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/22/2008 12:21 AM
Steve,

If no approval role is defined for a particular item (or the containing folder) you should have no approval issues. From your post you claim there are no approvals being specified for any folder. I have no other explanation for what you're seeing, unfortunately.
You can try to remove all approval through SQL:
1. Go to DMX_Permissions and note the one called 'APPROVE'. Note the permissionID
2. Run: DELETE FROM DMX_EntryPermissions WHERE PermissionID=x where x is the number you noted above.
3. Run: UPDATE DMX_Entries SET IsApproved=1
Let me know how it goes.

Peter
stevepalm
New Member
New Member
Posts:4


--
05/22/2008 3:18 PM

Since my last reply, I have found the problem. 

In the DMX_EntryPermissions table I found that there were many folders and files with PermissionID=Approval.  With further investigation, many of the Approval tagged were associated with a RoleID=3 and RoleID no longer exists - RoleID=3 was delete from the Roles.  And the critical piece is that EntryID=0 (The Root Directory) was tagged with Approval for RoleID=3.  This could not be seen through the user interface because the Role was deleted.  Also, I could not find in the User Interface how to change the permissions of the root directory.

To fix the problem, we cleaned out all entries in the EntryPermission table with RoleID=3 and cleared all the entries with PermissionID=4 (Approval).  Now the files and folders are behaving as expected.

Thank you for your help.

Steve

 

Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
05/23/2008 9:32 AM
Hi Steve,
Interesting case. I'll make a note of it.
Thanks,
Peter
You are not authorized to post a reply.