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 257722 - upload and download links are disabled on some folders in the projects view
Summary: upload and download links are disabled on some folders in the projects view
Status: RESOLVED INCOMPLETE
Alias: None
Product: php
Classification: Unclassified
Component: FTP Support (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-27 23:13 UTC by ura_soul
Modified: 2016-01-29 12:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
latest logfile from netbeans (231.11 KB, text/x-log)
2016-01-28 15:01 UTC, ura_soul
Details
project properties page in 8.0.2 (115.94 KB, image/png)
2016-01-29 09:50 UTC, ura_soul
Details
project properties page in 8.1 (61.88 KB, image/png)
2016-01-29 09:50 UTC, ura_soul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ura_soul 2016-01-27 23:13:02 UTC
i have just installed fedora 23 here and after installing netbeans 8.1 i have found that when using my pre-existing project, i could not upload or download many of the folders to/from my remote server because the upload/download links on the context menu for those folders are disabled.

i have looked at the folders involved and am not able to see any reason for them not being able to be copied to a remote server or overwritten from a remote server. 

i have searched the web and found a couple of threads with people reporting the same behavior in netbeans, but the solution offered there has not worked for me. in those threads the solution was to delete the nbproject folder for the project and then reopen the project in netbeans. when i did this it made no difference to the upload/download glitch and so i am out of ideas and can't really use netbeans until this is resolved.
Comment 1 Tomas Mysik 2016-01-28 13:57:55 UTC
Very likely a duplicate of issue #256585. Read it for possible workarounds.

Thanks for reporting.

*** This bug has been marked as a duplicate of bug 256585 ***
Comment 2 ura_soul 2016-01-28 14:05:37 UTC
(In reply to Tomas Mysik from comment #1)
> Very likely a duplicate of issue #256585. Read it for possible workarounds.
> 
> Thanks for reporting.
> 
> *** This bug has been marked as a duplicate of bug 256585 ***

i agree that the symptoms are similar to bug 256585, however, this does not just occur in folders that have composer.json in them and, in fact, when i disabled the composer plugin there was no change to the situation. so it appears that this bug has another trigger that is not covered in the linked bug report.
Comment 3 Tomas Mysik 2016-01-28 14:30:59 UTC
In such a case, we definitely need exact steps to reproduce or even better, a sample project.

What you can do:
- verify in Project Properties dialog that your Run Configuration is correct;
- try NB 8.0 to see whether those actions are enabled again.

Simply reopen this issue and provide your feedback.

Thanks for reporting and your cooperation.
Comment 4 Tomas Mysik 2016-01-28 14:46:45 UTC
BTW it is _always_ a good idea to attach your IDE log [1], it can contain some relevant errors.

Thanks.
[1] http://wiki.netbeans.org/FaqLogMessagesFile
Comment 5 ura_soul 2016-01-28 15:01:45 UTC
Created attachment 158272 [details]
latest logfile from netbeans
Comment 6 ura_soul 2016-01-28 15:19:19 UTC
ok, i have checked the project properties and am not seeing anything wrong there.
i have just downloaded and installed netbeans 8.0.2 - however, the layout is different and the run tab for the project properties does not include the options for a remote FTP connection. i clicked the help documents link, but that just goes to help docs for 8.1.. so i am presently unclear on how to test this issue in version 8.


(In reply to Tomas Mysik from comment #3)
> In such a case, we definitely need exact steps to reproduce or even better,
> a sample project.
> 
> What you can do:
> - verify in Project Properties dialog that your Run Configuration is correct;
> - try NB 8.0 to see whether those actions are enabled again.
> 
> Simply reopen this issue and provide your feedback.
> 
> Thanks for reporting and your cooperation.
Comment 7 Tomas Mysik 2016-01-29 07:18:38 UTC
(In reply to ura_soul from comment #6)
> i have just downloaded and installed netbeans 8.0.2 - however, the layout is
> different and the run tab for the project properties does not include the
> options for a remote FTP connection.

You are wrong, the layout is identical. Can you please attach its screenshot?

BTW if you cannot see any "Remote Web Site" option, it is likely the reason for these actions to be disabled...

Again, simply reopen this issue.

Thanks.
Comment 8 Tomas Mysik 2016-01-29 07:19:14 UTC
(In reply to ura_soul from comment #5)
> Created attachment 158272 [details]
> latest logfile from netbeans

The log is incomplete. Anyway there is no error in it.

Thanks.
Comment 9 ura_soul 2016-01-29 09:50:12 UTC
Created attachment 158281 [details]
project properties page in 8.0.2
Comment 10 ura_soul 2016-01-29 09:50:38 UTC
Created attachment 158282 [details]
project properties page in 8.1
Comment 11 ura_soul 2016-01-29 09:52:49 UTC
no, i am not wrong. as you can see from the screenshots, the project properties pages are quite different between these two versions. i did not think they were (from memory of using the earlier version previously), but they are - for me here at least.

there is no remote web site option for me in 8.0.2, but there is in 8.1 and hence i can see upload/download for some folders (but not for other folders) in 8.1.



(In reply to Tomas Mysik from comment #7)
> (In reply to ura_soul from comment #6)
> > i have just downloaded and installed netbeans 8.0.2 - however, the layout is
> > different and the run tab for the project properties does not include the
> > options for a remote FTP connection.
> 
> You are wrong, the layout is identical. Can you please attach its screenshot?
> 
> BTW if you cannot see any "Remote Web Site" option, it is likely the reason
> for these actions to be disabled...
> 
> Again, simply reopen this issue.
> 
> Thanks.
Comment 12 ura_soul 2016-01-29 09:53:50 UTC
that was the complete log file that was in the location specified. there were other, older - archived files from the same log that i did not post.

(In reply to Tomas Mysik from comment #8)
> (In reply to ura_soul from comment #5)
> > Created attachment 158272 [details]
> > latest logfile from netbeans
> 
> The log is incomplete. Anyway there is no error in it.
> 
> Thanks.
Comment 13 Tomas Mysik 2016-01-29 10:03:25 UTC
You are wrong.

(In reply to ura_soul from comment #10)
> Created attachment 158282 [details]
> project properties page in 8.1

In this screenshot, you have _PHP_ project.

(In reply to ura_soul from comment #9)
> Created attachment 158281 [details]
> project properties page in 8.0.2

In this screenshot, you have _HTML5_ project. Note a different project icon as well as different tooltip ("HTML5 project in ...").

So, still waiting for reproducible use-case or a sample _PHP_ project we can investigate.

Thanks.
Comment 14 Tomas Mysik 2016-01-29 10:27:51 UTC
Create at least a tree of all files and folders in your project together with the information which folders are disabled for upload/download. Otherwise we cannot help you, sorry.

Thanks.
Comment 15 ura_soul 2016-01-29 11:52:41 UTC
i did not notice that the project was html5, however, i also would not have thought that there would be a difference between the way html5 and php would upload/download to remote servers.

anyway, i have changed the project in 8.0.2 to be php and now i can upload / download to the remote server in 8.0.2. as normal, correctly for all folders in the project.

what is the recommended way for exporting a tree view of the project in version 8.1 ?

thanks

(In reply to Tomas Mysik from comment #13)
> You are wrong.
>
> (In reply to ura_soul from comment #10)
> > Created attachment 158282 [details]
> > project properties page in 8.1
> 
> In this screenshot, you have _PHP_ project.
> 
> (In reply to ura_soul from comment #9)
> > Created attachment 158281 [details]
> > project properties page in 8.0.2
> 
> In this screenshot, you have _HTML5_ project. Note a different project icon
> as well as different tooltip ("HTML5 project in ...").
> 
> So, still waiting for reproducible use-case or a sample _PHP_ project we can
> investigate.
> 
> Thanks.
Comment 16 Tomas Mysik 2016-01-29 12:33:10 UTC
(In reply to ura_soul from comment #15)
> i did not notice that the project was html5, however, i also would not have
> thought that there would be a difference between the way html5 and php would
> upload/download to remote servers.

HTML5 project does not support any (S)FTP upload/download.

> what is the recommended way for exporting a tree view of the project in
> version 8.1 ?

On Linux, feel free to use "tree" program. Invoke it in your project directory and mark your Source Files, Web Root and folders that cannot be uploaded/downloaded.

Thanks.