Welcome, Guest. Please login or register.

Author Topic: "cosmetic" moni alert issue (if any) ?  (Read 1422 times)

pc_sg

  • Sr. Member
  • ****
  • Posts: 261
    • View Profile
"cosmetic" moni alert issue (if any) ?
« on: June 10, 2013, 09:05:02 AM »
Hi Remo,

nothing really important, but in current NeDi 1.0.8 installations, all with moni service active, when there is more than one alert in one message, the "pluralizer" make a strange thing in the message object field.

Below an example:

"2 2 Monitoring Alertss"

i.e. it doubles the alerts number text (is really 2), and adds "s" twice at the end.

I had a look at relevant code, and seems good, but I'm not skilled enough to be a reliable debugger.

I repeat, is only a cosmetic issue. :) ;) :)

P.S. I'm almost sure it doesn't depend on our SMTP servers, there are a lot (myriad) of other messages sent from other servers and services, without any similar issue.

Paolo

rickli

  • Administrator
  • Hero Member
  • *****
  • Posts: 2619
    • View Profile
    • NeDi
Re: "cosmetic" moni alert issue (if any) ?
« Reply #1 on: June 10, 2013, 06:20:57 PM »
Hah, good one tx! The 2nd user would get that...the 3rd even more such nonsense!
Please consider Other-Invoices on your NeDi installation for an annual contribution, tx!
-Remo