How to unexpire an expired item?

Nov 26, 2007 at 2:31 AM
Just a minor comment related to workflow.

I ran into a strange situtation after I deleted an item.
First I did not know that deleted items need to be "restored".
Instead I copied the deleted item and pasted it into its original location.
However, the copy of the deleted item did not show up in my menu (driven by the site map).
After looking around a bit, I finally noticed that the copied item was "expired".
I do not see any obvious way of unexpiring an expired item. Is there one?
If not, perhaps copying of deleted items should be disabled or the user should be told
to use restore instead.
Coordinator
Nov 26, 2007 at 8:19 PM
Once again, good point. The trashcan should definitely handle copy and move. I'll be fixing this. Generally speaking you can unexpire items by changing the expired property. To enable editors doing this you can decorate your item class with an WithEditablePublishedRange attribute.

/Cristian


drip37070 wrote:
Just a minor comment related to workflow.

I ran into a strange situtation after I deleted an item.
First I did not know that deleted items need to be "restored".
Instead I copied the deleted item and pasted it into its original location.
However, the copy of the deleted item did not show up in my menu (driven by the site map).
After looking around a bit, I finally noticed that the copied item was "expired".
I do not see any obvious way of unexpiring an expired item. Is there one?
If not, perhaps copying of deleted items should be disabled or the user should be told
to use restore instead.

Coordinator
Nov 26, 2007 at 8:21 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.