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 - NoGo for plugin PHP Yii Framework (NetBeans.PHPCC)
Summary: NoGo for plugin PHP Yii Framework (NetBeans.PHPCC)
Status: RESOLVED FIXED
Alias: None
Product: updatecenters
Classification: Unclassified
Component: Pluginportal (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: junichi11
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-01 18:40 UTC by carlosqt
Modified: 2013-05-03 09:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
step4 dialog image (46.50 KB, image/png)
2013-05-02 11:58 UTC, junichi11
Details
after click on finish (40.03 KB, image/png)
2013-05-02 18:17 UTC, carlosqt
Details
finish button enabled in step 4 (225.90 KB, image/png)
2013-05-02 18:20 UTC, carlosqt
Details
unexpected exception (17.68 KB, image/png)
2013-05-02 18:21 UTC, carlosqt
Details
exception details (56.38 KB, image/png)
2013-05-02 18:21 UTC, carlosqt
Details
using an invalid yiic php file (46.65 KB, image/png)
2013-05-02 18:30 UTC, carlosqt
Details

Note You need to log in before you can comment on or make changes to this bug.
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!