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 211388

Summary: Updates of core modules went to userdir
Product: platform Reporter: ulfzibis <ulfzibis>
Component: Plugin ManagerAssignee: Libor Fischmeistr <lfischmeistr>
Status: NEW ---    
Severity: normal CC: jglick
Priority: P3 Keywords: UI
Version: 7.2   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description ulfzibis 2012-04-18 12:11:16 UTC
[ BUILD # : 201204100400 ]
[ JDK VERSION : 1.7 ]

Today I started the Update of this IDE from user account.
IMO, Updater should warn about missing privileges to IDE's install dir and
either should suggest to start the updates from administrator account or ask
for Administrator privileges via RunAs functionality.
Comment 1 Jiri Rechtacek 2012-04-26 12:16:47 UTC
It's intention. If there is no write permission to installation, all update have to go to userdir.
Plugin Manager could notify users about that fact but it's an question of UI team how to communicate it.
Comment 2 Jiri Rechtacek 2012-04-26 12:20:30 UTC
Btw. in case of core's bootstrap or startup and other fixed modules I'm going to show a notification in that case - see issue 211777.
Comment 3 ulfzibis 2012-04-26 12:51:56 UTC
I still think, this is a defect!
If Updatemanager says something like "NetBeans IDE successfully updated", then the IDE should be truly updated.
Current behaviour is only a custom user patch.
Comment 4 Jesse Glick 2012-04-26 18:10:53 UTC
I would agree that PM should never install a module specifying targetcluster into the userdir without prompting the user and explaining the possible implications - that the new module or update will not be available to other users; that some modules may not work correctly this way (but perhaps that part is covered by bug #211777).