continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rrrrutdk (JIRA)" <j...@codehaus.org>
Subject [jira] Issue Comment Edited: (CONTINUUM-2121) Notifier of type Mail does not support addresses with ip: xxxx [at] 192.168.0.1
Date Tue, 17 Mar 2009 10:35:12 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-2121?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=169954#action_169954
] 

rrrrutdk edited comment on CONTINUUM-2121 at 3/17/09 5:33 AM:
--------------------------------------------------------------

To Wendy Smoak:
   Thanks for guiding me to find the struts2 validation file (on).


   I opened my firebug, wrote and run the scripts in its console:
      {code}window.alert(
      /^[_A-Za-z0-9-\&]+[\&_A-Za-z0-9-+]*(\.[_A-Za-z0-9-+\&]+)*@
      ([A-Za-z0-9-\&])+(\.[A-Za-z0-9-]+)*((\.[A-Za-z0-9]{2,})|(\.[A-Za-z0-9]{2,}\.[A-Za-z0-9]{2,}))$
      /.test("abc@192.168.0.1"));{code}

   and I got a "{{false}}" (x); after replaced "abc@192.168.0.1" with "abc@mail.com", a message
with text "{{true}}" (/) showed up.

   That *MIGHT BE* the one raised my problem ;).

   And, this validation file is used to validate mail address when *SAVE* project/group mail
notifier, not *SEND* notification mail :(.

   I don't want to spend much time on reading continuum sources, I just mapped "mail.com"
to "192.168.0.1", and used "me [at] mail.com" to make the mail notifier work.

   Thanks! (y)

      was (Author: rrrrutdk):
    To Wendy Smoak:
   Thanks for guiding me to find the struts2 validation file (on).


   I opened my firebug, wrote and run the scripts in its console:
      {code}window.alert(
      /^[_A-Za-z0-9-\&]+[\&_A-Za-z0-9-+]*(\.[_A-Za-z0-9-+\&]+)*@
      ([A-Za-z0-9-\&])+(\.[A-Za-z0-9-]+)*((\.[A-Za-z0-9]{2,})|(\.[A-Za-z0-9]{2,}\.[A-Za-z0-9]{2,}))$
      /.test("abc@192.168.0.1"));{code}

   and I got a "{{false}}" (x); after replaced "abc@192.168.0.1" with "abc@mail.com", a message
with text "{{true}}" (/) showed up.

   That *MAY BE* the one raised my problem ;).

   And, this validation file is used to validate mail address when *SAVE* project/group mail
notifier, not *SEND* notification mail :(.

   I don't want to spend much time on reading continuum sources, I just mapped "mail.com"
to "192.168.0.1", and used "me [at] mail.com" to make the mail notifier work.

   Thanks! (y)
  
> Notifier of type Mail does not support addresses with ip: xxxx [at] 192.168.0.1
> -------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-2121
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-2121
>             Project: Continuum
>          Issue Type: Bug
>          Components: Notifier - Mail
>    Affects Versions: 1.3.1
>            Reporter: rrrrutdk
>
> A piece of my pom.xml:
> <ciManagement>
>     <system>Continuum</system>
>     <url>http://192.168.0.1:8080/continuum</url>
>     <notifiers>
>         <notify>
>             <type>mail</type>
>             <send....>true</send...><!-- send on error/failure/warning/success
-->
>             <configuration>
>                 <address>me [at] 192.168.0.1</address>
>             </configuration>
>         </notify>
>     </notifiers>
> </ciManangement>
> Continuum showed me the correct notifiers section, but I got nothing new in my inbox
after any build of the project.
> So I went to the log file, and found that, Continuum treated "me [at] 192.168.0.1" as
an invalid mail address and stopped the notifier.
> Actually, James Server was running on the machine with ip 192.168.0.1.
> I tried to add an entry "mail.com 192.168.0.1" in the hosts file and changed the address
"me [at] 192.168.0.1" to "me [at] mail.com" in my pom.xml,
> and finally the notifier worked!
> I was thinking, the regular expression Continuum used for validating a mail address might
be ingoring all mail addresses like xxxx [at] 888.888.888.888.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message