apache / apache/netbeans

Files cannot be uploaded to FTP server when included by Composer from a local 'path' repository

Open
#8,781 3 comments 0 reactions 0 assignees View on GitHub
JDK bug kind:bug PHP
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Apache NetBeans version

Apache NetBeans 27

### What happened

Files cannot be uploaded to FTP server when included by Composer from a local 'path' repository.

This started happening after I switched from NetBeans 17 to NetBeans 26, and updating to NetBeans 27 has not helped.

### Language / Project Type / NetBeans Component

PHP Composer project

### How to reproduce

Create basic composer project and inside composer.json file, include something like this:
```
"repositories": [
{
"type": "path",
"url": "../../../Global Libs/dbi/dbi_libs"
}
],
"require": {
"sps/dbi": "*"
}

```
Then in terminal on the project folder run `composer update`

This should create the appropriate 'vendor' directory which includes the files from the source you specified in the composer.json file.

When right-clicking on the 'vendor' folder and selecting upload, it will not upload any of the files from the source you specified in composer.json

### Did this work correctly in an earlier version?

Apache NetBeans 24 or earlier

### Operating System

Windlows 11

### JDK

24

### Apache NetBeans packaging

FoAN provided installer

### Anything else

When viewing the directory in Windows Explorer
project > vendor > sps

Image

### Are you willing to submit a pull request?

No

Contributor guide

Open the contributing guide

Research direction

Use the provided composer.json path repository and run composer update in the project directory; then reproduce the problem by right-clicking vendor and selecting upload. Done means files from the path repository under vendor are uploaded to the FTP server, matching the behavior in NetBeans 24 or earlier.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.