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 218931 - 'Save as Template' action is missing on the project node
Summary: 'Save as Template' action is missing on the project node
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Project (show other bugs)
Version: 7.3
Hardware: All All
: P1 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-25 03:09 UTC by David Konecny
Modified: 2012-10-01 07:58 UTC (History)
5 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 David Konecny 2012-09-25 03:09:39 UTC
It used to be there but I cannot see in the today dev build.
This is not a showstopper but if there is a time I would prefer to fix it.
Comment 1 David Konecny 2012-09-25 03:29:02 UTC
web-main#6faad63169de
web-main#fa98df72c7cf
Tomas, could you review please? Thanks.
Comment 2 Tomas Mysik 2012-09-25 08:40:41 UTC
Why SFS folder "Actions/Project"? I guess more general project actions should go there. This clientside project specific action should be directly in "Projects/org-netbeans-modules-web-clientproject/Actions" I guess.
Comment 3 David Konecny 2012-09-25 09:18:14 UTC
(In reply to comment #2)
> Why SFS folder "Actions/Project"? I guess more general project actions should
> go there. This clientside project specific action should be directly in
> "Projects/org-netbeans-modules-web-clientproject/Actions" I guess.

But that's how it was and it did not work - no action is shown. Does it work for you (before my two changes)? That's why I replaced registration via annotations with layer registration. And layer is using shadow files from Actions/Project.
Comment 4 Tomas Mysik 2012-09-25 09:33:08 UTC
That was my fault, sorry - I changed (in layer.xml) path for project actions [1] but did not notice that it is used also in the annotation for this action. Reopening, I will fix it immediately.

[1] from "org.netbeans.[...]" to "org-netbeans-[...]" (SFS paths should not contains dots but dashes)
Comment 5 Tomas Mysik 2012-09-25 09:45:42 UTC
Fixed.

http://hg.netbeans.org/web-main/rev/1d61e7ba7dbd
Comment 6 David Konecny 2012-09-25 20:48:18 UTC
Thanks Tomas.

Marian could we integrate this into Beta? It is very save change:

< @ActionReference(position = 600, 
<      path = "Projects/org.netbeans.modules.web.clientproject/Actions")
-----
> @ActionReference(position = 3080, 
>      path = "Projects/org-netbeans-modules-web-clientproject/Actions")
Comment 7 Quality Engineering 2012-09-26 02:10:02 UTC
Integrated into 'main-golden', will be available in build *201209260001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/6faad63169de
User: David Konecny <dkonecny@netbeans.org>
Log: #218931 - 'Save as Template' action is missing on the project node
Comment 8 David Konecny 2012-09-27 07:41:29 UTC
Tomas, Vlada, could you verify this please? Thanks
Comment 9 Tomas Mysik 2012-09-27 07:52:48 UTC
For me, the fix worked of course. Right now I cannot verify since I do not have the latest sources (repo is down).
Comment 10 Tomas Mysik 2012-09-27 10:03:02 UTC
Láďo, verify please this issue so I can backport it to Beta.

Thanks.
Comment 11 Vladimir Riha 2012-09-27 11:29:29 UTC
Action is in context menu, please continue with backporting to Beta. While testing it I noticed issue 219109 (I don't think it is a stopper for beta)


Product Version: NetBeans IDE Dev (Build web-main-8687-on-20120927)
Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)
Comment 12 Tomas Mysik 2012-09-27 12:24:51 UTC
Backported.

http://hg.netbeans.org/releases/rev/5914dbae79c8
Comment 13 Quality Engineering 2012-09-27 18:10:52 UTC
Integrated into 'releases', will be available in build *201209271612* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/5914dbae79c8
User: Tomas Mysik <tmysik@netbeans.org>
Log: #218931 - 'Save as Template' action is missing on the project node
Comment 14 Vladimir Riha 2012-10-01 07:58:11 UTC
verified in Beta

Product Version: NetBeans IDE 7.3 Beta (Build 201210010205)
Java: 1.7.0_07; Java HotSpot(TM) Client VM 23.3-b01
System: Linux version 3.2.0-31-generic-pae running on i386; UTF-8; en_US (nb)