[ 
https://issues.apache.org/jira/browse/TOMEE-1793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15267261#comment-15267261
 ] 

Matthew Broadhead commented on TOMEE-1793:
------------------------------------------

i rolled back to a previous commit and everything works fine.  i have compared 
the commit with head in git and the only thing that stands out is that i 
created three converters between the commits.  everything else is just 
organisational.  only 16 files changed in the project.  you are welcome to log 
in on gitlab if you want to see the comparison between the commits. 

> PostConstruct and PreRenderView called twice on load
> ----------------------------------------------------
>
>                 Key: TOMEE-1793
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1793
>             Project: TomEE
>          Issue Type: Bug
>          Components: TomEE Core Server
>    Affects Versions: 1.7.3, 1.7.4
>            Reporter: Matthew Broadhead
>         Attachments: threadstack20160501.txt
>
>
> May have started after recent Oracle java update (1.8.0-92-b14) but suddenly 
> all ManagedBeans seem to be calling PostConstruct and PreRenderView twice on 
> View load.  Second time it is called the request parameters are empty.  
> Result is that any redirect in PreRenderView gets executed.  Determined 
> second request was a Partial Request so surrounded PreRenderView listener with
> {code}
> if 
> (!FacesContext.getCurrentInstance().getPartialViewContext().isPartialRequest())
>  {
> ...
> }
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to