|
From: Dominik B. (JIRA) <no...@sp...> - 2008-03-20 22:22:05
|
Showcase sample: Namespace of images and duplicate command definition
---------------------------------------------------------------------
Key: RCP-548
URL: http://jira.springframework.org/browse/RCP-548
Project: Spring Framework Rich Client Project
Issue Type: Bug
Components: Samples
Affects Versions: 1.0.0
Reporter: Dominik Breitbeil
Priority: Minor
The showcase sample won't start in version 1.0.0. There are two configuration problems
1. The ImageSource bean can't be initialized. See http://forum.springframework.org/showthread.php?t=51384 for the exception.
As the spring-rich images are now in a namespaced package the resourceBasePath of the imageResourcesFactory should be removed in richclient-application.context.xml.
2. The aboutCommand is definied twice in commands-context.xml.
This will lead to:
java.lang.IllegalStateException: Application start thrown an exception: Line 299 in XML document from class path resource [org/springframework/richclient/samples/showcase/ui/commands-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-id.2: There are multiple occurrences of ID value 'aboutCommand'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Jan H. (JIRA) <no...@sp...> - 2008-03-21 08:02:05
|
[ http://jira.springframework.org/browse/RCP-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_33678 ]
Jan Hoskens commented on RCP-548:
---------------------------------
Fixed on trunk:
http://spring-rich-c.svn.sourceforge.net/spring-rich-c/?rev=2039&view=rev
http://spring-rich-c.svn.sourceforge.net/spring-rich-c/?rev=2038&view=rev
I created the showcase recently to examine certain issues/behavior. It wasn't ready to add as a sample and I therefor didn't put it in the release packages on sourceforge.
> Showcase sample: Namespace of images and duplicate command definition
> ---------------------------------------------------------------------
>
> Key: RCP-548
> URL: http://jira.springframework.org/browse/RCP-548
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Components: Samples
> Affects Versions: 1.0.0
> Reporter: Dominik Breitbeil
> Priority: Minor
>
> The showcase sample won't start in version 1.0.0. There are two configuration problems
> 1. The ImageSource bean can't be initialized. See http://forum.springframework.org/showthread.php?t=51384 for the exception.
> As the spring-rich images are now in a namespaced package the resourceBasePath of the imageResourcesFactory should be removed in richclient-application.context.xml.
> 2. The aboutCommand is definied twice in commands-context.xml.
> This will lead to:
> java.lang.IllegalStateException: Application start thrown an exception: Line 299 in XML document from class path resource [org/springframework/richclient/samples/showcase/ui/commands-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-id.2: There are multiple occurrences of ID value 'aboutCommand'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Jan H. (JIRA) <no...@sp...> - 2008-04-21 12:10:20
|
[ http://jira.springframework.org/browse/RCP-548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jan Hoskens closed RCP-548.
---------------------------
Assignee: Jan Hoskens
Resolution: Fixed
Fix Version/s: 1.0.1
fixed as described in comment.
> Showcase sample: Namespace of images and duplicate command definition
> ---------------------------------------------------------------------
>
> Key: RCP-548
> URL: http://jira.springframework.org/browse/RCP-548
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Components: Samples
> Affects Versions: 1.0.0
> Reporter: Dominik Breitbeil
> Assignee: Jan Hoskens
> Priority: Minor
> Fix For: 1.0.1
>
>
> The showcase sample won't start in version 1.0.0. There are two configuration problems
> 1. The ImageSource bean can't be initialized. See http://forum.springframework.org/showthread.php?t=51384 for the exception.
> As the spring-rich images are now in a namespaced package the resourceBasePath of the imageResourcesFactory should be removed in richclient-application.context.xml.
> 2. The aboutCommand is definied twice in commands-context.xml.
> This will lead to:
> java.lang.IllegalStateException: Application start thrown an exception: Line 299 in XML document from class path resource [org/springframework/richclient/samples/showcase/ui/commands-context.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-id.2: There are multiple occurrences of ID value 'aboutCommand'.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|