Coder Social home page Coder Social logo

Comments (8)

glensc avatar glensc commented on May 26, 2024

always use git tag when linking to line of code, not master.
as "master" branch is moving target, the line may not match at the time i go and try to look at it.

i've corrected this issue now myself.

from eventum.

glensc avatar glensc commented on May 26, 2024

is the $issue_id empty in your condition? as there seems to be a slight logic change:

old code:

        // only send a direct email if the user doesn't want to add the Cc'ed people to the notification list
        if ($add_unknown || Workflow::shouldAutoAddToNotificationList($prj_id)) {
            if ($issue_id) {
                        // add the recipients to the notification list of the associated issue
            }
        } else {
        }

new code:

        // only send a direct email if the user doesn't want to add the Cc'ed people to the notification list
        if (($add_unknown || Workflow::shouldAutoAddToNotificationList($prj_id)) && $issue_id) {
            // add the recipients to the notification list of the associated issue
        } else {
        }

i wonder, is that the case, or is the problem that value of $add_unknown is incorrect.

from eventum.

poing avatar poing commented on May 26, 2024

The issue is created by mail, Auto-Creation of Issues = Enabled

So $issue_id shouldn't be empty.

from eventum.

glensc avatar glensc commented on May 26, 2024

can you git bisect to exact commit that breaks it?

from eventum.

poing avatar poing commented on May 26, 2024

@glensc seems I misinterpreted the symptom to the cause. Workflow shouldAutoAddToNotificationList does NOT seem to work in 2.3.6 either.

The symptom I was chasing down, external users would receive BOTH Issue Created && New Issue notifications. New Issue notifications should only be sent to Eventum Users. I thought, this was caused because the user being added to the notification list.

So I tried to remove the user from the notification list, without success. It's still a bug in the workflow, but I'm not sure when it was working (or where it broke).

from eventum.

glensc avatar glensc commented on May 26, 2024

i think @balsdorf found the same bug when he worked on #123 testing.

from eventum.

balsdorf avatar balsdorf commented on May 26, 2024

@glensc The bug I found was relating to the ambiguity of the UI when sending emails. I don't believe this is the root cause of this (#113) though.

@poing I'm trying to track down the cause of this. Can you share screenshots of your mail queue and notification list please?

from eventum.

balsdorf avatar balsdorf commented on May 26, 2024

@poing No need for those screenshots, I've tracked it down.

#124 Fixes this by not sending the new issue email to the sender of the original email. Please reopen this if this doesn't solve the problem for you

from eventum.

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.