question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Question about custom plugin and untagging

See original GitHub issue

Issue Summary I try to tag and untag within a custom plugin. Tagging is working, but untagging not. Am I doing something wrong?

    def take_action(self, alert, action, text, **kwargs):

        # mark for feedback
        if action == FEEDBACK_ACTION:
            alert.status = FEEDBACK_STATUS
            if FEEDBACK_TAG in alert.tags:
                alert.untag([FEEDBACK_TAG])
                text = FEEDBACK_LOG_REMOVE
            else:
                alert.tag([FEEDBACK_TAG])
                text = FEEDBACK_LOG

        # ...

        return alert, action, text

It’s going into the right if branch but the untag isn’t working.

Environment

  • OS: Linux

  • API version: 7.4.1

  • Deployment: Docker

  • Database: MongoDB

  • Server config: Auth enabled? Yes Auth provider? OpenID Customer views? Yes

  • web UI version: 7.4.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
satterlycommented, Nov 24, 2020

Either late this week or early next.

0reactions
escoandcommented, Nov 24, 2020

Ok, to you have a planed date for the next release?

Read more comments on GitHub >

github_iconTop Results From Across the Web

TaxoPress is the WordPress Tag, Category, and Taxonomy ...
TaxoPress allows you to create and manage Tags, Categories, and all your WordPress ... all the taxonomies created by WordPress and your plugins...
Read more >
6 Questions To Ask Before You Install A WordPress Plugin
Questions to Ask Yourself before Installing a WordPress Plugin · Do I need this plugin? · Can I do what I need without...
Read more >
Solve Problems With Plugins
Go to Plugins → Installed Plugins and deactivate the plugin(s) you determined to be the source of the issue. You can leave the...
Read more >
Troubleshooting the SketchUp Plugin
Move all envelope geometry to Layer0/Untagged (default layer). These steps should generate cove.tool layers, if some layers are missing check FAQ #3. 2....
Read more >
Importing Operations Director custom questions - TechDocs
Once the questions are published, they are available in the security assessment questionnaire. Contents of the sample CSV file. Following are the columns ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found