This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 253968 - Expression project.licensePath is undefined
Summary: Expression project.licensePath is undefined
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Templates (show other bugs)
Version: 8.1
Hardware: All All
: P2 normal (vote)
Assignee: Svata Dedic
URL:
Keywords:
: 253979 254008 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-07-30 07:39 UTC by Tomas Mysik
Modified: 2015-08-02 13:19 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Mysik 2015-07-30 07:39:02 UTC
Likely caused by fixing issue #253836. Now, one can get "Expression project.licensePath is undefined" error in some newly created files (trid PHP, HTML and XML file).

Thanks.
Comment 1 Tomas Mysik 2015-07-30 07:40:06 UTC
BTW please notice that fix of the issue #253836 has been transplanted to NB 8.1 Beta branch - it should be reverted or the fix of this issue should be transplanted as well.

Thanks.
Comment 2 Svata Dedic 2015-07-30 07:47:15 UTC
Additional code path found ... PHP project overrides (replaces) the whole project key after legacy (non-project) provider run and initialized the derived attributes (licensepath)
Comment 3 Tomas Mysik 2015-07-30 07:52:36 UTC
(In reply to Svata Dedic from comment #2)
> PHP project overrides...

In such case, the same problem will be in web.clientproject module as well I guess. Please let me know if I should do something to fix it in the modules (simply file an issue).

Thanks.
Comment 4 Tomas Mysik 2015-07-30 07:54:29 UTC
BTW I am not sure but maybe maven does it as well (but I can be wrong, not sure about that).

Thanks.
Comment 5 Svata Dedic 2015-07-30 07:56:27 UTC
No fix in modules should be necessary. I just over-optimized the 2nd round provider, so it does not check+fill in derived values removed by the override. Sorry.
Comment 6 Svata Dedic 2015-07-30 08:33:54 UTC
2nd try: fixed in jet-main#779402ebfa47
Comment 7 Tomas Mysik 2015-07-30 10:04:41 UTC
*** Bug 253979 has been marked as a duplicate of this bug. ***
Comment 8 Tomas Mysik 2015-07-30 10:44:21 UTC
Just applied the patch and verified that it works now. Thanks.
(However I cannot verify again the issue #253836 since I do not have java cluster built, sorry.)
Comment 9 Quality Engineering 2015-07-31 01:50:54 UTC
Integrated into 'main-silver', will be available in build *201507310002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/779402ebfa47
User: Svata Dedic <sdedic@netbeans.org>
Log: #253968: recompute the derived project properties after project information change
Comment 10 Ondrej Vrabec 2015-08-02 13:19:33 UTC
*** Bug 254008 has been marked as a duplicate of this bug. ***