Open ltheussl opened 2 days ago
What is the name of the library you tried to update? The code does not look that broken, but it would break, if there would be a slash inside the name. Is that the case?
Thanks for the comment and sorry, - I should have mentioned this. It's pdfmake which I try to upgrade from 0.2.10 to 0.2.12. There is indeed a slash in some dependencies (eg Roboto-Italic.ttf). Following your comment I tried to ugrade a different library (jszip) and that worked... however, also pdfmake used to work some time ago. Unfortunately I can't say when exactly, probably around netbeans 16.
Apache NetBeans version
Apache NetBeans 23
What happened
In a php project when choosing Properties -> JavaScript Libraries -> CDNJS, trying to Update a library has no effect, and following exception is thrown:
Language / Project Type / NetBeans Component
PHP project with javascript libraries
How to reproduce
Create a php project and add a javascripr library from Properties -> JavaScript Libraries -> CDNJS. Close the dialog and manually set the version to a lower value in project.xml. Then try to update the version in the CDNJS properties.
Did this work correctly in an earlier version?
No / Don't know
Operating System
Windows 10 Pro 22H2
JDK
21
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
This used to work some time ago, but not in Netbeans 22 and 23
Are you willing to submit a pull request?
No