Giter Site home page Giter Site logo

Comments (2)

cpatulea avatar cpatulea commented on June 20, 2024

We're having the same issue. Two channels subscribed to the same Repository:

{
  "Repositories": {
    "foulab/": [
      {
        "ChannelID": "kh<snip>fa",
        "CreatorID": "j5<snip>wo",
        "Features": "pushes",
        "Flags": {
          "ExcludeOrgMembers": false,
          "RenderStyle": "",
          "ExcludeRepository": null
        },
        "Repository": "foulab/"
      },
      {
        "ChannelID": "wn<snip>5c",
        "CreatorID": "j5<snip>wo",
        "Features": "pushes",
        "Flags": {
          "ExcludeOrgMembers": false,
          "RenderStyle": "",
          "ExcludeRepository": null
        },
        "Repository": "foulab/"
      }
    ],

results in this error logs every time:

{"timestamp":"2024-05-28 19:35:33.262 -04:00","level":"warn","msg":"Error webhook post","caller":"app/plugin_api.go:979","plugin_id":"github","post":"&{Id:e1<snip>xh CreateAt:1716939333153 UpdateAt:1716939333153 EditAt:0 DeleteAt:0 IsPinned:false UserId:sz<snip>6w ChannelId:wn<snip>5c RootId: OriginalId: Message:\n[str4w](https://github.com/str4w) pushed [2 new commits](https://github.com/FOULAB/DrawingMachines/compare/192bfbab2164...179c374f834d) to [\\[FOULAB/DrawingMachines:plotter.writeup\\]](https://github.com/FOULAB/DrawingMachines/tree/plotter.writeup):\n[`24d863`](https://github.com/FOULAB/DrawingMachines/commit/24d863f4de73d4a861380d2796c507ab4a2a0f05) Switch the chipotle3 url back to upstream\n\nThe PR has been merged by upstream - 0x5c\n[`179c37`](https://github.com/FOULAB/DrawingMachines/commit/179c374f834defced2c8be08d9dec2285e7d36f4) Merge pull request #2 from 0x5c/fix/chipotle-url\n\nSwitch the chipotle3 url back to upstream - strawdog\n MessageSource: Type:custom_git_push propsMu:{w:{state:0 sema:0} writerSem:0 readerSem:0 readerCount:{_:{} v:0} readerWait:{_:{} v:0}} Props:map[from_bot:true from_plugin:true] Hashtags: Filenames:[] FileIds:[] PendingPostId: HasReactions:false RemoteId:<nil> ReplyCount:0 LastReplyAt:0 Participants:[] IsFollowing:<nil> Metadata:<nil>}","error":"CreatePost: You cannot update an existing Post."}

One of the subscribed channels (incidentally, that's a PM with me) gets the notification; the other channel does not.

I see there's a PR #755 open to fix this. Really looking forward to it being merged and included in a release!

from mattermost-plugin-github.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.