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 122008

Summary: Project: Downloaded files are shown in project with delay
Product: php Reporter: kozlov <kozlov>
Component: CodeAssignee: Andrew Korostelev <akorostelev>
Status: VERIFIED FIXED    
Severity: blocker CC: av-nb, rmatous, tslota
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description kozlov 2007-11-15 14:20:16 UTC
Reproduced in build071115.

Steps to reproduce:

- create project associated with server;
- invoke download on project.

When downloading process is finished files list appears not immediately.
Comment 1 Andrew Korostelev 2007-11-15 14:30:40 UTC
Not sure it depends on us.
We copy files independently from NB FileObjects.
And project tree listens for changes in Filesystem.
Will look how it can be improved.
Comment 2 Alexei Mokeev 2007-11-20 08:20:12 UTC
Guys, sometimes the delay is up to tens of seconds and it is very bad. Let's make sure that we fix it for 6.0.
Tomasz, do you have any clue, how we can force project to rescan files after download ? 
Comment 3 Tomasz Slota 2007-11-20 09:53:22 UTC
Have you tried calling refresh() on the FileObject of the parent directory and/or calling resfresh on the FileSystem?

Anyways, Radek Matous is the best person to ask questions about the FileObjects API, I am putting him on the CC. 


Comment 4 Andrew Korostelev 2007-11-20 11:11:47 UTC
thanks.
this works perfectly.

I have tried to listen to fs updates in project tree...
have got side effects but not expected result.

fixed.
Now update parent dir. after file is downloaded.
Comment 5 Andrew Korostelev 2007-11-27 12:40:37 UTC
issue is still reproducible for downloading from local server under solaris/linux system.
should be fixed for 6.0
Comment 6 Andrew Korostelev 2007-11-27 12:43:03 UTC
fixed.
it was system-dependent issue. Was not reproducible under windows and mac
Comment 7 kozlov 2007-12-03 17:36:33 UTC
Verified in beta.