Jump to Navigation

Delete and Undelete in Fez

Blogs > General Library Blog
in

I've just commited changes to Fez that support the fedora 'D' object state which is the way to delete items in fedora without purging them. In previous version of Fez, deleting objects meant they were purged from fedora. In the next version, deleting an object will just set the object state to 'D' in fedora and remove the object from the Fez index so that it doesn't show up in searches etc.

I've also written an interface for finding and undeleting fedora objects that have the 'D' state set. This process is similar to the rewritten 'Discover new fedora objects' management function.

To get this undelete functionality, do an svn update or checkout, hit the /upgrade url and import the /upgrade/workflows_delete.xml workflow. (NOTE: svn trunk is by no means a stable or well tested branch but until we do a release, it's the way to go if you need bleeding edge features)

I'm not going to be working on Fez for a couple of weeks as I need to play catchup on a few other software projects but I'll still be on the mailing lists and putting in a few bugfixes in my spare time... (and I'd like to write a LOT more PHPUnit tests. If anyone out there feels like they want to learn Fez a lot more, I recomend writing unit tests and sending your work in)

Also drop me a line here if you are going to the OSDC