#SCB3037 (comment) EMail subject should contain the assignedTo user information.

Hussayn Dabbous <[email protected]> Fri, 16 Apr 2010 22:24:00 +0200 (CEST)
Newsgroups gmane.comp.java.scarab.issues
Message-ID <[email protected]>
------=_Part_11757_216975159.1271449445154
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

*SCB3037 [Enhancement] - EMail subject should contain the assignedTo user information.*

*Comment Hussayn Dabbous*

I have taken care about this as follows:


I assume, that the "AssignedTo" and "AssigendCC" user attributes are so commonly used that i can count them as integrated element of the Notification system. But i do not want to be dependent on the exact naming. For instance in our own installation we have choosen to rename these 2 attributes to "Bearbeiter" and "Beobachter" respectively. Hence it makes sense to configure the names of these Variables in the environment.

Thus i have added 2 customization variables:

#   scarab.common.assignedTo
#   scarab.common.assignedCC

These variables may be customized to individual needs of your installation.

Furthermore i have decided to NOT(!) suport multiple AssignedTo  values on the Email subject. Instead i have added Code to Add only "one of the AssignedTo" users to the subject line. There where 2 reasons to do it like that:

# There should typically be only ONE SINGLE assignedTo user at any point in time. This is not directly supported by Scarab. However it is common practice to do it like this, hence i assume that the majority of issues will be assignedTo just one single user, while the AssignedCC may be an arbitrary set of users.

# If i would allow for multiple AssignedTo users in the email subject, i moght end up with a too long subject line.

The functionality has been checked in to revision: svn 10992

-------------------------------------------------------------------------------
Activity generated by Hussayn Dabbous ([email protected]) at 04/16/2010 22:18

[Scarab]: http://www.solitone.org/scarab/issues/id/SCB3037

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

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_11757_216975159.1271449445154
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit


      



<!DOCTYPE html PUBLIC "-//Tigris//DTD XHTML 1.0 Transitional//EN"
    "http://www.solitone.org/scarab/style/tigris_transitional.dtd">
<html>
 <head>
   <title>Activity report on Enhancement SCB3037 - EMail subject should contain the assignedTo user information.</title>
   <base href="http://www.solitone.org/scarab" />
   <meta http-equiv="Content-type" content="text/html; charset=UTF-8" />
   <style type="text/css">
           

    body {
        background: #fff;
        color:      #000;
    }

    .app h3, .functnbar {
        background-image: url(http://www.solitone.org/scarab/images/nw_maj_rond.gif);
        background-repeat: no-repeat;
    }

    .functnbar, .functnbar2 {
        background-color: #aaa;
    }

    .functnbar2 {
        background-color: #aaa;
        background-image: url(http://www.solitone.org/scarab/images/sw_maj_rond.gif);
        background-repeat: no-repeat;
        background-position: bottom left;
    }

    .functnbar, .functnbar2 {
        color: #000;
    }

    .functnbar a, .functnbar2 a {
        color: #000;
        text-decoration: underline;
    }

    .app h3 {
        color: #fff;
        background-color: #333;
    }

    .odd td {
        background: #ddd;
    }

    .even td {
        background: #efefef;
    }

    table, th, td {
        border: none;
    }

    #breadcrumbs {
        text-decoration: none;
        border-top: 1px solid #fff;
        background-color: #ccc;
    }

    .app th {
        background-color: #bbb;
    }

    .infomark {
        background: url(http://www.solitone.org/scarab/images/icon_info_sml.gif) top left no-repeat;
        font-style: italic;
        padding-left: 20px;
        min-height: 15px;
    }

    .url {
        align: left;
        padding-right: 40px;
        min-height: 15px;
        text-decoration: underline;
        color: blue;
        background: url(http://www.solitone.org/scarab/images/icon_url.gif) top right no-repeat;
    }

    body, th, td {
        font-family: Verdana, Helvetica, Arial, sans-serif;
    }

    pre {
        font-family: 'Andale Mono', Courier, monospace;
        font-size: small;
    }

    body, .app h3 {
        font-size: small;
    }

    .functnbar {
        font-size: x-small;
    }

    p {
        margin-top: .67em;
        margin-bottom: .67em;
    }

    h3 {
        margin-bottom: 0;
    }

    .app h3 {
        padding: 5px;
        margin-right: 2px;
        margin-left: 2px;
    }

    .app td, .app th {
        padding: 2px 2px;
    }

    .h3 p {
        margin-right: 7px;
        margin-left: 7px;
    }

    .functnbar, .functnbar2 {
        padding: 5px;
        margin: .67em 2px;
    }

    body {
        padding: 1em;
    }

    th, td {
        text-align: left;
        vertical-align: top;
    }

    .axial th {
        text-align: right;
    }

    .app .axial td th {
        text-align: left;
    }

    .axial th {
        width: 12em;
    }

    .app h3 {
        clear: both;
    }

    .app h3, #banner, #banner td {
        background-color: #036;
        color: #fff;
    }

    #banner {
        border-top: 1px solid #369;
    }

    .functnbar2 {
        background-image: url(http://www.solitone.org/scarab/images/sw_maj_rond.gif);
        background-repeat: no-repeat;
        background-position: bottom left;
        background-color: #668DB2;
        color:         #fff;
        margin-left:   -1px;
        margin-right:  -1px;
        white-space:   nowrap;
        margin-bottom: 0px;
    }

    .functnbar {
        background-color: #668DB2;
        color:#fff;
        white-space:nowrap;
        margin-bottom:0px;
        margin-left:-1px;
        margin-right:-1px;
    }

    .scarab-canvas {
        border-width:1px;
        border-style:solid;
        border-color:#dddddd;
        border-top-style:none;
        border-bottom-style:none;
        margin-left:2px;
        margin-right:2px;
    }

    .scarab-canvas div h3 {
        background-color:#E9F1F9;
        color:#003163
    }

    .app h3, .functnbar {
        background-image: url(http://www.solitone.org/scarab/images/nw_maj_rond.gif);
        background-repeat: no-repeat;
    }

    .app h3 {
        color: #003366;
        background-color: #ABC4DB;
    }

    .app h3 a:link, .app h3 a:visited {
        color: #003366 !important;
        text-decoration: underline;
    }

    .axial th {
        background-color: #E9F1F9;
        color: black;
    }
   </style>
   <link rel="stylesheet" type="text/css" href="/skins/print.css" media="print" />
</head>

<body>

<div id="scb_banner">
   <table border="0" cellspacing="0" cellpadding="8" width="100%">
    <tr>
     <td>
       <img src="http://www.solitone.org/scarab/images/logo.gif" alt="Scarab" width="118" height="23" border="0" />
     </td>
     <td valign="middle">
      <table border="0" cellpadding="0" cellspacing="0">
        <td>The Self Issue Tracker</td>
        <td>
                      <img hspace="10" src="http://www.solitone.org/scarab/images/trans.gif" border="0"/>
                  </td>
      </table>
     </td>
    </tr>
   </table>
</div>


<div id="breadcrumbs" >
  <table border="0" cellspacing="0" cellpadding="8" width="100%">
   <tr>
    <td>
      Modules &gt;
      Scarab &gt;
      Issue <strong>SCB3037</strong> (<strong>EMail subject should contain the assignedTo user information.</strong>)
    </td>
   </tr>
  </table>
</div>


<div class="app">

    <p class="infomark">
    Activity generated by
     Hussayn Dabbous ([email protected])           at 04/16/2010 22:18
      </p>


  <div class="scarab-canvas">
        <h3 class="functnbar" style="background-color: #668DB2;margin-left:-1px;margin-right:-1px;">
    <strong>Issue <strong>SCB3037 </strong>(<strong>EMail subject should contain the assignedTo user information.</strong>)
    </h3>

        <h3>Attributes</h3>
    <div class="axial">
      <table>
        <tr>
          <th>Issue ID</th>
          <td width="25%"><b>SCB3037&nbsp;(Enhancement)</b></td>
          <td>
                                  </td>
        </tr>

                  <tr>
            <th>Created by</th>
            <td colspan="2">
              <a href="mailTo:[email protected]">Hussayn Dabbous</a>
              Fri Apr 16 22:04:37 CEST 2010
            </td>
          </tr>
        
                  <tr>
            <th>Last modified by</th>
            <td colspan="2">
              <a href="mailTo:[email protected]">Hussayn Dabbous</a>
              2010-04-16 22:18:51.0
            </td>
          </tr>
        
      </table>
    </div>


    <h3>Summary of activity</h3>
    <div class="axial">
      <table style="table-layout: fixed" width="100%">
                
                
                
                
                
                
                                       <tr class="even">
     <th rowspan="2" width="25%">Comments</th>
             <td>By <a href="mailTo:[email protected]">Hussayn Dabbous</a>
              04/16/2010 22:18</td>
            </tr>
               <tr class="odd">
              <td><pre>I have taken care about this as follows:


I assume, that the "AssignedTo" and "AssigendCC" user attributes are so commonly used that i can count them as integrated element of the Notification system. But i do not want to be dependent on the exact naming. For instance in our own installation we have choosen to rename these 2 attributes to "Bearbeiter" and "Beobachter" respectively. Hence it makes sense to configure the names of these Variables in the environment.

Thus i have added 2 customization variables:

#   scarab.common.assignedTo
#   scarab.common.assignedCC

These variables may be customized to individual needs of your installation.

Furthermore i have decided to NOT(!) suport multiple AssignedTo  values on the Email subject. Instead i have added Code to Add only "one of the AssignedTo" users to the subject line. There where 2 reasons to do it like that:

# There should typically be only ONE SINGLE assignedTo user at any point in time. This is not directly supported by Scarab. However it is common practice to do it like this, hence i assume that the majority of issues will be assignedTo just one single user, while the AssignedCC may be an arbitrary set of users.

# If i would allow for multiple AssignedTo users in the email subject, i moght end up with a too long subject line.

The functionality has been checked in to revision: svn 10992</pre></td>
            </tr>
              </table>
    </div>


        <div class="functnbar2"">
      <table>
         <tr>
           <td>
              <div class="url">
                <a title="Bookmark to this issue" href="http://www.solitone.org/scarab/issues/id/SCB3037">
                Session-info-free link to SCB3037</a>
              </div>
           </td>
         </tr>
      </table>
    </div>

  </div>
</div>

</body>
</html>

------=_Part_11757_216975159.1271449445154--