[JBoss JIRA] Created: (JBSEAM-4765) dvdstore fails with SearchException
by Jozef Hartinger (JIRA)
dvdstore fails with SearchException
-----------------------------------
Key: JBSEAM-4765
URL: https://issues.jboss.org/browse/JBSEAM-4765
Project: Seam
Issue Type: Bug
Components: Examples
Reporter: Jozef Hartinger
Assignee: Marek Novotny
Fix For: 2.2.1.Final
15:15:07,957 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-dvdstore].[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception: org.hibernate.search.SearchException: Try to search with an empty string: title
when submitting the search form with empty title
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBSEAM-4751) Test task not working in a seam-gen project
by Jozef Hartinger (JIRA)
Test task not working in a seam-gen project
-------------------------------------------
Key: JBSEAM-4751
URL: https://issues.jboss.org/browse/JBSEAM-4751
Project: Seam
Issue Type: Bug
Components: Tools
Affects Versions: 2.2.1.CR3
Reporter: Jozef Hartinger
Assignee: Marek Novotny
The testng.jar has been renamed from testng.jar to testng-jdk15.jar. As a result, the "test" target in a seam-gen project does not work anymore. The error output:
test:
[taskdef] Could not load definitions from resource testngtasks. It could not be found.
BUILD FAILED
/home/jharting/jboss/testing/2.2.1.CR3/workspace/seamGenTestAppRichEarE001/build.xml:462: Problem: failed to create task or type testng
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBSEAM-4755) Usage of propagation="nest" with <s:link> throughs Exception
by Bertrand Toussaint (JIRA)
Usage of propagation="nest" with <s:link> throughs Exception
------------------------------------------------------------
Key: JBSEAM-4755
URL: https://issues.jboss.org/browse/JBSEAM-4755
Project: Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.2.1.CR3
Environment: Seam 2.2.1.CR3 / Jboss AS 4.3.2
Reporter: Bertrand Toussaint
When "nest" is replaced by "nested" in the xhtml views:
It works well when the conversation propagation is done by using the tag <s:conversationPropagation type="nested" />
It does not work if you use the attribute propagation="nested" on the <s:link> tag: the nested conversation is not created.
If you remove the propagation attribute from <s:link> tag and insert <s:conversationPropagation type="nested" /> inside the tag, it works.
The documentation still references "nest" value for <s:link> propagation attribute in the chapter 7.5. Using <s:link> and <s:button>
http://docs.jboss.org/seam/2.2.1.CR3/reference/en-US/html/conversations.html
If you use s:link with propagation="nest", you get the exception java.lang.IllegalArgumentException: No enum const class org.jboss.seam.core.PropagationType.NEST.
So, the workaround is: do not use "propagation" attribute on s:link, use <s:conversationPropagation type="nested" /> instead.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBSEAM-4744) EntityQuery.resultList throws a exception when the entity has composite key
by Alessandro Lazarotti (JIRA)
EntityQuery.resultList throws a exception when the entity has composite key
---------------------------------------------------------------------------
Key: JBSEAM-4744
URL: https://issues.jboss.org/browse/JBSEAM-4744
Project: Seam
Issue Type: Bug
Components: Framework
Affects Versions: 2.2.1.CR1, 2.2.0.GA
Environment: Fedora 12, JDK 1.6 sun/oracle, Seam 2.2.1 CR1, MySQL 5
Reporter: Alessandro Lazarotti
Fix For: 2.2.1.Final
Hibernate has a known trouble running queries using "count" when the entity has composite keys, like:
select count(foobar) from Foobar foobar:
- ERROR [JDBCExceptionReporter] Operand should contain 1 column(s)
Seam EntityQuery has a workaround, using count(*) instead of count(alias)(spec way) if you use entityQuery.resultCount.
It's works with Seam 2.0.x but no more in Seam 2.2.x
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months
[JBoss JIRA] Created: (JBSEAM-4773) Validation fails when using ant-1.8.0
by Ondrej Skutka (JIRA)
Validation fails when using ant-1.8.0
-------------------------------------
Key: JBSEAM-4773
URL: https://issues.jboss.org/browse/JBSEAM-4773
Project: Seam
Issue Type: Bug
Components: Build
Affects Versions: 2.2.1.Final
Reporter: Ondrej Skutka
Priority: Minor
When using ant-1.8.0, validation (ant validateall) fails with the following message:
validateall:
validatexsd:
[validateConfiguration] http://www.w3.org/2001/XMLSchema.xsd:91:110: schema_reference.4: Failed to read schema document 'http://www.w3.org/2001/xml.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.
[validateConfiguration] http://www.w3.org/2001/XMLSchema.xsd:260:36: src-resolve: Cannot resolve the name 'xml:lang' to a(n) 'attribute declaration' component.
[validateConfiguration] http://www.w3.org/2001/XMLSchema.xsd:260:36: s4s-elt-invalid-content.1: The content of '#AnonType_schema' is invalid. Element 'attribute' is invalid, misplaced, or occurs too often.
[validateConfiguration] http://www.w3.org/2001/XMLSchema.xsd:1277:35: s4s-elt-invalid-content.1: The content of '#AnonType_documentation' is invalid. Element 'attribute' is invalid, misplaced, or occurs too often.
BUILD FAILED
/home/ony/Programming/JBoss_Seam_2_2_1_Final/jboss-seam-2.2.1.Final/build.xml:569: The following error occurred while executing this line:
/home/ony/Programming/JBoss_Seam_2_2_1_Final/jboss-seam-2.2.1.Final/build/validate.xml:64: /home/ony/Programming/JBoss_Seam_2_2_1_Final/jboss-seam-2.2.1.Final/src/main/org/jboss/seam/web-2.2.xsd is not a valid XML document.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
13 years, 5 months