#SCB3036 (Unconfirmed) User default query fails to load when more than one users have configured their own default query for a module.

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

*SCB3036 [Defect] - User default query fails to load when more than one users have configured their own default query for a module.*
** null:  () **


-------------------------------------------------------------------------------
*Personnel changes*
-------------------------------------------------------------------------------
  - Assigned to:  dabbous     (New) 


-------------------------------------------------------------------------------
*Attribute changes*
-------------------------------------------------------------------------------
  - Short description:
    "When only one user creates a "home page query" for a given module, then all users will see the query results when entering that module's start page. 
As soon as another user creates his/her own start page for the same module, the whole query recognition fails and no start page is shown any longer."
  - Priority:  3-Normal     (New) 
  - Summary:  User default query fails to load when more than one users have configured their own default query for a module.     (New) 
  - Target milestone:  0.23     (New) 
  - Version:  trunk     (New) 
  - Status:  Unconfirmed     (New) 


*Comment Hussayn Dabbous*

The problem was that the QueryPeer silently set the default query to null when multiple users have defined their own default start page. I have changed the bahaviour as follows:

First we check if the user has got a start page for the given module. Take that if it exists.
If the user has not defined a start page, but the Module owner has done so, take the module owner's start page.
If neither the module owner nor the current user has customized a start page, do not set any start page.

This has to be changed. I'd like to see the query matrix, when no start page is defined for a module. (to be checked)

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

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

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

To unsubscribe from this discussion, e-mail: [[email protected]].
------=_Part_10156_2101003823.1271431026221
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 Defect SCB3036 - User default query fails to load when more than one users have configured their own default query for a module.</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>SCB3036</strong> (<strong>User default query fails to load when more than one users have configured their own default query for a module.</strong>)
    </td>
   </tr>
  </table>
</div>


<div class="app">

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


  <div class="scarab-canvas">
        <h3 class="functnbar" style="background-color: #668DB2;margin-left:-1px;margin-right:-1px;">
    <strong>Issue <strong>SCB3036 </strong>(<strong>User default query fails to load when more than one users have configured their own default query for a module.</strong>)
    </h3>

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

                  <tr>
            <th>Created by</th>
            <td colspan="2">
              <a href="mailTo:[email protected]">Hussayn Dabbous</a>
              Fri Apr 16 17:08:38 CEST 2010
            </td>
          </tr>
        
                  <tr>
            <th>Last modified by</th>
            <td colspan="2">
              <a href="mailTo:[email protected]">Hussayn Dabbous</a>
              2010-04-16 17:11:53.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="1" width="25%">Issue general information</th>
             <td>null:  ()</td>
            </tr>
        
                               <tr class="odd">
     <th rowspan="1" width="25%">Personnel changes</th>
             <td>Assigned to: dabbous ()</td>
            </tr>
        
                               <tr class="even">
     <th rowspan="6" width="25%">Attribute changes</th>
                       <td>"Short description" set to: "When only one user creates a "home page query" for a given module, then all users will see the query results when entering that module's start page. 
As soon as another user creates his/her own start page for the same module, the whole query recognition fails and no start page is shown any longer."</td>
                      </tr>
                       <tr class="odd">
                        <td>Priority: 3-Normal ()</td>
                      </tr>
                       <tr class="even">
                        <td>Summary: User default query fails to load when more than one users have configured their own default query for a module. ()</td>
                      </tr>
                       <tr class="odd">
                        <td>Target milestone: 0.23 ()</td>
                      </tr>
                       <tr class="even">
                        <td>Version: trunk ()</td>
                      </tr>
                       <tr class="odd">
                        <td>Status: Unconfirmed ()</td>
                      </tr>
        
                
                
                                       <tr class="even">
     <th rowspan="2" width="25%">Comments</th>
             <td>By <a href="mailTo:[email protected]">Hussayn Dabbous</a>
              04/16/2010 17:11</td>
            </tr>
               <tr class="odd">
              <td><pre>The problem was that the QueryPeer silently set the default query to null when multiple users have defined their own default start page. I have changed the bahaviour as follows:

First we check if the user has got a start page for the given module. Take that if it exists.
If the user has not defined a start page, but the Module owner has done so, take the module owner's start page.
If neither the module owner nor the current user has customized a start page, do not set any start page.

This has to be changed. I'd like to see the query matrix, when no start page is defined for a module. (to be checked)</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/SCB3036">
                Session-info-free link to SCB3036</a>
              </div>
           </td>
         </tr>
      </table>
    </div>

  </div>
</div>

</body>
</html>

------=_Part_10156_2101003823.1271431026221--