You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (Jira)" <ji...@apache.org> on 2021/04/26 11:13:00 UTC

[jira] [Updated] (NETBEANS-5623) 'fallback' project without trust can turn to 'evaluated'

     [ https://issues.apache.org/jira/browse/NETBEANS-5623?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Svatopluk Dedic updated NETBEANS-5623:
--------------------------------------
    Issue Type: Bug  (was: Improvement)

> 'fallback' project without trust can turn to 'evaluated'
> --------------------------------------------------------
>
>                 Key: NETBEANS-5623
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-5623
>             Project: NetBeans
>          Issue Type: Bug
>          Components: projects - Gradle
>            Reporter: Svatopluk Dedic
>            Assignee: Laszlo Kishalmi
>            Priority: Major
>
>  
> During prototyping, I've encountered a strange thing:
>  
> {code:java}
>         NbGradleProjectImpl prjImpl = prj.getLookup().lookup(NbGradleProjectImpl.class);
>         assertTrue(prjImpl.getGradleProject().getQuality().worseThan(NbGradleProject.Quality.EVALUATED));
>         // attempt to load everything
>         prjImpl.setAimedQuality(NbGradleProject.Quality.FULL);
>         // ... it loaded, but did not escalate the quality bcs not trusted
>         assertTrue(prjImpl.getGradleProject().getQuality().worseThan(NbGradleProject.Quality.EVALUATED));
> {code}
> I expected (the assert at the end) that a fallback project won't change as it's not permitted to execute gradle for it. But it turned to evaluated (no gradle was executed, in fact).
> I consider that a bug - is it ?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists