Tripal: Need a function to 'unpublish' content

Created on 14 Sep 2018  路  9Comments  路  Source: tripal/tripal

Feature Request/Discussion


  • [N] does this feature attempt to solve an existing problem with Tripal?
  • [x] are you open to developing or collaborating on an extension module if this is not a good fit for Tripal Core (no pressure here -just good to know upfront :-) )
  • [N] do you Need this feature ASAP?

Description


We need a function to 'unpublish' content, similar to the 'cleanup orphaned feature' function in Tripal 2

Your Specific Use Case


From time to time, our curators may request to delete data in bulk from underlying chado database. We need a 'unpublish content' function to remove the entities associated with those chado records.

Generally Applicable


Additional information/screenshots

PR Submitted discussion enhancement

Most helpful comment

I'll start a new PR to port the functionality over from alchemist.

All 9 comments

We (well, @almasaeed2010 ) have added this functionality to our tripal entity helper tool tripal_alchemist for now. If you delete the chado records, then alchemist has a function to "delete orphaned entities" which will remove them.

This a great. Thanks @bradfordcondon
Any chance this will be incorporated into Tripal core since this was part of the core functions in T2?

I will wait to see what other community members/PMC members think. Seems like a good case for including it in the core.

@spficklin @laceysanderson what are your thoughts on porting this feature into core. This constitutes a new feature and therefore a PMC vote.

I think we should definitely have unpublish functionality in core and with it already written in Tripal Alchemist I think that is an amazing place to start!

So consider this a vote in favor for me 馃憤

I agree that it makes sense to have this functionality in core as we had it in Tv2.

I'll start a new PR to port the functionality over from alchemist.

Merged so I believe this can be closed 馃帀

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bradfordcondon picture bradfordcondon  路  11Comments

spficklin picture spficklin  路  7Comments

almasaeed2010 picture almasaeed2010  路  9Comments

bradfordcondon picture bradfordcondon  路  4Comments

mpoelchau picture mpoelchau  路  7Comments