You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Alex Lumpov (JIRA)" <ji...@apache.org> on 2011/09/26 12:10:27 UTC
[jira] [Issue Comment Edited] (TAP5-1635)
ComponentEventLinkEncoderImpl bug
[ https://issues.apache.org/jira/browse/TAP5-1635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13114570#comment-13114570 ]
Alex Lumpov edited comment on TAP5-1635 at 9/26/11 10:10 AM:
-------------------------------------------------------------
Why invalid?
1. Let`s take standart tapestry application from quickstart archetype.
2. Change start page to 'About'
public static void contributeApplicationDefaults(MappedConfiguration<String, String> configuration) {
configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en");
configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
configuration.add(SymbolConstants.APPLICATION_VERSION, "1.0-SNAPSHOT");
configuration.add(SymbolConstants.START_PAGE_NAME, "About");
}
3. Run application
Then I click to "Index" from menu I saw About page,
Then I click to "About" from menu I saw About page
I can saw Index page only if I add "/index" in browser address.
I think this is bug.
was (Author: alexlumpov):
Why?
1. Let`s take standart tapestry application from quickstart archetype.
2. Change start page to 'About'
public static void contributeApplicationDefaults(MappedConfiguration<String, String> configuration) {
configuration.add(SymbolConstants.SUPPORTED_LOCALES, "en");
configuration.add(SymbolConstants.PRODUCTION_MODE, "false");
configuration.add(SymbolConstants.APPLICATION_VERSION, "1.0-SNAPSHOT");
configuration.add(SymbolConstants.START_PAGE_NAME, "About");
}
3. Run application
Then I click to "Index" from menu I saw About page,
Then I click to "About" from menu I saw About page
I can saw Index page only if I type "/index" in browser address.
I think this is bug.
> ComponentEventLinkEncoderImpl bug
> ---------------------------------
>
> Key: TAP5-1635
> URL: https://issues.apache.org/jira/browse/TAP5-1635
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2.6
> Reporter: Alex Lumpov
> Priority: Minor
>
> Method ComponentEventLinkEncoderImpl.encodePageName
> must omit value of tapestry.start-page-name
> not "index"
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira