bugSavane - Bugs: bug #4517, Problems to force 'Privacy' to...

 
 
Show feedback again

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

bug #4517: Problems to force 'Privacy' to 'Private'

Submitted by:  Yves Perrin <ype>
Submitted on:  Thu 13 Oct 2005 01:40:16 PM UTC  
 
Category: Web Frontend: TrackersStatus: Fixed
Severity: 3 - NormalPriority: D - High
Assigned to: Mathieu Roy <yeupou>Open/Closed: Closed
Release: 1.2Planned Release: 1.3
Reproducibility: NonePrivacy: Public

Fri 11 Nov 2005 10:54:24 AM UTC, comment #2:

In fact, the issue was caused by the fact that open/closed is missing from the submit item form (for obvious reasons).
The way it was included in the SQL query was a hardcoded add occuring after transition checks. Hardcoding the open/closed new value later did the trick.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Fri 11 Nov 2005 10:31:00 AM UTC, comment #1:

> 2] Anyway, how is it possible to set/change the default value of a field?


I dont think this is currently possible.

I'm working on this bug (point 1) right now.

Mathieu Roy <yeupou>
Project AdministratorIn charge of this item.
Thu 13 Oct 2005 01:40:16 PM UTC, original submission:

Declaring a transition of \'Open/Closed\' from \'Any\' to \'Open\' to automatically set \'Privacy\' to \'Private\' is accepted but has NO effect.
On the contrary declaring a transition of \'Status\' from \'Any\' to \'Fixed\' to automatically set \'Open/Closed\' to \'Closed\' does work NICELY.
1] What is the difference ? ... in the first case, the field for which the transition is declared has a \'System\' scope whereas in the second case it has a \'Project\' scope ... would that explain it?
2] Anyway, how is it possible to set/change the default value of a field?
3] In the end it turned out that the only way to force \'Privacy\' to \'Private\' was:
- declare \'Privacy\' as mandatory
- declare its transitions to be \'Forbidden\' by default
- declare the transition \'Any\' --> \'Private\' allowed

It works but in my opinion it\'s far from being intuitive.
... and in addition if we don\'t declare \'Privacy\' as mandatory
and submit a bug without setting this field, the bug is created with \'Privacy\' set to \'Public\' which is contrary to the defined
transitions.
All these points should be clarified and fixed/explained.
Yves

Yves Perrin <ype>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one

Digest:
   task dependencies.

 

Carbon-Copy List
  • -unavailable- added by yeupou (Updated the item)
  • -unavailable- added by ype (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 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 11 Nov 2005 10:54:24 AM UTCyeupouStatusConfirmed=>Fixed
      Open/Closed-Automatic update due to transitions settings-=>Closed
    Fri 11 Nov 2005 10:31:10 AM UTCyeupouSummaryProblems to force \'Privacy\' to \'Private\'=>Problems to force 'Privacy' to 'Private'
    Fri 11 Nov 2005 10:31:00 AM UTCyeupouStatusNeed Info=>Confirmed
      Open/Closed-Automatic update due to transitions settings-=>Open
    Thu 10 Nov 2005 02:36:31 PM UTCyeupouAssigned toNone=>yeupou
    Thu 10 Nov 2005 02:35:34 PM UTCyeupouPriorityC - Normal=>D - High
    Thu 10 Nov 2005 02:34:54 PM UTCyeupouStatusNone=>Need Info
      Release=>1.2
      Planned Release=>1.3
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup