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 229251

Summary: NoGo for plugin PHP Yii Framework (NetBeans.PHPCC)
Product: updatecenters Reporter: carlosqt
Component: PluginportalAssignee: junichi11
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: step4 dialog image
after click on finish
finish button enabled in step 4
unexpected exception
exception details
using an invalid yiic php file

Description carlosqt 2013-05-01 18:40:48 UTC
bugreported http://statistics.netbeans.org/analytics/exception.do?id=669964
Works on NB 7.3<br />
Mac OSX 10.7.5<br />
Java 1.7.0_15 64Bit<br />




http://plugins.netbeans.org/plugin/47246
Comment 1 junichi11 2013-05-02 03:47:59 UTC
I can not reproduce it. Please tell me the exact your steps on [1].

Thanks.

[1]https://github.com/nbphpcouncil/nb-yii-plugin/issues/29
Comment 2 Jiri Kovalsky 2013-05-02 08:51:27 UTC
I cannot reproduce it either. If I check the Yii Framework checkbox in step 4 the Finish button gets immediately disabled. You can finish the wizard even though Yii is checked and "Configuration of Yii PHP Web Framework is not valid." message appears Carlos?
Comment 3 carlosqt 2013-05-02 09:16:56 UTC
junichi11, Jiri Kovalsky,

I got the message "Configuration of Yii PHP Web Framework is not
valid." message, however, an exception was shown on the statusbar with the red circle, I clicked on it and got the Unhandled Exception Message box where I reported the issue. In fact I did reproduced it 3 times before finally creating the bug report.

I'm not at home (where my Mac is) at the moment, but I will reproduce the error and attach screenshots to this bug report tonight.

Could it be that it only happens in NetBeans for OSX? 


Carlos
Comment 4 Jiri Kovalsky 2013-05-02 10:01:32 UTC
Going to test it on my Mac OS X instance in VirtualBox. Stay tuned...
Comment 5 Jiri Kovalsky 2013-05-02 10:42:52 UTC
So, even on my Mac OS X 10.8.2 it works as expected i.e. I cannot push "Finish" button if Yii Framework is checked.

NetBeans IDE 7.3 (Build 201302132200) on JDK 1.6.0_37
Comment 6 junichi11 2013-05-02 11:58:12 UTC
Created attachment 134033 [details]
step4 dialog image

my environment:

Product Version: NetBeans IDE 7.3 (Build 201302132200)
Java: 1.6.0_45; Java HotSpot(TM) Client VM 20.45-b01
Runtime: Java(TM) SE Runtime Environment 1.6.0_45-b06
System: Linux version 3.2.0-41-generic-pae running on i386; UTF-8; ja_JP (nb)
Comment 7 Jiri Kovalsky 2013-05-02 12:05:43 UTC
That's exactly what I see as well.
Comment 8 carlosqt 2013-05-02 18:17:54 UTC
Created attachment 134051 [details]
after click on finish
Comment 9 carlosqt 2013-05-02 18:20:05 UTC
Created attachment 134053 [details]
finish button enabled in step 4
Comment 10 carlosqt 2013-05-02 18:21:15 UTC
Created attachment 134054 [details]
unexpected exception
Comment 11 carlosqt 2013-05-02 18:21:49 UTC
Created attachment 134055 [details]
exception details
Comment 12 carlosqt 2013-05-02 18:30:47 UTC
Created attachment 134061 [details]
using an invalid yiic php file


I know what the real problem is. 
From an old plugin verification, I left it setup (a yiic.php file was set, but the file didn't exist anymore), that's the reason why I was able to create projects with the finish button enabled.

So, the real bug is that there is an un-handled exception when the yiic.php file is not valid or is not found.
Comment 13 junichi11 2013-05-02 23:26:19 UTC
I see. I'll fix it.

Thanks.
Comment 14 junichi11 2013-05-03 01:24:44 UTC
@Carlos, Jiri,

I have fixed it (Clear the settings if the file doesn't exist) and uploaded new nbm file.

Thank you for your verification.
Comment 15 Jiri Kovalsky 2013-05-03 09:20:30 UTC
Cool, thanks for your fast turnaround Junichi!