Bug #6974

Digital Object descendants not working

Added by Mike Gale almost 8 years ago. Updated almost 8 years ago.

Status:VerifiedStart date:07/11/2014
Priority:MediumDue date:
Assignee:Mike Gale% Done:

0%

Category:Digital object
Target version:Release 2.1.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

Since we gutted the nested set in digital_object, if you call $digital_object->descendants you will not get anything any more, as the query in property relies on LFT/RGT values. We need to change this to use parent_id in the query instead.

This was preventing regen-derivatives task from deleting descendants/derivatives during the process.

History

#1 Updated by Mike Gale almost 8 years ago

  • Status changed from New to Verified

Also available in: Atom PDF