This mail is an automated notification from the bugs tracker
 of the project: Savane.

/**************************************************************************/
[bugs #286] Latest Modifications:

Changes by: 
                Mathieu Roy <[EMAIL PROTECTED]>
'Date: 
                sam 03.07.2004 à 18:08 (Europe/Paris)

            What     | Removed                   | Added
---------------------------------------------------------------------------
         Assigned to | None                      | yeupou
              Status | Open                      | Closed


------------------ Additional Follow-up Comments ----------------------------
The proposed fix was not enough. See the commit diff for more information.






/**************************************************************************/
[bugs #286] Full Item Snapshot:

URL: <http://gna.org/bugs/?func=detailitem&item_id=286>
Project: Savane
Submitted by: Sylvain Beucler
On: dim 29.02.2004 à 23:51

Category:  Web Frontend
Severity:  1 - Trivial
Priority:  C - Normal
Resolution:  Fixed
Privacy:  Public
Assigned to:  yeupou
Status:  Closed
Release:  
Planned Release:  1.0.3


Summary:  Field Usage: Display this field...

Original Submission:  In /support/admin/field_usage.php



Display this field...

# On the submission form used by other logged in users  

and

# On the submission form used by non logged in users 



have the same HTML name. As a result, it is impossible to change one without 
modifying the other all the same.



Incidentally, the default length of field "Originator Email" is 40, which is 
not enough.

Commentaires
------------------


-------------------------------------------------------
Date: sam 03.07.2004 à 18:08        By: Mathieu Roy <yeupou>
The proposed fix was not enough. See the commit diff for more information.

-------------------------------------------------------
Date: jeu 01.07.2004 à 19:18        By: Lorenzo Hernandez Garcia-Hierro 
<lorenzo>
[INFO NEEDED]
Hi,

I've added a workaround but i don't know if it solves this issue.

It's around the 200 line and i made some comments i the code,the workaround is 
commented out , uncomment it for testing (follow the instructions).

This change has been made at the trunk but it is no available until you 
uncomment the affected lines (if not, it will be the original code).



Cheers.

-------------------------------------------------------
Date: jeu 01.07.2004 à 19:00        By: Lorenzo Hernandez Garcia-Hierro 
<lorenzo>
[WORKAROUND]
Hi Sylvain,

Thanks for your advice, i've fixed the "Originator Email" field maxlength by 
setting it to 85.

Thus, there is a problem with lines between 205-208 at 
/include/trackers_run/admin/field_usage.php (it's the real file, the 
/support/admin/field_usage.php one is a wrapper) that don't make me sure to 
edit them.



===code to be fixed===

# Do not let the user change these field settings but put them in the

          # form to preserve the existing setting or use the default values

          # imposed at the system level

          $addm_html = '<input type="hidden" name="show_on_add_members" '.

             'value="'.(trackers_data_is_showed_on_add_members($field)? 
1:0).'">'.

             (trackers_data_is_showed_on_add_members($field)? ': 
'._("Always"):': '._("Never"));

          $add_html = '<input type="hidden" name="show_on_add" '.

             'value="'.(trackers_data_is_showed_on_add($field)? 1:0).'">'.

             (trackers_data_is_showed_on_add($field)? ': '._("Always").'':': 
'._("Never").'');



          # for these cases use the add_html value for the add_nologin_html

          # field

          $add_nologin_html=$add_html;

        }



      echo '<p><b>'._("Display this field...").'</b><ul>';

      echo '<li>'._("On the submission form used by project 
members").$addm_html.'</li>';

      echo '<li>'._("On the submission form used by other logged in 
users").$add_html.'</li>';

      echo '<li>'._("On the submission form used by non logged in 
users").$add_html.'</li>';



      echo '</ul></p>

        <p>

        <input type="submit" name="submit" value="'._("Submit").'">

        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;

        <input type="submit" name="reset" value="'

        ._("RESET TO DEFAULTS").'"></p>

        </form>';

=== ends code to be fixed ===





-------------------------------------------------------
Date: sam 13.03.2004 à 17:18        By: Mathieu Roy <yeupou>
I 












For detailed info, follow this link:
<http://gna.org/bugs/?func=detailitem&item_id=286>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


Reply via email to