[
https://issues.apache.org/jira/browse/ISIS-2401?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17156119#comment-17156119
]
ASF subversion and git services commented on ISIS-2401:
-------------------------------------------------------
Commit 564ba58a57675c35cee2da52e4b43646b15e3e45 in isis's branch
refs/heads/master from Andi Huber
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=564ba58 ]
ISIS-2401: wkt: properly select type marshalling strategy based on
object's spec
adds a plain old java serialization fallback strategy,
to be used if all the others fail
also fail early with some usable info, if strategy selection goes wrong
> Memento creation/recreation roundtrip might get confused when processing
> Value Types
> ------------------------------------------------------------------------------------
>
> Key: ISIS-2401
> URL: https://issues.apache.org/jira/browse/ISIS-2401
> Project: Isis
> Issue Type: Bug
> Components: Isis Viewer Wicket
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-M4
>
>
> Seeing this when running vaadin and wkt viewer simultaneous. Wkt throws ...
> {noformat}
> Caused by: java.lang.IllegalArgumentException: need an id to lookup an object
> specId=org.apache.isis.valuetypes.asciidoc.applib.value.AsciiDoc
> at
> org.apache.isis.core.commons.internal.exceptions._Exceptions.illegalArgument(_Exceptions.java:80)
> ~[classes/:?]
> at
> org.apache.isis.viewer.wicket.viewer.services.mementos.ObjectMementoLegacy$RecreateStrategy$2.recreateObject(ObjectMementoLegacy.java:221)
> ~[classes/:?]
> at
> org.apache.isis.viewer.wicket.viewer.services.mementos.ObjectMementoLegacy$Cardinality$1.asAdapter(ObjectMementoLegacy.java:85)
> ~[classes/:?]
> at
> org.apache.isis.viewer.wicket.viewer.services.mementos.ObjectMementoLegacy.reconstructObject(ObjectMementoLegacy.java:449)
> ~[classes/:?]{noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)