URL:
  <http://gna.org/support/?func=detailitem&item_id=452>

                 Summary: Reassigned item: Unknown field in user_group
                 Project: Savane
            Submitted by: a4bem82
            Submitted on: mar 01.03.2005 � 12:42
                Category: Installation/Configuration
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
                 Release: 

    _______________________________________________________

Details:



When i want to change permission with /project/userperms.php , i have error
'failed to update permissions' .



Cause : privacy_flags doesn't exist in user_group table



$sql = 'UPDATE user_group SET ' 

         ."admin_flags='".$$admin_flags."',"

         ."privacy_flags='".$$privacy_flags."',"

         ."bugs_flags=".$$bugs_flags.","

         ."news_flags=".$$news_flags.","

         ."task_flags=".$$task_flags.", "

         ."patch_flags=".$$patch_flags.", "

         ."support_flags=".$$support_flags." "

         ."WHERE user_id='$row_dev[user_id]' AND group_id='$group_id'";



    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: mar 01.03.2005 � 13:54        By: Mathieu Roy <yeupou>
Hum, that odd that no one caught this earlier.



Please run the script update/1.0.5/private-rights.sql

that should do the trick.

-------------------------------------------------------
Date: mar 01.03.2005 � 13:37        By: Sylvain Cresson <a4bem82>


It is a first installation and the database was created with make database
installation .



NB : You can see in the source db/mysql/table_user_group.structure that the
field doesn't exist

-------------------------------------------------------
Date: mar 01.03.2005 � 13:06        By: Mathieu Roy <yeupou>
Did you created a new database or was it a database created with previous
version?

-------------------------------------------------------
Date: mar 01.03.2005 � 12:55        By: Sylvain Cresson <a4bem82>


Version 1.0.5a  , download on http://download.gna.org/savane/

-------------------------------------------------------
Date: mar 01.03.2005 � 12:43        By: Mathieu Roy <yeupou>
Which version do you run, how did you obtained the software?

-------------------------------------------------------
Date: mar 01.03.2005 � 12:42        By: Mathieu Roy <yeupou>
This item has been reassigned from the project Savane bugs tracker to your
tracker.

The original report is still available at bugs #2034

Following are the information included in the original report:

[field #0]                  Item ID: 2034<br />[field #1]                
Group ID: 116<br />[field #2]              Open/Closed: Open<br />[field #3]  
              Severity: 5 - Blocker<br />[field #4]                  Privacy:
Public<br />[field #5]                 Category: Database<br />[field #6]     
       Submitted by: a4bem82<br />[field #7]              Assigned to: None<br
/>[field #8]             Submitted on: mar 01.03.2005 � 11:35<br />[field #9] 
                Summary: Unknown field in user_group<br />[field #10]     
Original Submission: 

When i want to change permission with /project/userperms.php , i have error 
failed to update permissions  .



Cause : privacy_flags doesn t exist in user_group table



$sql =  UPDATE user_group SET   

         ."admin_flags= ".$$admin_flags." ,"

         ."privacy_flags= ".$$privacy_flags." ,"

         ."bugs_flags=".$$bugs_flags.","

         ."news_flags=".$$news_flags.","

         ."task_flags=".$$task_flags.", "

         ."patch_flags=".$$patch_flags.", "

         ."support_flags=".$$support_flags." "

         ."WHERE user_id= $row_dev[user_id]  AND group_id= $group_id ";

<br />[field #12]               Item Group: None<br />[field #13]             
     Status: None<br />[field #14]        Component Version: None<br />[field
#15]         Platform Version: None<br />[field #16]          Reproducibility:
None<br />[field #17]               Size (loc): None<br />[field #18]         
  Fixed Release: None<br />[field #19]          Planned Release: None<br
/>[field #20]                   Effort: 0.00<br />[field #24]                
Priority: C - Normal<br />[field #27]         Percent Complete: 0%<br />[field
#29]                  Release: None<br />[field #54]     Custom Select Box #1:
None<br />[field #55]     Custom Select Box #2: None<br />[field #56]    
Custom Select Box #3: None<br />[field #57]     Custom Select Box #4: None<br
/>[field #58]     Custom Select Box #5: None<br />[field #59]     Custom
Select Box #6: None<br />[field #60]     Custom Select Box #7: None<br
/>[field #61]     Custom Select Box #8: None<br />[field #62]     Custom
Select Box #9: None<br />[field #63]    Custom Select Box #10: None<br />








    _______________________________________________________

This item URL is:

  <http://gna.org/support/?func=detailitem&item_id=452>

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


_______________________________________________
Savane-dev mailing list
[email protected]
https://mail.gna.org/listinfo/savane-dev

Reply via email to