WebGUI
      Click here to register.
      
irc://irc.freenode.net#webgui

iPhoneGuy: WebGUI is a pile of crap.
rizen: If WebGUI is such a pile of crap, why do you use it?
iPhoneGuy: Because it's the best pile of crap out there.

If this is what people who hate us are saying, imagine what people who love us will say. Come join us on IRC.


     Report a Bug > WebGUI Bug Tracker

Pending version tag doesnt get deleted when denied.

User grnoc
Date 5/30/2007 10:10 am
Severity Critical (mostly not working)
Version WebGUI 7.3.18
Views 254
Rating 0    Rate [
|
]
Karma Rank 0.000000
Previous · Next
User Message
grnoc

The standard version approve/deny workflow workflow opens up a version tag if it is denied (by running Unlock Version Tag and Notify Owner). This was causing confusion for my users, so I created a new approve/deny workflow (Trash Version Tag and Notify Owner) The problem is that the pending version tag never gets trashed. It just remains in pending version tag limbo until the end of time...or until i purge it from assetVersionTag.

This seems like a bug to me with the trash version tag activity. It seems as if the activity cannot delete a version tag that is pending.

-Chad 

 



Back to Top
Rate [
|
]
 
 
colink

TrashVersionTag call VersionTag->getAssets.  If you read through the code, there is an option to include pending Assets.  TrashVersionTag does not send that option, so it's actually doing what it is told.

The real question is whether that is correct :) 



Back to Top
Rate [
|
]
 
 
Graham
Be aware that the Trash Version tag activity moves all the assets to the trash.  You probably don't want that as the deny activity.

Back to Top
Rate [
|
]
 
 
grnoc

Yes. This is what I wanted to have happen, but as colink stated. It doesnt trash pending tags. 

I wanted to delete denied tags bc it was confusing my users have more than 1 tag that reads weekly report....

Soon I plan on attaching revised reports to the denied version tag, for better tracking. Which is how things should have been done all along, but we skimped on this feature bc we were pressed for time.

I guess this thread can be closed.


Thanks for the info, colink, Graham.

-Chad 



Back to Top
Rate [
|
]
 
 
Graham
The problem I had in mind was for editing an existing asset.  If the edits were denied, it wouldn't revert the changes.  It would delete the asset.

Back to Top
Rate [
|
]