-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CHE-6162: Fix problem project detection procedure #6264
Conversation
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
Build # 3670 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/3670/ to view the results. |
@@ -96,6 +97,11 @@ public SourceStorage getSource() { | |||
return reference.getSource(); | |||
} | |||
|
|||
@Override | |||
public List<ProjectProblem> getProblems() { | |||
return null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe it would be better to return actual list of problems? reference.getProblems()
WDYT?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, thx
@@ -189,6 +193,7 @@ public void updatePresentation(@NotNull NodePresentation presentation) { | |||
? nodesResources.hiddenSimpleFolder() | |||
: nodesResources.simpleFolder()); | |||
} else if (getData().getResourceType() == PROJECT) { | |||
Log.info(getClass(), ((Project) getData()).isProblem()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Non-informative info log
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
Signed-off-by: Vitalii Parfonov <vparfonov@redhat.com>
Build # 3684 - FAILED Please check console output at https://ci.codenvycorp.com/job/che-pullrequests-build/3684/ to view the results. |
Build success. https://ci.codenvycorp.com/job/che-pullrequests-build/3685/ |
What does this PR do?
Fix problem project detection procedure.
Avoid call ResourceNode.updatePresntation if not need
What issues does this PR fix or reference?
#6162