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

Bring2mind Forums

Add/Edit category issue
Last Post 06/08/2012 4:31 PM by Peter Donker. 4 Replies.
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
valentino
New Member
New Member
Posts:9


--
06/05/2012 9:52 AM
Hi everybody.

When I add or edit a category, the entries in DMX_Categories are deleted and replaced with new entries (new CategoryId, same CategoryName) and all entries in DMX_EntryCategories are deleted.

Is this a problem with my installation of DMX? Can you please show me a way to solve this problem?

I'm using DMX 6.0.3 (updated from DMX 6.0.2) on DNN 06.01.05 (142)

Thank you for your attention.

__
valentino
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/05/2012 10:15 PM
Hi Valentino,

Try using the "Non Ajax" Category Edit screen. The button is at the bottom of the edit screen. I'll see if I can add some code to make the other UI more robust.

Peter
valentino
New Member
New Member
Posts:9


--
06/07/2012 9:57 AM
Hi Peter, thank you for your answer.
Using the NoAjax UI I can edit the current categories without altering the CategoryId but how can I add new categories?

Thank you for your attention.

__
valentino
valentino
New Member
New Member
Posts:9


--
06/07/2012 10:08 AM
Hi Peter,
sorry but in my previous message I said something wrong.

Even with the No Ajax UI, if a file is assigned to any category, editing the categories involves the creation of new entries in DMX_Categories and the deletion of the entries in DMX_EntryCategories.

Thank you for your attention

__
valentino
Peter Donker
Veteran Member
Veteran Member
Posts:4536


--
06/08/2012 4:31 PM
Hi Valentino,

Sorry, I can't replicate that. The deletion code is also only in the section behind the "delete" button. So as long as you didn't delete any categories, there is no way any categories would be deleted (and subsequently re-added).

Peter
You are not authorized to post a reply.