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 187313

Summary: PHP templates are use as ready files. (when I've create new php class file template was used insted proper values like file name or author )
Product: php Reporter: faktumpro
Component: EditorAssignee: Ondrej Brejla <obrejla>
Status: RESOLVED INCOMPLETE    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Image showing a php class file after creation

Description faktumpro 2010-06-08 08:45:19 UTC
Product Version = NetBeans IDE 6.9 RC2 (Build 201005312001)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.6.0_16
Runtime = Java HotSpot(TM) 64-Bit Server VM 14.2-b01
Comment 1 oromero 2011-05-31 14:36:21 UTC
Created attachment 108626 [details]
Image showing a php class file after creation

I have also found this bug at 7.0

Product Version: NetBeans IDE 7.0 (Build 201104080000)
Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02
System: Linux version 2.6.35-28-generic running on amd64; UTF-8; en_US (nb)

OS: Ubuntu 10.10
Comment 2 Petr Pisl 2011-06-08 14:39:08 UTC
Strange I haven't seen this. Is it happen for all php templates?
Comment 3 Ondrej Brejla 2012-04-27 09:36:29 UTC
Unfortunately I don't understand to this issue...what exactly happens? If you make your own file template and you use freemarker variables inside, they are not replaced by proper values then? Or something else doesn't work? Please test it in the lates dev build [1]. Thanks.

[1] http://bits.netbeans.org/download/trunk/nightly/latest/