[ 
https://issues.apache.org/jira/browse/WICKET-946?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12526815
 ] 

John Ray commented on WICKET-946:
---------------------------------

The usecase is to create a kind of content management system or WIKI. I 
basically want user's to be able to add/remove pages while the application is 
running. 

> WebRequestCodingStrategy is not synchronized
> --------------------------------------------
>
>                 Key: WICKET-946
>                 URL: https://issues.apache.org/jira/browse/WICKET-946
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta3
>            Reporter: John Ray
>            Assignee: Igor Vaynberg
>         Attachments: WebRequestCodingStrategy-patch, 
> WebRequestCodingStrategy.java
>
>
> The WebRequestCodingStrategy class uses a TreeMap to store mounted pages 
> however there is no synchronization done. This will cause problems if pages 
> are being mounted/unmounted by one thread while web requests are being served 
> from a different one. It could also cause problems if two threads try to 
> mount/unmount pages at the same time.
> I'll include a patch to fix this as well as a new version of the java file 
> that you can use if you want
> Keep up the good work

-- 
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