client:page scope appends unnecessary state when generating link (using 
friendly urls)
--------------------------------------------------------------------------------------

         Key: TAPESTRY-770
         URL: http://issues.apache.org/jira/browse/TAPESTRY-770
     Project: Tapestry
        Type: Bug
  Components: Framework  
    Versions: 4.0    
 Environment: 4.0-b12
    Reporter: Yoritaka Sakakura
    Priority: Minor


PageClientPropertyPersistenceScope.shouldEncodeState checks property page 
against current page rather than a link's target page when invoked via 
LinkFactory.constructLink

LinkFactoryImpl has already called ServiceEncoder.encode before passing the 
ServiceEncoding to PropertyPersistenceStrategySource, so the 
ServiceConstants.PAGE parameter value (seems like easiest check) has been moved 
into the servlet path and nulled out. Would it be possible to:
* add the persistent properties (and ServiceEncoderImpl.resetModified) before 
ServiceEncode processing in LinkFactoryImpl
* check the encoding's page parameter rather before active page in 
PageClientPropertyPersistenceScope

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to