Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Notifications not working #2516


User avatar
0
drg created

Hi,

I try to send an App.SimpleMessage notification which is not working anymore. I am using version 1.2.1.0. In the previous version (0.10.3.1) it worked fine. Even if the user is subcribed, the message is not sent. If I send an NewUserRegistered notification in my application service, then it works. However, if I send an App.SimpleMessage notification, then it fails. Only what I got is an DBUpdateException. Probably is writing notifications to notification table. :cry:

Can somebody help me out? Any help is appreciated.

Kind regards, Tako Verkroost


7 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Do you have more details about this DBUpdateException ?

  • User Avatar
    0
    drg created

    Hi there,

    I have attached the stacktrace of DBUpdateException.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    If it is not going to be hard for you, can you update your project to latest ABP and try it with that ?

  • User Avatar
    0
    drg created

    Thanks for the reply. I will try. Which version should I use to upgrade? Because I downloaded the latest version and rebuild the project from scratch.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    I thought you were using an older version of AspNet zero with ABP version 1.2.1.0. I was talking about upgrading ABP nuget packages to v 1.4.2.

    If this is a newly downloaded template, then let us check it.

    Thanks.

  • User Avatar
    0
    drg created

    I upgraded to version 1.4.2 and it worked for me. Thanks a lot.

  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    Great news :). I think it was related to UoW but coulnd't understand the reason without investigating.