Problem/Motivation

When a Feed breaks, there isn't always enough feedback for the user to know that the feed is locked and how to unlock it.

Steps to reproduce

Create a Feed Type.
Create a Feed.
Run a bad import (maybe with a buggy preprocessor hook) that breaks the feed.

Result: the Operations dropdown contains only Edit (and Devel, if installed), and it's difficult for the user to know why the Import options have disappeared. Similarly, the Edit page for the Feed only has Save, not Save and Import, but again, there's no Unlock link on this page, so the user can't tell why the Import option is gone.

Proposed resolution

When a Feed has become locked, add an Unlock option to the Operations dropdown (and any other screens where Unlock does not currently appear, like the Feed's edit page at https://example.org/feed/4/edit )

This is related to Damaged Import Process. Like that user, I was mystified when one of my feeds suddenly stopped having an Import option, when the others all had one. I tried several approaches to try to get it working, and it's a difficult issue to search on. (The solution on that issue turned out to be something else, but that was the only mention I found of locked Feeds, and the only info I found that helped me unlock my own locked Feed.)

This relatively simple change to the UI could save a lot of time for other users who end up with a locked feed.

Thank you!

Comments

Kristi Wachter created an issue. See original summary.

megachriz’s picture

Good suggestion, I’ve added your issue to #3165018: [meta] Feeds intermediate issues. This is an issue that collects Feeds issues that seem to be doable with little experience.

govind.maloo’s picture

Added patch for unlock operation.

Thanks
Govind

govind.maloo’s picture

Status: Active » Needs review
irinaz’s picture

Issue tags: +GlobalSprint2021
irinaz’s picture

Issue tags: -GlobalSprint2021 +GlobalSprint2022
irinaz’s picture

Issue tags: -GlobalSprint2022 +ContributionWeekend2022
lolcode’s picture

This worked for me. Thanks!
Not sure if I should mark it RTBC as I just did a quick manual test.

ramil g’s picture

Status: Needs review » Reviewed & tested by the community

I tested this and it also worked for me. Marking this RTBC.

megachriz’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for testing! Committed #3.

  • MegaChriz committed d891643 on 8.x-3.x authored by govind.maloo
    Issue #3166456 by govind.maloo, lolcode, ramil g: Added "Unlock" to the...

Status: Fixed » Closed (fixed)

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