Inconsitencies in the validation of the Commit dialog
Moderator: SourceGear
-
- Posts: 112
- Joined: Mon May 01, 2006 10:50 pm
- Location: Birmingham, AL
Inconsitencies in the validation of the Commit dialog
1) Set your repository to require check-in comments
2) Make some changes to your solution, check-in
3) Next to Update Bugs, click Browse
4) Select a Fortress item, leave the option checked to Add checkin comment as Item comment
5) Check in
Scenario 2:
1) Make some changes to your solution, check-in
2) Next to Update Bugs, manually type an item number (do not browse)
3) Select a Fortress item, leave the option checked to Add checkin comment as Item comment
4) Check in
5) Oh No! You get the "Check in comments are required for this repository" validation message.
2) Make some changes to your solution, check-in
3) Next to Update Bugs, click Browse
4) Select a Fortress item, leave the option checked to Add checkin comment as Item comment
5) Check in
Scenario 2:
1) Make some changes to your solution, check-in
2) Next to Update Bugs, manually type an item number (do not browse)
3) Select a Fortress item, leave the option checked to Add checkin comment as Item comment
4) Check in
5) Oh No! You get the "Check in comments are required for this repository" validation message.
<a href="http://www.vertagen.com">Vertagen Solutions</a>
A check-in comment ( or change set comment ) is a comment associated with the transaction. In the commit dialog, there is a place for this type of comment. When this text box is left blank, the repository is set to require check-in comments, and the user clicks to commit, a comment must be provided for the change set or one of the change set items for the transaction to succeed.
Now, the "browse" for bugs dialog happens to pre-fill the change set's comment with the bug description, thus providing data in the comment's text box. That explains scenario #1.
In scenario #2, did you provide a comment to the change set? If not, then you will need to provide data here in order to commit the transaction.
Now, the "browse" for bugs dialog happens to pre-fill the change set's comment with the bug description, thus providing data in the comment's text box. That explains scenario #1.
In scenario #2, did you provide a comment to the change set? If not, then you will need to provide data here in order to commit the transaction.
Jeff Clausius
SourceGear
SourceGear
-
- Posts: 112
- Joined: Mon May 01, 2006 10:50 pm
- Location: Birmingham, AL
I didn't provide a check in comment for scenario 2, but I did manually type in the Bug Id, so you would assume that Fortress would look up the Bug and provide its description as the checkin comment, the same way it does in scenario 1 when you browse for it.
Also, in scenario 1, while the bug description may be provided as the checkin comment, there's no visual cue for this other than the Bug Id being shown on the dialog.
Make sense?
Also, in scenario 1, while the bug description may be provided as the checkin comment, there's no visual cue for this other than the Bug Id being shown on the dialog.
Make sense?
<a href="http://www.vertagen.com">Vertagen Solutions</a>
-
- Posts: 112
- Joined: Mon May 01, 2006 10:50 pm
- Location: Birmingham, AL
-
- Posts: 112
- Joined: Mon May 01, 2006 10:50 pm
- Location: Birmingham, AL
-
- Posts: 112
- Joined: Mon May 01, 2006 10:50 pm
- Location: Birmingham, AL
Thats actually not true, I noticed that it does in fact fill in the item description in the comment box.Also, in scenario 1, while the bug description may be provided as the checkin comment, there's no visual cue for this other than the Bug Id being shown on the dialog.
My mistake!
<a href="http://www.vertagen.com">Vertagen Solutions</a>