Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 482063

Summary: More commits message under Outgoing section
Product: [ECD] Orion Reporter: xin chen <jiudechenxin>
Component: NodeAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ayl051, grant_gayed, mengzhixing0228, pwebster, Silenio_Quarti
Version: 10.0   
Target Milestone: ---   
Hardware: PC   
OS: Mac OS X   
Whiteboard:
Bug Depends on:    
Bug Blocks: 474353    

Description xin chen CLA 2015-11-12 22:34:17 EST
Outoging commit log shows "More commits" link even when the end has been reached.
Comment 1 Paul Webster CLA 2015-11-23 13:54:52 EST
What's the scenario that I need to do to reproduce this problem on https://orionhub.org?

PW
Comment 2 xin chen CLA 2015-12-04 15:36:32 EST
When reloading the git page, under the outgoing section, even there's no commit but it still showing"more commit for outgoing" 
(In reply to Paul Webster from comment #1)
> What's the scenario that I need to do to reproduce this problem on
> https://orionhub.org?
> 
> PW
Comment 3 xin chen CLA 2015-12-05 15:02:43 EST
I started working on this bug three weeks ago. In order to fix the bug, I traced the code by using Chrome debug tool, at the end I assumed the problem might in the gitCommitList.js, gitCommands.js and gitmessages.js. First in gitCommitList.js, function “processMoreChildren”, there’s a container  to hold childrenPorcess called fullList. I think the problem is even the code was check fullList is empty or not but even the condition was empty, it still showing the message. So I added some condition to check the fullList. But the problem didn’t solve. Then I stepped into getChildren function in gitCommitList.js. There’s a condition called “parentItem.Type === “Outgoing””
I think the “if (outgoingCommits.Children[0]) “ to check if there’s an element in Children, if there’s an element then set it to true. In the else condition, I changed the code to set outgoingCommits.outgoing to false instead of commit.outgoing.Because I think outgoingCommit control the message to show. Unfortunately, it still not works.
Comment 4 Grant Gayed CLA 2016-01-06 16:53:42 EST
I don't see this at OrionHub, I'm going to assume that you're seeing this with a local Node server.
Comment 5 Silenio Quarti CLA 2016-03-30 22:56:37 EDT
Fixed in latest