The remote_import and remote_import_list_sites task types aren't available to views when filtering by task type.

I've attached a (very handy) views bulk operations view that demonstrates this issue.

Notice that the remote_import and remote_import_list_sites types do not appear in the task type filter.
The only way to get them to show up with the view is to switch from 'Is one of' to 'Is not one of'.

Comments

millenniumtree created an issue. See original summary.

millenniumtree’s picture

Issue summary: View changes
StatusFileSize
new12.5 KB
colan’s picture

Version: 7.x-3.8 » 7.x-3.x-dev
Component: Code » User interface
Category: Bug report » Feature request
Status: Active » Needs work

Looks useful. Would you be able to provide a patch so we can add this to the codebase? Thanks!

millenniumtree’s picture

thanks for the status update.
I don't really know the aegir codebase very well - just wanted to throw this out there as a potential issue to see if someone else knows where to look.

millenniumtree’s picture

Status: Needs work » Needs review
StatusFileSize
new703 bytes

I found that the views task handler class hosting_task_handler_filter_type wasn't pulling 'server' tasks, only 'site', and 'platform'.
Here's a patch!

helmo’s picture

Status: Needs review » Fixed

Thanks

helmo’s picture

Project: Aegir Hosting Remote Import » Hosting

Moving to the hosting project, that's where I committed the patch.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.