#SCB2954 (Resolved) Scarab behind secure access solutions creates wrong email notification link

Hussayn Dabbous <[email protected]> Fri, 5 Jun 2009 16:15:00 +0200 (CEST)
Newsgroups gmane.comp.java.scarab.issues
Message-ID <[email protected]>
Activity report on

  *Enhancement SCB2954 - Scarab behind secure access solutions creates wrong email notification link*

  Scarab Link: http://www.solitone.org/scarab/issues/id/SCB2954
  Module: Scarab


  Activity generated by Hussayn Dabbous ([email protected]) at 06/05/2009 16:02

  *Reasons for the changes*
  - resolved in r10750


  ** null:  () **

-------------------------------------------------------------------------------
  *Attribute changes*
  - Priority: 3-Normal ()
  - Target milestone: 0.23 ()
  - Status: Unconfirmed ()
  - Summary: Scarab behind secure access solutions creates wrong email notification link ()
  - "Short description" set to:
    "the problem is, that a secure access system typically rewrites the links contained in the HTML-content.
For this purpose it is necessary that the NotificationSYstem can produce alternate Email links."
  - Solution: Trunk ()
  - Resolution: Fixed ()
  - Status: Resolved (Unconfirmed)

-------------------------------------------------------------------------------
  *Comments*
  - By Hussayn Dabbous - 06/05/2009 16:07 ---
  "I have created a solution, which allows to set an alternative 
email link template in the scarab properties.
follwing properties have been added:

email.notification.host
email.notification.port
email.notification.uri

The first 2 are just added for convenience and they are noit truly necessary.
The third one is the main p[ropoerty, which will contain an email-link-template.

if the property is left empty, Scarab behaves as before.
But if the property is set, the resolved value will be used.
In order to be able to add the IssueId into the link (which is an essential information here)
i have added a dynamic Configuration setup, which allows to add the property kjey "issueId"
on the fly and as a local add on to the TurbineConfiguration. this makes it possible to
use a string like:

email.notification.uri= https://${email.notification.host}:${email.notification.port}/issue/${issueId}

in the configuration.
Further hints can be found in EmailLink.java and in xdocs/scarab_properties.xml"

------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=458&dsMessageId=2359717

To unsubscribe from this discussion, e-mail: [[email protected]].