History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-3991
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Robin Shen
Reporter: Nguyen Duc Long
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

SCM changes result is not correct

Created: 23/Jun/23 09:54 AM   Updated: 14/Jul/23 11:06 PM
Component/s: None
Affects Version/s: 8.0.45
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Zip Archive backup.zip (10 kb)

Image Attachments:

1. correct-scm-changes.png
(120 kb)

2. correct-scm-changes2.png
(86 kb)

3. scm.jpg
(57 kb)

 Description  « Hide
I have a configuration in which there are many checkout steps. It seems that it only record count commit of last Step

Checkout_1 - Total Commits 2:
- commit 1
- commit 2
Checkout_2 - Total Commits 0:
Checkout_3 - Total Commits 1:
- commit 3

What I expect:
SCM Changes (3)
- commit 1
- commit 2
- commit 3

What I get:
SCM Changes (1)
- commit 1
- commit 2
- commit 3

 All   Comments   Work Log   Change History      Sort Order:
Robin Shen [24/Jun/23 01:47 AM]
QB8 is very old, and we no longer maintain it. Just tested with QB13 against git repository and SCM changes are correct.

Nguyen Duc Long [29/Jun/23 02:22 AM]
I checked and the error still exists on QB10.
Please check again.(check with p4)

Create a configuration
Create 3 Repositories
Create 3 sync Step, type checkout using 3 repositories

Robin Shen [29/Jun/23 11:27 PM]
Have you specified different destination directory for these 3 repositories? To use multiple checkout steps in same build, different destination directory should be used.

Nguyen Duc Long [30/Jun/23 03:49 AM]
I will test more and tell you if there is more information

Nguyen Duc Long [30/Jun/23 07:32 AM]
I tried to specify different target folders. Error still happens.

Robin Shen [30/Jun/23 03:15 PM]
Can you please reproduce this with a sample database and send me [robin AT pmease DOT com] the backup?

Nguyen Duc Long [03/Jul/23 05:05 AM]
Sorry, this is impossible.
(Commitment to information security)
Instead, send me your backup database [longduc2202 AT gmail DOT com]
I will try to find the difference that causing an error.

Robin Shen [03/Jul/23 05:37 AM]
I don't mean to send your production server. You may set up a brand new QB instance, create a test config to reproduce the issue.

Robin Shen [03/Jul/23 05:42 AM]
My setup here is simple:

1. Create two repositories with client spec retrieving different repositories to different destination directories
2. Create two checkout steps to checkout from defined repositories

Nguyen Duc Long [03/Jul/23 06:47 AM]
case 1: Submit a change on repo 1. There is no change on the repo 2.
case 2: Submit a change on repo 2. There is no change on the repo 1.

==> compare the results

Robin Shen [03/Jul/23 10:27 PM]
Still works correct at my side. There might exist some unawared difference in your setup. So please reproduce this with a sample QB instance without any sensitive data, and send me the backup.

Nguyen Duc Long [04/Jul/23 03:11 AM]
Commitment to information security does not allow me to share any information with the outside. The permission of comment in here is an exception.
Please send me your backup and I will check it. [longduc2202 AT gmail DOT com]

Nguyen Duc Long [04/Jul/23 03:12 AM]
Please set up with P4 and QB13.

Robin Shen [04/Jul/23 10:20 PM]
Backup attached. Please restore with bin/restore.sh. After restore, login with admin/admin

Nguyen Duc Long [11/Jul/23 04:38 AM]
Take screenshots of SCM Changes Panel in cases where you test

Robin Shen [11/Jul/23 11:23 PM]
Screenshot attached

Nguyen Duc Long [12/Jul/23 07:03 AM]
This seems to be a very difficult problem to reproduce.

Please help me check again:
- Step checkout of repo1 placed in front has the change.
- Step 2 no change.

Please share pictures of that case. if it still works properly for you then finish this quest.

Robin Shen [12/Jul/23 11:18 PM]
Still correct. See attached screenshot. Have you tried QB13?

Nguyen Duc Long [13/Jul/23 03:25 AM]
I try on QB8 and QB10.
Is the logic of SCM Changes changing on QB13?

Robin Shen [14/Jul/23 12:36 AM]
We fixed a lot of bugs since then, and SCM change page is also refactored.

Nguyen Duc Long [14/Jul/23 02:54 AM]
Please help me check again on the QB8 version.
I just want to know the fault of the QB8 version or it only happens to us. You do not need to fix anything.
Please share your test results.

Robin Shen [14/Jul/23 11:02 PM]
Tested with QB 8.0.49, and SCM changes are still correct.

Robin Shen [14/Jul/23 11:06 PM]
Can you please test if this issue still exists if both QB repositories pointing to same p4 repo, but to different folders?