[jira] [Commented] (TAP5-1733) Throw bespoke exceptions so they may be more easily identified by Error Handlers
[ https://issues.apache.org/jira/browse/TAP5-1733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13444003#comment-13444003 ] Steve Eynon commented on TAP5-1733: --- Fixes to convert malformed URLs in T5.3.4 into a specific MalformedUrlException is given here: How to return HTTP 404 for in-exact URL requests http://tapestry.1045711.n5.nabble.com/How-to-return-HTTP-404-for-in-exact-URL-requests-td5715875.html Throw bespoke exceptions so they may be more easily identified by Error Handlers Key: TAP5-1733 URL: https://issues.apache.org/jira/browse/TAP5-1733 Project: Tapestry 5 Issue Type: Improvement Components: tapestry-core Affects Versions: 5.3 Reporter: Steve Eynon Priority: Minor Labels: exception-handling Two exceptions in particular tend to be thrown prolifically by live sites when they are crawled by robots. They are: - java.lang.RuntimeException: Forms require that the request method be POST and that the t:formdata query parameter have values. - java.lang.IllegalArgumentException: Input string 'XXX' is not valid; the character 'X' at position X is not valid. To save needless reporting of benign errors (and to prevent the error logs from filling up) these exceptions are usually ignored by implementing Error Handlers. But the ErrorHandler has to currently check the exception message: if (e.getMessage().contains(Forms require that the request method be POST)) { doIgnore(); } which is both brittle and nasty. Instead it'd be great if Tapestry could throw some bespoke exceptions so the above could be re-written as: if (e instanceof FormsRequirePostException) { doIngore(); } Email thread below: http://tapestry.1045711.n5.nabble.com/Safari-for-example-browser-history-and-form-exception-td4942074.html -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[CONF] Apache Tapestry Documentation
Documentation Page edited by Howard M. Lewis Ship Changes (3) ... h1. Tapestry 5 Reference and API * Current stable release 5.3.45 ** [API (Javadoc)|http://tapestry.apache.org/5.3.5/apidocs/] ** [Component Reference] ** [Release Notes|Release Notes 5.3.5] * Previous stable release 5.3.4 ** [API (Javadoc)|http://tapestry.apache.org/5.3.4/apidocs/] ** [Component Reference] ** [Release Notes|Release Notes 5.3.4] * Previous stable release 5.3.3 ** [API (Javadoc)|http://tapestry.apache.org/5.3.3/apidocs/] ** [Component Reference] ** [Release Notes|Release Notes 5.3.3] * Previous stable release 5.2.6 ** [API (Javadoc)|http://tapestry.apache.org/5.2/apidocs/] ... Full Content Documentation Pages CookbookDefault ParameterOverriding Exception ReportingSupporting Informal ParametersComponent LibrariesSwitching CasesEnum Parameter RecipeError Page RecipeExtending the If ComponentMeta-Programming Page ContentUsing Select With a ListIoC cookbookIoC Cookbook - Basic Services and InjectionIoC Cookbook - Overriding IoC ServicesIoC Cookbook - PatternsIoC cookbook - Service ConfigurationsUser GuideProject LayoutConfigurationClass ReloadingComponent ReferenceAnnotationsComponent ClassesComponent TemplatesProperty ExpressionsComponent ParametersType CoercionLayout ComponentComponent MixinsBuilt-in MixinsPage NavigationLocalizationPage Life CycleRequest ProcessingComponent RenderingComponent EventsURL rewritingDOMResponse CompressionSecurityHTTPSContent Type and MarkupPersistent Page DataSession StorageInjectionEnvironmental Services_javascript_Ajax and ZonesCSSAssetsForms and ValidationBeanEditForm GuideUploading FilesLoggingUnit testing pages or componentsIntegration TestingService StatusModulesBuilt In ModulesThird Party ModulesIoCTapestry IoC OverviewTapestry IoC ModulesDefining Tapestry IOC ServicesService AdvisorsTapestry IoC DecoratorsTapestry IoC ConfigurationCase InsensitivityAutoloading ModulesService Implementation ReloadingOrdering by ConstraintsSymbolsChainBuilder ServicePipelineBuilder ServiceShadowBuilder ServiceStrategyBuilder ServiceInjection in DetailObject ProvidersService SerializationTypeCoercer ServiceStarting the IoC RegistryRegistry StartupParallel ExecutionLogging in TapestryUsing JSR 330 standard annotationsHibernate - CoreHibernate - Core - ConfHibernateIntegrating with Spring FrameworkBean ValidationComponent ReportAliasesIntegrating with JPAIntroductionFrequently Asked QuestionsGeneral QuestionsTemplating and Markup FAQPage And Component Classes FAQForms and Form Components FAQBeanEditForm FAQLink Components FAQComponent Events FAQ_javascript_ FAQAjax Components FAQInjection FAQTapestry Inversion of Control FAQSecurity FAQIntegration with existing applicationsRequest Processing FAQLimitationsSpecific Errors FAQHibernate Support FAQMaven Support FAQRelease Upgrade FAQGetting StartedDeveloper InformationConfluence Site SetupSince and Deprecated User MacrosDeveloper BibleRelease ProcessThe tapestry jailRelease NotesHow to UpgradeRelease Notes 5.0Release Notes 5.1Release Notes 5.2Release Notes 5.2.0Release Notes 5.2.1Release Notes 5.2.2Release Notes 5.2.3Release Notes 5.2.4Release Notes 5.2.5Release Notes 5.2.6Release Notes 5.3Release Notes 5.3.1Release Notes 5.3.2Release Notes 5.3.3Release Notes 5.3.4Release Notes 5.3.5Release Notes 5.4PrinciplesTapestry TutorialDependencies, Tools and PluginsCreating The Skeleton ApplicationLoading the Project Into EclipseExploring the ProjectImplementing the Hi-Lo Guessing GameUsing BeanEditForm To Create User FormsUsing Tapestry With HibernateComponent Cheat SheetApplication Module Class Cheat SheetVersion Numbers_javascript_ RewriteSupport Welcome to the Tapestry 5 Documentation. A rich collection of guides is available to teach beginners the basics and help experienced developers deepen their understanding of Tapestry's power. Code less, deliver more! Highlights These are the most useful starting points for common needs. Introduction An overview of Tapestry's general approach and philosophy Getting Started A quick guide to creating your first Tapestry project, using Maven Tapestry Tutorial Picks up where Getting Started leaves off, explaining in greater detail how Tapestry works User Guide Detailed articles on every Tapestry feature Community Getting support, mailing lists, JIRA, outside resources, and access to the source Cookbook A guide to common overrides and extensions to Tapestry FAQ A quick place to check for common problems and solutions Component Cheat Sheet A concise guide to component classes, methods and annotations Refcard A color, six page foldout guide to Tapestry 5.0 (PDF)
[CONF] Apache Tapestry Download
Download Page edited by Howard M. Lewis Ship Changes (5) ... Stable releases should be relatively free of critical bugs and are considered the _safest_ option if stability is a requirement. h2. Tapestry 5.3.45 Tapestry 5.3.4 was released on 16 Jul 2012. See the [release notes|Release Notes 5.3.4] for more details. Tapestry 5.3.5 was released on 29 Aug 2012. See the [release notes|Release Notes 5.3.5] for more details. Note that the _primary_ distribution method of binary and source JARS is now via Maven repository; binaries, sources, and JavaDocs are also available as a zip archive. ... {column} | | Mirrors | Signature | MD5 | 5.3.4 binaries (zip) | [Download|http://www.apache.org/dyn/closer.cgi/tapestry/apache-tapestry-5.3.4-bin.zip] | [ASC|http://www.apache.org/dist/tapestry/apache-tapestry-5.3.4-bin.zip.asc] | d132f5467397ab87b770a7bc226a73bb | 5.3.4 sources (zip) | [Download|http://www.apache.org/dyn/closer.cgi/tapestry/apache-tapestry-5.3.4-sources.zip] | [ASC|http://www.apache.org/dist/tapestry/apache-tapestry-5.3.4-sources.zip.asc] | f1b2ec3980cc6a069e7572731429c0ef | 5.3.4 JavaDocs (zip) | [Download|http://www.apache.org/dyn/closer.cgi/tapestry/apache-tapestry-5.3.4-javadocs.zip] | [ASC|http://www.apache.org/dist/tapestry/apache-tapestry-5.3.4-javadocs.zip.asc] | 554067611182acc22ae5c20623f23cc2 | 5.3.5 binaries (zip) | [Download|http://www.apache.org/dyn/closer.cgi/tapestry/apache-tapestry-5.3.5-bin.zip] | [ASC|http://www.apache.org/dist/tapestry/apache-tapestry-5.3.5-bin.zip.asc] | fd3f7161e4bb2e6b40ee7b1b4a0dde99 | 5.3.5 sources (zip) | [Download|http://www.apache.org/dyn/closer.cgi/tapestry/apache-tapestry-5.3.5-sources.zip] | [ASC|http://www.apache.org/dist/tapestry/apache-tapestry-5.3.5-sources.zip.asc] | 0e7cc337dbf044a4fa2175f42ccd7f74 | 5.3.5 JavaDocs (zip) | [Download|http://www.apache.org/dyn/closer.cgi/tapestry/apache-tapestry-5.3.5-javadocs.zip] | [ASC|http://www.apache.org/dist/tapestry/apache-tapestry-5.3.5-javadocs.zip.asc] | c260d8658d5cf5694c9524dcb23e6837 {column} ... Full Content Tapestry can be downloaded in either binary or source format. The easiest way to download Tapestry and its dependencies is using Maven, as described in Getting Started. See the Release Notes for differences between versions and how to upgrade. Stable Releases Stable releases should be relatively free of critical bugs and are considered the safest option if stability is a requirement. Tapestry 5.3.5 Tapestry 5.3.5 was released on 29 Aug 2012. See the release notes for more details. Note that the primary distribution method of binary and source JARS is now via Maven repository; binaries, sources, and JavaDocs are also available as a zip archive. Mirrors Signature MD5 5.3.5 binaries (zip) Download ASC fd3f7161e4bb2e6b40ee7b1b4a0dde99 5.3.5 sources (zip) Download ASC 0e7cc337dbf044a4fa2175f42ccd7f74 5.3.5 JavaDocs (zip) Download ASC c260d8658d5cf5694c9524dcb23e6837 Maven Dependency dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-core/artifactId version5.3.4/version /dependency Tapestry 5.2.6 Tapestry 5.2.6 (released Jun 29 2011) is a maintenance release addressing some minor issues in Tapestry 5.2. See the release notes for more details about features and upgrade information. Mirrors Checksum Signature tapestry-bin 5.2.6 binary (tar.bz2) Download MD5 ASC tapestry-bin 5.2.6 binary (tar.gz) Download MD5 ASC tapestry-bin 5.2.6 binary (zip) Download MD5 ASC tapestry-src 5.2.6 source (tar.bz2) Download MD5 ASC tapestry-src 5.2.6 source (tar.gz) Download MD5 ASC tapestry-src 5.2.6 source (zip) Download MD5 ASC Maven Dependency dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-core/artifactId version5.2.6/version /dependency Tapestry 5.1.0.5 Tapestry 5.1.0.5 is the stable release for Tapestry 5.1. Released Apr 23, 2009, Tapestry 5.1 addresses some limitations in 5.0 and improves performance and scalability. Mirrors Checksum Signature tapestry-bin 5.1.0.5 binary (tar.bz2) Download MD5 ASC tapestry-bin 5.1.0.5 binary (tar.gz) Download MD5 ASC tapestry-bin 5.1.0.5 binary (zip) Download MD5 ASC tapestry-src 5.1.0.5 source (tar.bz2) Download MD5 ASC tapestry-src 5.1.0.5 source (tar.gz) Download MD5 ASC tapestry-src 5.1.0.5 source (zip) Download MD5 ASC Maven Dependency dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-core/artifactId
[CONF] Apache Tapestry Release Notes
Release Notes Page edited by Howard M. Lewis Ship Changes (2) ... ||Release || Release Notes || Status || Released | | Tapestry 5.4 | [Release Notes for 5.4|Release Notes 5.4] | *Under Development* | | | Tapestry 5.3.5 | [Release Notes for 5.3.5|Release Notes 5.3.5] | *Vote Underway* *Current Stable Release* | 209 Aug 2012 | | Tapestry 5.3.4 | [Release Notes for 5.3.4|Release Notes 5.3.4] | *Current Stable Release* | 16 Jul 2012 | | Tapestry 5.3.3 | [Release Notes for 5.3.3|Release Notes 5.3.3] | | 24 Apr 2012 | | Tapestry 5.3.2 | [Release Notes for 5.3.2|Release Notes 5.3.2] | | 07 Feb 2012 | ... Full Content These release notes provide the details of the changes in each Tapestry version. Be sure to read How to Upgrade too. Release Release Notes Status Released Tapestry 5.4 Release Notes for 5.4 Under Development Tapestry 5.3.5 Release Notes for 5.3.5 Current Stable Release 29 Aug 2012 Tapestry 5.3.4 Release Notes for 5.3.4 16 Jul 2012 Tapestry 5.3.3 Release Notes for 5.3.3 24 Apr 2012 Tapestry 5.3.2 Release Notes for 5.3.2 07 Feb 2012 Tapestry 5.3.1 Release Notes for 5.3.1 21 Dec 2011 Tapestry 5.3 Release Notes for 5.3 21 Nov 2011 Tapestry 5.2.6 Release Notes for 5.2.6 22 Jun 2011 Tapestry 5.1 Release Notes for 5.1.0.5 12 Apr 2009 Tapestry 5.0 Release Notes for 5.0.19 Dec 2008 Change Notification Preferences View Online | View Changes
[CONF] Apache Tapestry Release Notes 5.3.5
Release Notes 5.3.5 Page edited by Howard M. Lewis Ship Changes (1) ... This is the consolidated list of changes between Tapestry included in version 5.3.5. Tapestry 5.3.5 is a drop-in replacement for prior Tapestry 5.3 releases. To upgrade, just update the Maven dependency in you POM file (or [download|Download] the new JAR file) and the new version will just work. However, please review the [How to Upgrade] instructions before upgrading. This is a very modest bug fix release, including a number of minor performance improvements. Importantly, the bundled version of [Prototype|http://prototypejs.org/2012/8/8/prototype-1-7-1] is now 1.7.1, which includes some significant improvements and bug fixes that target Internet Explorer. However, the prototype change _may_ affect the functionality of the Tapestry DateField component under some versions of Internet Explorer (this issue was discovered late in the voting process). For those developers not using Maven or Gradle, youll be pleased that we now offer the option of a binary download containing Tapestrys modules and main dependencies. More details are on the [Download] page. ... Full Content Release Notes 5.3.4Release NotesRelease Notes 5.4 This is the consolidated list of changes between Tapestry included in version 5.3.5. Tapestry 5.3.5 is a drop-in replacement for prior Tapestry 5.3 releases. To upgrade, just update the Maven dependency in you POM file (or download the new JAR file) and the new version will just work. However, please review the How to Upgrade instructions before upgrading. This is a very modest bug fix release, including a number of minor performance improvements. Importantly, the bundled version of Prototype is now 1.7.1, which includes some significant improvements and bug fixes that target Internet Explorer. However, the prototype change may affect the functionality of the Tapestry DateField component under some versions of Internet Explorer (this issue was discovered late in the voting process). For those developers not using Maven or Gradle, you'll be pleased that we now offer the option of a binary download containing Tapestry's modules and main dependencies. More details are on the Download page. Jira issues Release Notes - Tapestry 5 - Version 5.3.5 Bug [TAP5-1601] - Sometime a method that references a field with a conduit will not be instrumented, resulting in an NPE accessing the field itself [TAP5-1859] - Clicking a submit or button in a non-Tapestry Form causes a client exception [TAP5-1868] - SRSCachingInterceptor returns compressed version of asset for all clients once it was compressed for some client [TAP5-1887] - Client-side _javascript_ error if console.info/debug/... is available but not a function [TAP5-1907] - Client exception in IE9 when partial page render introduces stylesheets [TAP5-1949] - Alerts component does not show alerts added from a component that occurs later in the template [TAP5-1973] - :443 added to URLs when using the Link.toAbsoluteURI(true) [TAP5-1976] - XML Parser adds attributes with default values and produces invalid HTML5 markup [TAP5-1977] - Memory leak (perm gen) in component reloading [TAP5-1979] - Changing the implementation of a method after adding method advice does not work; the original implementation remains [TAP5-1983] - PerThreadManager does not cleanup on shutdown, can lead to memory leaks when application redeployed [TAP5-1991] - YUICompressor should be less verbose about common warnings [TAP5-1992] - Switch YUICompressor dependency back to com.yahoo version 2.4.7 Task [TAP5-1989] - Upgrade bundled Prototype to version 1.7.1 Release Notes 5.3.4Release NotesRelease Notes 5.4 Change Notification Preferences View Online | View Changes
[CONF] Apache Tapestry Component Classes
Component Classes Page edited by Bob Harner Comment: Changed to have the first example be a component that does use a template, because it's the simpler and more common case. Changes (16) ... {float} A *Component class* is the class associated with a page, component or mixin in your Tapestry web application. Classes for pages, components and component mixins are all created in an identical way. They are pure POJOs (Plain Old Java Objects), with annotations. They are not _abstract_, nor do they extend from framework base classes. A *Component class* is the class associated with a page, component or mixin in your Tapestry web application. Classes for pages, components and mixins are all created in an identical way. They are pure POJOs (Plain Old Java Objects), typically with annotations and conventionally named methods. They are not _abstract_, nor do they need to extend base classes or implement interfaces. _For Tapestry 4 Users: Component classes in Tapestry 5 are much easier than in Tapestry 4. There are no base classes to extend from, the classes are concrete (not abstract), and theres no XML file. There is still a bit of configuration in the form of Java annotations, but those now go directly onto fields of your class, rather than on abstract getters and setters._ ... In most cases, each component class will have a corresponding [component template|Component Templates]. However, it is also possible for a component class to emit all of its markup itself, without using a template. h2. Component Class Basics h2. Creating a Trivial Component Creating a page and or component classes in Tapestry 5 is a breeze. There are only a few constraints: * The classes must be public. * There must be a public Java class. * The classes must be in the correct package (see below). * The class must have a standard public, no-arguments constructor. (The default one provided by the compiler is fine.) Heres a very basic component: Heres a minimal component that outputs a fixed message, using a template: {code:java} {section} {column} {code:java|title=HelloWorld.java} package org.example.myapp.components; public class HelloWorld { } {code} {column} {column} {code:xml|title=HelloWorld.tml} t:container xmlns:t=http://tapestry.apache.org/schema/tapestry_5_3.xsd Bonjour from HelloWorld component. /t:container {code} {column} {section} In this example the HelloWorld class contains no code at all (except what it inherits from the Object class and what Tapestry adds invisibly). And heres a component that does the same thing, but without needing a template: {code:java|title=HelloWorld.java -- without a template} package org.example.myapp.components; import org.apache.tapestry5.MarkupWriter; import org.apache.tapestry5.annotations.BeginRender; ... {code} In this example, just like the first one, the components only job is to write out a fixed message. The @[BeginRender|http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/annotations/BeginRender.html] annotation is a type of _[component life cycle annotation|Component Rendering]_, a method annotation that instructs Tapestry when and under what circumstances to invoke methods of your class. These methods are not necessarily public; they can have any visibility you like (unlike in Tapestry 4). ... Full Content Component Classes Related Articles Page: Page And Component Classes FAQ Page: Component Templates Page: Component Reference Page: Component Cheat Sheet Page: Component Parameters Page:
[CONF] Apache Tapestry Download
Download Page edited by Howard M. Lewis Ship Changes (1) ... groupIdorg.apache.tapestry/groupId artifactIdtapestry-core/artifactId version5.3.45/version /dependency {code} ... Full Content Tapestry can be downloaded in either binary or source format. The easiest way to download Tapestry and its dependencies is using Maven, as described in Getting Started. See the Release Notes for differences between versions and how to upgrade. Stable Releases Stable releases should be relatively free of critical bugs and are considered the safest option if stability is a requirement. Tapestry 5.3.5 Tapestry 5.3.5 was released on 29 Aug 2012. See the release notes for more details. Note that the primary distribution method of binary and source JARS is now via Maven repository; binaries, sources, and JavaDocs are also available as a zip archive. Mirrors Signature MD5 5.3.5 binaries (zip) Download ASC fd3f7161e4bb2e6b40ee7b1b4a0dde99 5.3.5 sources (zip) Download ASC 0e7cc337dbf044a4fa2175f42ccd7f74 5.3.5 JavaDocs (zip) Download ASC c260d8658d5cf5694c9524dcb23e6837 Maven Dependency dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-core/artifactId version5.3.5/version /dependency Tapestry 5.2.6 Tapestry 5.2.6 (released Jun 29 2011) is a maintenance release addressing some minor issues in Tapestry 5.2. See the release notes for more details about features and upgrade information. Mirrors Checksum Signature tapestry-bin 5.2.6 binary (tar.bz2) Download MD5 ASC tapestry-bin 5.2.6 binary (tar.gz) Download MD5 ASC tapestry-bin 5.2.6 binary (zip) Download MD5 ASC tapestry-src 5.2.6 source (tar.bz2) Download MD5 ASC tapestry-src 5.2.6 source (tar.gz) Download MD5 ASC tapestry-src 5.2.6 source (zip) Download MD5 ASC Maven Dependency dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-core/artifactId version5.2.6/version /dependency Tapestry 5.1.0.5 Tapestry 5.1.0.5 is the stable release for Tapestry 5.1. Released Apr 23, 2009, Tapestry 5.1 addresses some limitations in 5.0 and improves performance and scalability. Mirrors Checksum Signature tapestry-bin 5.1.0.5 binary (tar.bz2) Download MD5 ASC tapestry-bin 5.1.0.5 binary (tar.gz) Download MD5 ASC tapestry-bin 5.1.0.5 binary (zip) Download MD5 ASC tapestry-src 5.1.0.5 source (tar.bz2) Download MD5 ASC tapestry-src 5.1.0.5 source (tar.gz) Download MD5 ASC tapestry-src 5.1.0.5 source (zip) Download MD5 ASC Maven Dependency dependency groupIdorg.apache.tapestry/groupId artifactIdtapestry-core/artifactId version5.1.0.5/version /dependency Tapestry 4.1.6 Tapestry 4.1.6 is the final version of Tapestry 4. Released Sep 7, 2008, it improved upon early Tapestry 4 releases with bug fixes, AJAX support and performance enhancements. See Tapestry 4 release notes Mirrors Checksum Signature 4.1.6 binary (tar.bz2) Download MD5 ASC 4.1.6 binary (tar.gz) Download MD5 ASC 4.1.6 binary (zip) Download MD5 ASC 4.1.6 source/docs (tar.bz2) Download MD5 ASC 4.1.6 source/docs (tar.gz) Download MD5 ASC 4.1.6 source/docs (zip) Download MD5 ASC Archives Looking for an older version of Tapestry? Try the archives. Releases Under Development Releases under development are less stable; alpha releases are often incomplete; beta releases occur in the lead up to creation of a stable release. Download sources The source code can be checked out anonymously from Git with the clone command: git clone https://git-wip-us.apache.org/repos/asf/tapestry-5.git Versions 5.3.2 and earlier are also available via Subversion, at https://svn.apache.org/repos/asf/tapestry/tapestry5/trunk/ Access from behind a firewall Refer to the documentation of your Git client for more information about access behind a firewall. Generally this requires configuring access through a proxy (by specifying the proxy host and port) or opening up a port on the firewall. Change Notification Preferences View Online | View Changes
[jira] [Commented] (TAP5-1803) URL encoding in ActivationRequestParameter is very strict
[ https://issues.apache.org/jira/browse/TAP5-1803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13444697#comment-13444697 ] Christian Köberl commented on TAP5-1803: Nice - when you search the Exception with DuckDuckGo the third hit is the exception happening live: http://www.clio.se/klubb/cat/%C3%B6ver?a=first URL encoding in ActivationRequestParameter is very strict - Key: TAP5-1803 URL: https://issues.apache.org/jira/browse/TAP5-1803 Project: Tapestry 5 Issue Type: Bug Components: tapestry-core Affects Versions: 5.3.1 Reporter: David Canteros Labels: @ActivationRequestParameter, InvalidaArgumenteException, URLEncoder, The URLEncoder that perform the URL encoding process does not include the following unreserved characters : ! ~ * ' ( ) (see rfc2396 Uniform Resource Identifiers (URI): Generic Syntax, item 2.3) Because the fix of TAP5-1768, from v5.3.1 the @ActivationRequestParameter requires this enconding, which becomes incompatible with the standard. Thus, any URL which contains those symbols will throw an InvalidaArgumenteException. Tapestry should consider that the ActivationRequestParameter is a standar way of parameter sending, and the parameters sent in this way probably not have the strict coding process of the URLEncoder. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (TAP5-1995) Tapestry5 Application can not be deployed as Tomcat7 HotDeploy Package
[ https://issues.apache.org/jira/browse/TAP5-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13444714#comment-13444714 ] Christian Köberl commented on TAP5-1995: I guess the problem is the # in the name of the WAR File - can you try renaming your file to yourapp-2.3.war Tapestry5 Application can not be deployed as Tomcat7 HotDeploy Package -- Key: TAP5-1995 URL: https://issues.apache.org/jira/browse/TAP5-1995 Project: Tapestry 5 Issue Type: Bug Components: plastic Affects Versions: 5.3.3 Reporter: Thomas Hackel 1. WAR file is named like {noformat} yourapp##1.2.3.war {noformat} 2. Results in path {noformat} webapps/yourapp##1.2.3 {noformat} 3. Tapestry throws error: {noformat} Caused by: java.lang.RuntimeException: Failure reading bytecode for class com.biso.casingdb.web.services.AppModule: /home/apache-tomcat-7.0.26/webapps/yourapp%23%231.2.3/WEB-INF/classes/AppModule.class (No such file or directory) at org.apache.tapestry5.internal.plastic.PlasticInternalUtils.readBytecodeForClass(PlasticInternalUtils.java:384) at org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.readClassNode(PlasticProxyFactoryImpl.java:107) at org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.getMemberLocation(PlasticProxyFactoryImpl.java:141) at org.apache.tapestry5.ioc.internal.services.PlasticProxyFactoryImpl.getMethodLocation(PlasticProxyFactoryImpl.java:114) at org.apache.tapestry5.ioc.internal.util.InternalUtils.asString(InternalUtils.java:85) at org.apache.tapestry5.ioc.internal.ContributionDefImpl.toString(ContributionDefImpl.java:59) at java.lang.String.valueOf(String.java:2902) at java.lang.StringBuilder.append(StringBuilder.java:128) at org.apache.tapestry5.ioc.internal.RegistryImpl.addToMappedConfiguration(RegistryImpl.java:557) at org.apache.tapestry5.ioc.internal.RegistryImpl.getMappedConfiguration(RegistryImpl.java:515) at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$3.invoke(ServiceResourcesImpl.java:126) at org.apache.tapestry5.ioc.internal.ServiceResourcesImpl$3.invoke(ServiceResourcesImpl.java:123) at org.apache.tapestry5.ioc.internal.OperationTrackerImpl.invoke(OperationTrackerImpl.java:74) ... 224 more Caused by: java.io.FileNotFoundException: /home/apache-tomcat-7.0.26/webapps/yourapp%23%231.2.3/WEB-INF/classes/AppModule.class (No such file or directory) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.init(FileInputStream.java:138) at org.apache.tapestry5.internal.plastic.PlasticInternalUtils.getStreamForPath(PlasticInternalUtils.java:408) at org.apache.tapestry5.internal.plastic.PlasticInternalUtils.readBytecodeForClass(PlasticInternalUtils.java:370) ... 236 more {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira