Details
-
Type:
Task
-
Status: Open
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: None
-
Fix Version/s: 2.6
-
Component/s: Development
-
Security Level: Public (Public: Anyone can view)
-
Labels:
-
Rice Module:Rice Core
-
Application Requirement:Rice
-
KAI Review Status:Not Required
-
KTI Review Status:Not Required
-
Code Review Status:Not Required
-
Include in Release Notes?:Yes
Description
There is a bug in the client data source jpa spring bean configuration.
It only reveals itself when attempting to run the KRAD Sample App in client / server mode.
The symptoms are that in a client/server deployment (with kim.mode and kew.mode both set to EMBEDDED),
Krad Client Documents, such as the Travel related maintenance documents in the KRAD samplapp Demo section, are created and persisted in the Rice standalone server database instead of the client database.
In file _KradSampleAppJpaSpringBeans.xml, an alias is defined named "clientDataSource".
The value of the alias is erroneously set to to "riceDataSource" which is the server data source instead of the client data source. This should be changed to point to a client data source alias (if one exists, it it doesn't exists one should be made).
Then for bundled mode configurations, the client and server aliases should both be set to point to the same data source.
Attachments
Issue Links
- is related to
-
KULRICE-12596 Simplify Client Spring Bean configuration
-
- Open
-
This bug was originally included as part of KULRICE-12596