[ 
https://issues.apache.org/jira/browse/GERONIMO-3746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12561978#action_12561978
 ] 

Joseph Leong commented on GERONIMO-3746:
----------------------------------------

Update: The progress bar isn't updating because the thread delay is set at an 
interval that isn't sampling the progress fast enough.  Another factor 
occurring is that some of the plugins / dependencies we are downloading is so 
small that the bandwidth burst can grab it in one shot.. so there is no 
appearance of an incremental download.  After the burst of this download, the 
download poller will grab a percent value of 0 (technically -1)  immediately 
because it is querying the next file.  Thus, the progress bar appearance for a 
lot of small files will seem as though nothing is downloading.  In effect of 
this, i will be increasing the sampling time and implementing a small aesthetic 
250-500millisecond delay after the '100' values so the user can see a full bar. 
 Some issues that will arise because of this, if two files are queried and 
downloaded sequentially under 250-500ms it won't do a double lapse of a full 
progress bar.

Another issue occurring is that when a plugin fails to install for whatever 
reason (missing file .. ) it throws an exception which doesn't lead for a 
proper exit, so the next time someone goes into the plugin installer it will 
flag the CSRF attack because of a session mismatch.  I will open a new Jira for 
this. One last issue, after everything is downloaded and installed.  Expecting 
to submit a patch shortly

-Joseph Leong

> Plugin Progress Bar Not Updating
> --------------------------------
>
>                 Key: GERONIMO-3746
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-3746
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: console
>    Affects Versions: 2.1
>            Reporter: Joseph Leong
>            Assignee: Joseph Leong
>
> When installing any plugin from the repository, the progress bar fails to 
> update correctly.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to