iceScrum | Icescrum 7.2.1 - Notifications not working – iceScrum

iceScrum Forums Discutez d'iceScrum

15 sujets de 1 à 15 (sur un total de 19)

  • Auteur
    Messages
  • #114606

    dufond
    Participant

    Hello,

    I Have installed Icescrum 7.2.1 with docker image.
    Everything works except notifications.
    When I force debug in the groovy file, I have this message in the catalina log:

    groovy.lang.MissingMethodException: No signature of method: groovy.util.ConfigObject.plus() is applicable for argument types: (java.lang.String) values: [/p/]
    Possible solutions: plus(java.util.Map), plus(java.util.Collection), values(), put(java.lang.Object, java.lang.Object), use([Ljava.lang.Object;), minus(java.util.Map)
    at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:58)
    at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:54)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
    at org.icescrum.core.services.NotificationEmailService.sendAlertCUD(NotificationEmailService.groovy:95)
    at org.icescrum.core.services.NotificationEmailService$sendAlertCUD.callCurrent(Unknown Source)
    at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:52)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:154)
    at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182)
    at org.icescrum.core.services.NotificationEmailService.storyCUD(NotificationEmailService.groovy:49)
    at org.icescrum.core.services.NotificationEmailService$$FastClassBySpringCGLIB$$f3ed2a5a.invoke(<generated>)

    My groovy file contains :

    icescrum.debug.enable=true
    icescrum.securitydebug.enable=false
    dataSource.driverClassName= »org.postgresql.Driver »
    dataSource.url= »jdbc:postgresql://bdd_host:5432/icescrum »
    dataSource.username= »icescrum »
    dataSource.password= »icescrum »
    icescrum.project.import.enable=true
    icescrum.project.export.enable=true
    icescrum.project.creation.enable=false
    icescrum.project.private.enable=true
    icescrum.project.private.default=false
    icescrum.gravatar.enable=true
    icescrum.registration.enable=true
    icescrum.invitation.enable=false
    icescrum.login.retrieve.enable=false
    icescrum.alerts.enable=true
    icescrum.auto_follow_productowner=true
    icescrum.auto_follow_stakeholder=true
    icescrum.auto_follow_scrummaster=true
    icescrum.alerts.errors.to= »admin_mail »
    icescrum.alerts.subject_prefix= »[icescrum] »
    icescrum.alerts.default.from= »admin_mail »
    icescrum.attachments.enable=true
    grails.mail.port= »25″
    grails.mail.host= »mail_host »

    Any help would be welcome.

    Jean-Christophe

    #114711

    Nicolas Noullet
    Maître des clés

    Hello,

    Can you add this entry to your config file:
    icescrum.serverURL = "http://localhost:8080/icescrum"

    Replace with the proper URL. This URL is used to generate external links to iceScrum items, in this case in the email template.

    #114780

    dufond
    Participant

    Hello,

    Thanks a lot for your answer.
    The message in the log has disappeared but notifications are still not sent.
    And I don’t see any trace in the logs of the mail server …

    #114801

    Nicolas Noullet
    Maître des clés

    Hello

    Apparently you don’t provide user / password, so you want an anonymous connection. As explained in the documentation (config.groovy documentation), you need to add
    grails.mail.props = ["mail.smtp.auth":"false"]

    #116093

    dufond
    Participant

    Hello

    Even with [« mail.smtp.auth »: »false »], notifications are still not sent.
    I can’t see any trace anywhere but I ping on the mail server in my container.
    Could this be a proxy problem ?
    If you have some ideas, they will be welcome.

    #116140

    dufond
    Participant

    I was wrong : notifications are sent, but only in case of updates of stories.
    So we can say that mail mechanism is working.
    However I don’t manage to receive notifications for new story or new urgent task in current sprint even if it is enabled in my profile.
    I maybe don’t know how to use notifications. Some informations certainly miss me …

    #116274

    dufond
    Participant

    Hello again …

    I found the reason why notifications on new stories does not work : no change of notifications in my profile are saved.
    Where I look in the database, the field « emails_settings_data » stay empty.

    is there a reason for this ?

    Thanks in advance for your answer.

    Best regards,
    Jean-Christophe

    #116490

    Nicolas Noullet
    Maître des clés

    Hello,

    Thanks for your feedback. This seems to be a bug, we are investigating. Sorry for the inconvenience.

    #116836

    dufond
    Participant

    Hello

    Thanks for your answer.

    Additional information: the function « import V7 » does not recover notifications data.

    #117210

    dufond
    Participant

    Hello,

    When do you think that a new version of icescrum docker image including patches will be available ?

    Thanks.

    Jean-Christophe

    #117222

    Nicolas Noullet
    Maître des clés

    Hi,

    Thanks for the additional report.

    The first bug is fixed and the fix will be available in the next major version which should hopefully be available on all platforms (incl. Docker) next friday.

    #117229

    dufond
    Participant

    That is very fine !

    I will watch this.

    Thanks very much.

    #122889

    acerioni
    Participant

    Hi,

    Has the bug been fixed?

    Thanks in advance for your reply,
    Alessandro Cerioni

    #122891

    Nicolas Noullet
    Maître des clés

    Hi Alessandro,

    What bug do you refer to?

    #122892

    acerioni
    Participant

    Hi Nicolas,

    the bug you mentioned in your previous post…

    Alessandro

15 sujets de 1 à 15 (sur un total de 19)

Le forum ‘Feedback, defects, evolutions’ est fermé à de nouveaux sujets et réponses.