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

Bring2mind Forums

PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 09/14/2007 11:27 PM by  Peter Donker
Scope of "Categories" filtering
 5 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Brian Stevenson
New Member
New Member
Posts:16


--
06/01/2007 8:55 PM

    It appears the "Categories" filtering is a little too inclusive.  It includes documents that are outside of the defined root for the module.

    Steps to reproduce:

    1) Within the true root of DMX, create two subdirectories (collections) under the true root of DMX ("Collection1" & "Collection2").  Make sure that your test user has at least view access to both collections.

    2) Create a new instance of the DMX module on a DNN page with "Collection1" set as the pseudo root.

    3) Add one document called "Doc1" to the "Collection1" collection and assign those documents to a category (Category1).

    4) Add one document called "Doc2" to the "Collection2" collection and assign it to the same cateogory (Category1).

    5) Go to the module instance that has "Collection1" set as the root (the pseudo root).  Click on the Categories link in the DMX menu.

    6) Click "Category1".  You will see both "Doc1" and "Doc2".  "Doc2" should not show up because it's outside of the pseudo root.

    7) While you are still in Category view, if you click the collection link "Collection2" for document "Doc2", you will get this error, "A critical error has occurred. Conversion from type 'DBNull' to type 'String' is not valid."

     

    In my opinion, the categories filter should only show documents that are within the defined root of the module instance.

    Brian Stevenson
    New Member
    New Member
    Posts:16


    --
    06/01/2007 8:57 PM

    I just realized this topic would be better placed under "Storage and Security"

    Brian Stevenson
    New Member
    New Member
    Posts:16


    --
    06/01/2007 9:09 PM
    One other observation. The same scope issue exists within the search engine results. It is showing files outside of the psuedo root.
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    06/18/2007 11:30 PM
    Brian,
    You're correct. This is really a product of the design of the module. The content is meant to be shared across the portal and the module does just that (thereby disregarding the set module root). Having said that, the security is never violated.
    What you want is hard to realize without leaving the portal wide sharing of docs behind or incurring a huge performance penalty. Neither I consider worth the price for it. Note that for some it is a benefit that the categories will show everything.
    Kind regards,
    Peter Donker
    Mark Pringle
    New Member
    New Member
    Posts:4


    --
    09/14/2007 2:42 PM
    This limitation is a problem for me as well. It would be great if there were some future enhancment to DMX that would allow Categorization based on the current module's root directory. Anyway, thanks for a great module.
    Peter Donker
    Veteran Member
    Veteran Member
    Posts:4536


    --
    09/14/2007 11:27 PM
    My pleasure. I've fixed the error. Latest version is 03.05.00.
    You are not authorized to post a reply.