bugSavane - Bugs: bug #286, Field Usage: Display this field...

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #286: Field Usage: Display this field...

Submitted by:  Sylvain Beucler <beuc>
Submitted on:  Sun 29 Feb 2004 10:51:07 PM UTC  
 
Category: Web FrontendStatus: Fixed
Severity: 1 - WishPriority: C - Normal
Assigned to: Mathieu Roy <yeupou>Open/Closed: Closed
Release: Planned Release: 1.0.3
Reproducibility: NonePrivacy: Public

Sat 03 Jul 2004 04:08:09 PM UTC, comment #4:

The proposed fix was not enough. See the commit diff for more information.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Thu 01 Jul 2004 05:18:37 PM UTC, comment #3:
[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.

. <lorenzo>
Thu 01 Jul 2004 05:00:30 PM UTC, comment #2:
[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 ===

. <lorenzo>
Sat 13 Mar 2004 04:18:45 PM UTC, comment #1:

I

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Sun 29 Feb 2004 10:51:07 PM UTC, 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.

Sylvain Beucler <beuc>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Digest:
   task dependencies.

 

Carbon-Copy List
  • -unavailable- added by lorenzo (Updated the item)
  • -unavailable- added by yeupou (Updated the item)
  • -unavailable- added by beuc (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 03 Jul 2004 04:08:09 PM UTCyeupouAssigned toNone=>yeupou
      Open/ClosedOpen=>Closed
    Thu 01 Jul 2004 05:00:30 PM UTClorenzoStatusNone=>Fixed
    Fri 25 Jun 2004 10:04:42 AM UTCyeupouPlanned Release1.0.2=>1.0.3
    Sat 13 Mar 2004 04:18:45 PM UTCyeupouPlanned Release=>1.0.2
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup