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 228955 - JavaScript errors in Smarty file
Summary: JavaScript errors in Smarty file
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: PC Linux
: P2 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: REGRESSION
: 229181 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-24 13:17 UTC by Vladimir Riha
Modified: 2013-05-20 08:51 UTC (History)
1 user (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 Vladimir Riha 2013-04-24 13:17:22 UTC
For instance

<script>
    
        modules = {$modules};
        products = {$products};
    
</script>


works fine in 7.3patch1, but in trunk, both lines are marked as error. The same goes for 

<button onclick="editTribe({$t->id})"/> is also marked as error.




Product Version: NetBeans IDE Dev (Build web-main-10373-on-20130424)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-40-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2013-04-29 11:26:05 UTC
Possible duplicate of 229034
Comment 2 Vladimir Riha 2013-04-29 21:15:29 UTC
*** Bug 229181 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Riha 2013-04-30 05:32:59 UTC
highly visible regression since 7.3patch1, it should be fixed for 7.4
Comment 4 Petr Pisl 2013-05-16 11:24:45 UTC
Should be fixed in dev builds now.
Comment 5 Vladimir Riha 2013-05-20 08:51:44 UTC
Thank you, verified


Product Version: NetBeans IDE Dev (Build web-main-10560-on-20130519)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-43-generic-pae running on i386; UTF-8; en_US (nb)