[
https://jira.jboss.org/jira/browse/EMBJOPR-97?page=com.atlassian.jira.plu...
]
Charles Crouch commented on EMBJOPR-97:
---------------------------------------
Speaking to emanuel there appears to be a bug around updated properties when the app
server is restarted. So I think this issue is as complete as its going to get until that
is resolved.
(10:46:02 AM) ccrouch: so when I create a new Datasource, that all gets saved across a
restart fine
(10:46:15 AM) ccrouch: its only when i update an existing one when i see the problem
(10:52:33 AM) emuckenhuber: trying that right now
(10:54:06 AM) emuckenhuber: true that's gone
(10:54:59 AM) emuckenhuber: although the persisted information has the correct value
(10:55:16 AM) ccrouch: ok well i guess thats a good thing
(10:55:23 AM) ccrouch: that you can reproduce it
(10:57:19 AM) emuckenhuber: hmm okay this seems to be a bug
(10:57:41 AM) ccrouch: ok, will you raise a jira? and link it to 6620?
(10:57:50 AM) ccrouch: or do you want me to?
(10:58:49 AM) emuckenhuber: hmm i can do that myself - i just need to figure out, what you
are doing differently :)
(10:59:28 AM) ccrouch: oh, so in your tests this works?
(10:59:35 AM) emuckenhuber: yes
(10:59:39 AM) ccrouch: with both new and existing resources?
(11:00:23 AM) emuckenhuber: hmm in the end it should not matter - but i'm just testing
existing datasources
(11:01:13 AM) ccrouch: rats, thats where i see the problem
(11:01:28 AM) ccrouch: that sounds like its an issue with our usage :-(
(11:02:16 AM) emuckenhuber: okay, but that's good to know i'll add some tests for
applyTemplate and updateComponent
(11:02:57 AM) ccrouch: ok cool
(11:03:30 AM) emuckenhuber: and i think i know where it's failing
(11:03:45 AM) ccrouch: where?
(11:04:39 AM) emuckenhuber: well it's failing when trying to reconstruct a null
managed object
(11:05:08 AM) ccrouch: hmm
(11:05:21 AM) ccrouch: this is inside the PS?
(11:05:28 AM) ccrouch: as opposed to the console?
(11:06:29 AM) emuckenhuber: well this happens in the attachment persistence, when
restoring the attachment
(11:06:45 AM) emuckenhuber: it should not try to reconstruct it when it's null
(11:06:53 AM) ccrouch: ok
(11:24:04 AM) emuckenhuber: okay, easy to fix - now i need an testcase :)
(11:25:09 AM) ccrouch: yep, i'd really like to know what the console is doing
differently from your tests
(11:28:10 AM) emuckenhuber: looks like the only difference is that there is no security
domain created
Add ConnectionProperties resource config property to all Datasources
--------------------------------------------------------------------
Key: EMBJOPR-97
URL:
https://jira.jboss.org/jira/browse/EMBJOPR-97
Project: Embedded Jopr
Issue Type: Bug
Components: Plugin
Reporter: Charles Crouch
Assignee: Charles Crouch
Fix For: 1.2
Attachments: screenshot-1.jpg
See EMBJOPR-58 for how we noticed this was missing. Need to work out what type it should
map to. Right now it seems to a simple one:
ConnectionProperties.type=SimpleMetaType:java.lang.String:,
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira