[jira] [Commented] (ISIS-2275) Rest Response Doesn't Contain Number With "multiLine"
[ https://issues.apache.org/jira/browse/ISIS-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17034141#comment-17034141 ] ASF subversion and git services commented on ISIS-2275: --- Commit 0e3c0e56a65a1795f38a1f22777e0afb9f07adf5 in isis's branch refs/heads/master from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=0e3c0e5 ] ISIS-2275: improving layout docs > Rest Response Doesn't Contain Number With "multiLine" > - > > Key: ISIS-2275 > URL: https://issues.apache.org/jira/browse/ISIS-2275 > Project: Isis > Issue Type: Bug > Components: Core: Viewer: RestfulObjects >Affects Versions: 2.0.0-M2 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Minor > Fix For: 2.0.0 > > > Response snapshot taken from Demo 2.0.0-M3-SNAPSHOT > (f629ce2344b5ab8c67f5faeccc70569110902781) > [https://github.com/joerg-rade/kroviz/blob/3605fd9269eb0a22d1fc1ea52f4ac809649b3cdc/src/test/kotlin/org/ro/snapshots/demo2_0_0/DEMO_OBJECT_LAYOUT.kt#L197] > expected: "multiLine": 3 > actual: "multiLine": null > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (ISIS-2284) RO viewer incorrectly throws 500 instead of 404 for ObjectNotFound.
Daniel Keir Haywood created ISIS-2284: - Summary: RO viewer incorrectly throws 500 instead of 404 for ObjectNotFound. Key: ISIS-2284 URL: https://issues.apache.org/jira/browse/ISIS-2284 Project: Isis Issue Type: Improvement Reporter: Daniel Keir Haywood Assignee: Daniel Keir Haywood Fix For: 2.0.0 -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2275) Rest Response Doesn't Contain Number With "multiLine"
[ https://issues.apache.org/jira/browse/ISIS-2275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033868#comment-17033868 ] ASF subversion and git services commented on ISIS-2275: --- Commit 1b73de66f4267df46c7230effeda4d9ab0b50241 in isis's branch refs/heads/master from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=1b73de6 ] ISIS-2275: some code quality improvements > Rest Response Doesn't Contain Number With "multiLine" > - > > Key: ISIS-2275 > URL: https://issues.apache.org/jira/browse/ISIS-2275 > Project: Isis > Issue Type: Bug > Components: Core: Viewer: RestfulObjects >Affects Versions: 2.0.0-M2 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Minor > Fix For: 2.0.0 > > > Response snapshot taken from Demo 2.0.0-M3-SNAPSHOT > (f629ce2344b5ab8c67f5faeccc70569110902781) > [https://github.com/joerg-rade/kroviz/blob/3605fd9269eb0a22d1fc1ea52f4ac809649b3cdc/src/test/kotlin/org/ro/snapshots/demo2_0_0/DEMO_OBJECT_LAYOUT.kt#L197] > expected: "multiLine": 3 > actual: "multiLine": null > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (ISIS-2283) Demo/RO: restful/menuBars Contains Unexpected Element
[ https://issues.apache.org/jira/browse/ISIS-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-2283. Resolution: Fixed just needed to correct the demo's menu bars layout file > Demo/RO: restful/menuBars Contains Unexpected Element > - > > Key: ISIS-2283 > URL: https://issues.apache.org/jira/browse/ISIS-2283 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > Attachments: ScreenShot 379 kroviz [C__data_master_kroviz] - > ..._src_test_kotlin_org_ro_snapshots_sample.json [kroviz.test] - IntelliJ > IDEA.png, sample.json > > > The response of [http://localhost:8080/restful/menuBars] contains an > unexpected menu element: > {code:java} > { > "named": null, > "cssClassFa": null, > "unreferencedActions": null > },{code} > see attached screenshot / sample.json. > Is it by purpose and should be interpreted as a kind of separator? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2283) Demo/RO: restful/menuBars Contains Unexpected Element
[ https://issues.apache.org/jira/browse/ISIS-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033657#comment-17033657 ] ASF subversion and git services commented on ISIS-2283: --- Commit 3159228884782cd79fa80df4a5770c6be38c90eb in isis's branch refs/heads/master from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=3159228 ] ISIS-2283: fixes empty primary menu entry also slightly improves code readability with MenuBarsServiceBS3 > Demo/RO: restful/menuBars Contains Unexpected Element > - > > Key: ISIS-2283 > URL: https://issues.apache.org/jira/browse/ISIS-2283 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > Attachments: ScreenShot 379 kroviz [C__data_master_kroviz] - > ..._src_test_kotlin_org_ro_snapshots_sample.json [kroviz.test] - IntelliJ > IDEA.png, sample.json > > > The response of [http://localhost:8080/restful/menuBars] contains an > unexpected menu element: > {code:java} > { > "named": null, > "cssClassFa": null, > "unreferencedActions": null > },{code} > see attached screenshot / sample.json. > Is it by purpose and should be interpreted as a kind of separator? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Assigned] (ISIS-2283) Demo/RO: restful/menuBars Contains Unexpected Element
[ https://issues.apache.org/jira/browse/ISIS-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber reassigned ISIS-2283: Assignee: Andi Huber > Demo/RO: restful/menuBars Contains Unexpected Element > - > > Key: ISIS-2283 > URL: https://issues.apache.org/jira/browse/ISIS-2283 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Major > Attachments: ScreenShot 379 kroviz [C__data_master_kroviz] - > ..._src_test_kotlin_org_ro_snapshots_sample.json [kroviz.test] - IntelliJ > IDEA.png, sample.json > > > The response of [http://localhost:8080/restful/menuBars] contains an > unexpected menu element: > {code:java} > { > "named": null, > "cssClassFa": null, > "unreferencedActions": null > },{code} > see attached screenshot / sample.json. > Is it by purpose and should be interpreted as a kind of separator? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (ISIS-2283) Demo/RO: restful/menuBars Contains Unexpected Element
[ https://issues.apache.org/jira/browse/ISIS-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-2283: - Fix Version/s: 2.0.0 > Demo/RO: restful/menuBars Contains Unexpected Element > - > > Key: ISIS-2283 > URL: https://issues.apache.org/jira/browse/ISIS-2283 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > Attachments: ScreenShot 379 kroviz [C__data_master_kroviz] - > ..._src_test_kotlin_org_ro_snapshots_sample.json [kroviz.test] - IntelliJ > IDEA.png, sample.json > > > The response of [http://localhost:8080/restful/menuBars] contains an > unexpected menu element: > {code:java} > { > "named": null, > "cssClassFa": null, > "unreferencedActions": null > },{code} > see attached screenshot / sample.json. > Is it by purpose and should be interpreted as a kind of separator? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2283) Demo/RO: restful/menuBars Contains Unexpected Element
[ https://issues.apache.org/jira/browse/ISIS-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033630#comment-17033630 ] Andi Huber commented on ISIS-2283: -- Confirmed. This is a bug. > Demo/RO: restful/menuBars Contains Unexpected Element > - > > Key: ISIS-2283 > URL: https://issues.apache.org/jira/browse/ISIS-2283 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Priority: Major > Attachments: ScreenShot 379 kroviz [C__data_master_kroviz] - > ..._src_test_kotlin_org_ro_snapshots_sample.json [kroviz.test] - IntelliJ > IDEA.png, sample.json > > > The response of [http://localhost:8080/restful/menuBars] contains an > unexpected menu element: > {code:java} > { > "named": null, > "cssClassFa": null, > "unreferencedActions": null > },{code} > see attached screenshot / sample.json. > Is it by purpose and should be interpreted as a kind of separator? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2280) demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE
[ https://issues.apache.org/jira/browse/ISIS-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033620#comment-17033620 ] Andi Huber commented on ISIS-2280: -- That's usually what you get when doing a GET request, while a POST is required. Can you verify this? > demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE > -- > > Key: ISIS-2280 > URL: https://issues.apache.org/jira/browse/ISIS-2280 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Priority: Minor > Labels: cannot-reproduce > > URL: > http://localhost:8080/restful/objects/demo.FeaturedTypesMenu/1/actions/blobs/invoke > {code:json} > { > "httpStatusCode": 500, > "message": "Error marshalling domain object to XML; domain object class is > 'demoapp.dom.types.blob.BlobDemo'", > "detail": { > "className": "org.apache.isis.applib.NonRecoverableException", > "message": "Error marshalling domain object to XML; domain object class > is 'demoapp.dom.types.blob.BlobDemo'", > "element": [ > > "org.apache.isis.applib.services.jaxb.JaxbService$Simple.toXml(JaxbService.java:212)", > > "org.apache.isis.applib.services.jaxb.JaxbService$Simple.toXml(JaxbService.java:157)", > > "org.apache.isis.core.metamodel.facets.object.recreatable.RecreatableObjectFacetForXmlRootElementAnnotation.clone(RecreatableObjectFacetForXmlRootElementAnnotation.java:67)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.cloneIfViewModelElse(ActionInvocationFacetForDomainEventAbstract.java:300)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.cloneIfViewModelCloneable(ActionInvocationFacetForDomainEventAbstract.java:286)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.access$500(ActionInvocationFacetForDomainEventAbstract.java:74)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$DomainEventMemberExecutor.execute(ActionInvocationFacetForDomainEventAbstract.java:461)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$DomainEventMemberExecutor.execute(ActionInvocationFacetForDomainEventAbstract.java:413)", > > "org.apache.isis.applib.services.iactn.Interaction.executeInternal(Interaction.java:175)", > > "org.apache.isis.applib.services.iactn.Interaction.execute(Interaction.java:141)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.doInvoke(ActionInvocationFacetForDomainEventAbstract.java:204)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.lambda$invoke$0(ActionInvocationFacetForDomainEventAbstract.java:125)", > > "org.apache.isis.core.runtimeservices.xactn.TransactionServiceSpring.executeWithinTransaction(TransactionServiceSpring.java:149)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.invoke(ActionInvocationFacetForDomainEventAbstract.java:124)", > > "org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.executeInternal(ObjectActionDefault.java:424)", > > "org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.execute(ObjectActionDefault.java:410)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeActionUsingAdapters(DomainResourceHelper.java:230)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeAction(DomainResourceHelper.java:209)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainObjectResourceServerside.invokeAction(DomainObjectResourceServerside.java:732)", > "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", > > "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)", > > "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)", > "java.lang.reflect.Method.invoke(Method.java:498)", > > "org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:151)", > > "org.jboss.resteasy.core.MethodInjectorImpl.lambda$invoke$3(MethodInjectorImpl.java:122)", > > "java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)", > > "java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:614)", > >
[jira] [Commented] (ISIS-2280) demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE
[ https://issues.apache.org/jira/browse/ISIS-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033619#comment-17033619 ] Jörg Rade commented on ISIS-2280: - After switching to master, I get a 405 with both URLs (w/o '1'): {code:json} { "httpStatusCode": 405, "message": "Method not allowed; action 'blobs' does not have safe semantics", "detail": { "className": "org.apache.isis.viewer.restfulobjects.rendering.RestfulObjectsApplicationException", "message": "Method not allowed; action 'blobs' does not have safe semantics", "element": [ "org.apache.isis.viewer.restfulobjects.rendering.RestfulObjectsApplicationException.createWithCauseAndMessage(RestfulObjectsApplicationException.java:50)", "org.apache.isis.viewer.restfulobjects.rendering.RestfulObjectsApplicationException.createWithMessage(RestfulObjectsApplicationException.java:37)", "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeActionQueryOnly(DomainResourceHelper.java:169)", "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainServiceResourceServerside.invokeActionQueryOnly(DomainServiceResourceServerside.java:220)", "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)", "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)", "java.lang.reflect.Method.invoke(Method.java:498)", "org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:151)", "org.jboss.resteasy.core.MethodInjectorImpl.lambda$invoke$3(MethodInjectorImpl.java:122)", "java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)", "java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:614)", "java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1983)", "java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:110)", "org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:122)", "org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:594)", "org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:468)", "org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:421)", "org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:363)", "org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:423)", "org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:391)", "org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invoke$1(ResourceMethodInvoker.java:365)", "java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:981)", "java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2124)", "java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:110)", "org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:365)", "org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:477)", "org.jboss.resteasy.core.SynchronousDispatcher.lambda$invoke$4(SynchronousDispatcher.java:252)", "org.jboss.resteasy.core.SynchronousDispatcher.lambda$preprocess$0(SynchronousDispatcher.java:153)", "org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:363)", "org.jboss.resteasy.core.SynchronousDispatcher.preprocess(SynchronousDispatcher.java:156)", "org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:238)", "org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:249)", "org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:60)", "org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)", "javax.servlet.http.HttpServlet.service(HttpServlet.java:741)", "org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)", "org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)", "org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)",
[jira] [Closed] (ISIS-2229) Let TitleService fallback to Enum.name() as the Title Provider
[ https://issues.apache.org/jira/browse/ISIS-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-2229. Resolution: Fixed already seems to work > Let TitleService fallback to Enum.name() as the Title Provider > -- > > Key: ISIS-2229 > URL: https://issues.apache.org/jira/browse/ISIS-2229 > Project: Isis > Issue Type: Improvement >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > > default TitleService fails on plain enums -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2229) Let TitleService fallback to Enum.name() as the Title Provider
[ https://issues.apache.org/jira/browse/ISIS-2229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033615#comment-17033615 ] ASF subversion and git services commented on ISIS-2229: --- Commit 1025e09206616b356cd5a504b090af9c8bd10334 in isis's branch refs/heads/master from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=1025e09 ] ISIS-2229: added a testcase, verifying that this actually works > Let TitleService fallback to Enum.name() as the Title Provider > -- > > Key: ISIS-2229 > URL: https://issues.apache.org/jira/browse/ISIS-2229 > Project: Isis > Issue Type: Improvement >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > > default TitleService fails on plain enums -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (ISIS-2283) Demo/RO: restful/menuBars Contains Unexpected Element
Jörg Rade created ISIS-2283: --- Summary: Demo/RO: restful/menuBars Contains Unexpected Element Key: ISIS-2283 URL: https://issues.apache.org/jira/browse/ISIS-2283 Project: Isis Issue Type: Bug Affects Versions: 2.0.0-M3 Reporter: Jörg Rade Attachments: ScreenShot 379 kroviz [C__data_master_kroviz] - ..._src_test_kotlin_org_ro_snapshots_sample.json [kroviz.test] - IntelliJ IDEA.png, sample.json The response of [http://localhost:8080/restful/menuBars] contains an unexpected menu element: {code:java} { "named": null, "cssClassFa": null, "unreferencedActions": null },{code} see attached screenshot / sample.json. Is it by purpose and should be interpreted as a kind of separator? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (ISIS-2282) Demo: action 'runFixtureScript' either does not exist or is not visible
[ https://issues.apache.org/jira/browse/ISIS-2282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033576#comment-17033576 ] Andi Huber commented on ISIS-2282: -- Actually the action 'runFixtureScript' is disabled in the wicket-UI. It has a tooltip stating: 'No fixture scripts found ...' This seems valid behavior. Do we want the RO viewer to behave differently here? [~danhaywood] what do you think? > Demo: action 'runFixtureScript' either does not exist or is not visible > --- > > Key: ISIS-2282 > URL: https://issues.apache.org/jira/browse/ISIS-2282 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Priority: Minor > > The reponse for [http://localhost:8080/restful/menuBars] contains: > {code:java} > ... > "secondary": { > "menu": [ > { > "named": "Prototyping", > "cssClassFa": null, > "section": [ > { > "serviceAction": [ > { > "objectType": "isisExtFixtures.FixtureScripts", > "id": "runFixtureScript", > "named": "Run Fixture Script", > "namedEscaped": null, > "bookmarking": null, > "cssClass": null, > "cssClassFa": null, > "describedAs": null, > "metadataError": null, > "link": { > "rel": "urn:org.restfulobjects:rels/action", > "method": "GET", > "href": > "http://localhost:8080/restful/objects/isisExtFixtures.FixtureScripts/1/actions/runFixtureScript;, > "type": > "application/json;profile=\"urn:org.restfulobjects:repr-types/object-action\"" > } > } > ... > {code} > But invoking > [http://localhost:8080/restful/objects/isisExtFixtures.FixtureScripts/1/actions/runFixtureScript] > results in: {{action 'runFixtureScript' either does not exist or is not > visible}} -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Closed] (ISIS-2281) objectSpec expected to have EncodableFacet
[ https://issues.apache.org/jira/browse/ISIS-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber closed ISIS-2281. Fix Version/s: 2.0.0 Resolution: Fixed > objectSpec expected to have EncodableFacet > -- > > Key: ISIS-2281 > URL: https://issues.apache.org/jira/browse/ISIS-2281 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Minor > Fix For: 2.0.0 > > > URL: > http://localhost:8080/restful/objects/demo.AsyncActionMenu/1/actions/asyncActions/invoke > {code} > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.JsonValueEncoder.appendValueAndFormat(JsonValueEncoder.java:150) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.ObjectPropertyReprRenderer.addValue(ObjectPropertyReprRenderer.java:117) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.ObjectPropertyReprRenderer.render(ObjectPropertyReprRenderer.java:70) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.DomainObjectReprRenderer.addProperties(DomainObjectReprRenderer.java:341) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.DomainObjectReprRenderer.withMembers(DomainObjectReprRenderer.java:294) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.DomainObjectReprRenderer.render(DomainObjectReprRenderer.java:193) > org.apache.isis.viewer.restfulobjects.rendering.Responses.ofOk(Responses.java:63) > org.apache.isis.viewer.restfulobjects.rendering.service.conneg.ContentNegotiationServiceForRestfulObjectsV1_0.buildResponseTo(ContentNegotiationServiceForRestfulObjectsV1_0.java:108) > org.apache.isis.viewer.restfulobjects.rendering.service.conneg.ContentNegotiationServiceForRestfulObjectsV1_0.buildResponse(ContentNegotiationServiceForRestfulObjectsV1_0.java:89) > org.apache.isis.viewer.restfulobjects.rendering.service.conneg.ContentNegotiationServiceForRestfulObjectsV1_0.buildResponse(ContentNegotiationServiceForRestfulObjectsV1_0.java:222) > org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationServiceContentNegotiator.lambda$actionResult$4(RepresentationServiceContentNegotiator.java:119) > org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationServiceContentNegotiator.buildResponse(RepresentationServiceContentNegotiator.java:146) > org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationServiceContentNegotiator.actionResult(RepresentationServiceContentNegotiator.java:118) > org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeActionUsingAdapters(DomainResourceHelper.java:239) > org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeAction(DomainResourceHelper.java:209) > org.apache.isis.viewer.restfulobjects.viewer.resources.DomainObjectResourceServerside.invokeAction(DomainObjectResourceServerside.java:732) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:498) > org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:151) > org.jboss.resteasy.core.MethodInjectorImpl.lambda$invoke$3(MethodInjectorImpl.java:122) > java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) > java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:614) > java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1983) > java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:110) > org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:122) > org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:594) > org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:468) > org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:421) > org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:363) > org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:423) > org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:391) > org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invoke$1(ResourceMethodInvoker.java:365) > java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:981) > java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2124) > java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:110) > org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:365) >
[jira] [Commented] (ISIS-2281) objectSpec expected to have EncodableFacet
[ https://issues.apache.org/jira/browse/ISIS-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033563#comment-17033563 ] ASF subversion and git services commented on ISIS-2281: --- Commit c541671a087e0fdbd6ebeb1055d7ec2a561c60c6 in isis's branch refs/heads/master from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=c541671 ] ISIS-2281: fixes ListeningMarkup to use same value semantics as Markup > objectSpec expected to have EncodableFacet > -- > > Key: ISIS-2281 > URL: https://issues.apache.org/jira/browse/ISIS-2281 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Minor > > URL: > http://localhost:8080/restful/objects/demo.AsyncActionMenu/1/actions/asyncActions/invoke > {code} > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.JsonValueEncoder.appendValueAndFormat(JsonValueEncoder.java:150) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.ObjectPropertyReprRenderer.addValue(ObjectPropertyReprRenderer.java:117) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.ObjectPropertyReprRenderer.render(ObjectPropertyReprRenderer.java:70) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.DomainObjectReprRenderer.addProperties(DomainObjectReprRenderer.java:341) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.DomainObjectReprRenderer.withMembers(DomainObjectReprRenderer.java:294) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.DomainObjectReprRenderer.render(DomainObjectReprRenderer.java:193) > org.apache.isis.viewer.restfulobjects.rendering.Responses.ofOk(Responses.java:63) > org.apache.isis.viewer.restfulobjects.rendering.service.conneg.ContentNegotiationServiceForRestfulObjectsV1_0.buildResponseTo(ContentNegotiationServiceForRestfulObjectsV1_0.java:108) > org.apache.isis.viewer.restfulobjects.rendering.service.conneg.ContentNegotiationServiceForRestfulObjectsV1_0.buildResponse(ContentNegotiationServiceForRestfulObjectsV1_0.java:89) > org.apache.isis.viewer.restfulobjects.rendering.service.conneg.ContentNegotiationServiceForRestfulObjectsV1_0.buildResponse(ContentNegotiationServiceForRestfulObjectsV1_0.java:222) > org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationServiceContentNegotiator.lambda$actionResult$4(RepresentationServiceContentNegotiator.java:119) > org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationServiceContentNegotiator.buildResponse(RepresentationServiceContentNegotiator.java:146) > org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationServiceContentNegotiator.actionResult(RepresentationServiceContentNegotiator.java:118) > org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeActionUsingAdapters(DomainResourceHelper.java:239) > org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeAction(DomainResourceHelper.java:209) > org.apache.isis.viewer.restfulobjects.viewer.resources.DomainObjectResourceServerside.invokeAction(DomainObjectResourceServerside.java:732) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:498) > org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:151) > org.jboss.resteasy.core.MethodInjectorImpl.lambda$invoke$3(MethodInjectorImpl.java:122) > java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) > java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:614) > java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1983) > java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:110) > org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:122) > org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:594) > org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:468) > org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:421) > org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:363) > org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:423) > org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:391) > org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invoke$1(ResourceMethodInvoker.java:365) > java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:981) >
[jira] [Assigned] (ISIS-2281) objectSpec expected to have EncodableFacet
[ https://issues.apache.org/jira/browse/ISIS-2281?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber reassigned ISIS-2281: Assignee: Andi Huber > objectSpec expected to have EncodableFacet > -- > > Key: ISIS-2281 > URL: https://issues.apache.org/jira/browse/ISIS-2281 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Assignee: Andi Huber >Priority: Minor > > URL: > http://localhost:8080/restful/objects/demo.AsyncActionMenu/1/actions/asyncActions/invoke > {code} > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.JsonValueEncoder.appendValueAndFormat(JsonValueEncoder.java:150) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.ObjectPropertyReprRenderer.addValue(ObjectPropertyReprRenderer.java:117) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.ObjectPropertyReprRenderer.render(ObjectPropertyReprRenderer.java:70) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.DomainObjectReprRenderer.addProperties(DomainObjectReprRenderer.java:341) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.DomainObjectReprRenderer.withMembers(DomainObjectReprRenderer.java:294) > org.apache.isis.viewer.restfulobjects.rendering.domainobjects.DomainObjectReprRenderer.render(DomainObjectReprRenderer.java:193) > org.apache.isis.viewer.restfulobjects.rendering.Responses.ofOk(Responses.java:63) > org.apache.isis.viewer.restfulobjects.rendering.service.conneg.ContentNegotiationServiceForRestfulObjectsV1_0.buildResponseTo(ContentNegotiationServiceForRestfulObjectsV1_0.java:108) > org.apache.isis.viewer.restfulobjects.rendering.service.conneg.ContentNegotiationServiceForRestfulObjectsV1_0.buildResponse(ContentNegotiationServiceForRestfulObjectsV1_0.java:89) > org.apache.isis.viewer.restfulobjects.rendering.service.conneg.ContentNegotiationServiceForRestfulObjectsV1_0.buildResponse(ContentNegotiationServiceForRestfulObjectsV1_0.java:222) > org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationServiceContentNegotiator.lambda$actionResult$4(RepresentationServiceContentNegotiator.java:119) > org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationServiceContentNegotiator.buildResponse(RepresentationServiceContentNegotiator.java:146) > org.apache.isis.viewer.restfulobjects.rendering.service.RepresentationServiceContentNegotiator.actionResult(RepresentationServiceContentNegotiator.java:118) > org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeActionUsingAdapters(DomainResourceHelper.java:239) > org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeAction(DomainResourceHelper.java:209) > org.apache.isis.viewer.restfulobjects.viewer.resources.DomainObjectResourceServerside.invokeAction(DomainObjectResourceServerside.java:732) > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > java.lang.reflect.Method.invoke(Method.java:498) > org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:151) > org.jboss.resteasy.core.MethodInjectorImpl.lambda$invoke$3(MethodInjectorImpl.java:122) > java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602) > java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:614) > java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1983) > java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:110) > org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:122) > org.jboss.resteasy.core.ResourceMethodInvoker.internalInvokeOnTarget(ResourceMethodInvoker.java:594) > org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTargetAfterFilter(ResourceMethodInvoker.java:468) > org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invokeOnTarget$2(ResourceMethodInvoker.java:421) > org.jboss.resteasy.core.interception.jaxrs.PreMatchContainerRequestContext.filter(PreMatchContainerRequestContext.java:363) > org.jboss.resteasy.core.ResourceMethodInvoker.invokeOnTarget(ResourceMethodInvoker.java:423) > org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:391) > org.jboss.resteasy.core.ResourceMethodInvoker.lambda$invoke$1(ResourceMethodInvoker.java:365) > java.util.concurrent.CompletableFuture.uniComposeStage(CompletableFuture.java:981) > java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:2124) > java.util.concurrent.CompletableFuture.thenCompose(CompletableFuture.java:110) > org.jboss.resteasy.core.ResourceMethodInvoker.invoke(ResourceMethodInvoker.java:365) >
[jira] [Comment Edited] (ISIS-2280) demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE
[ https://issues.apache.org/jira/browse/ISIS-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033550#comment-17033550 ] Andi Huber edited comment on ISIS-2280 at 2/10/20 12:17 PM: However, the action URL I used with swagger is slightly different: http://localhost:8080/restful/services/demo.FeaturedTypesMenu/actions/blobs/invoke was (Author: hobrom): However, the action URL I used with swagger is slightly different: > demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE > -- > > Key: ISIS-2280 > URL: https://issues.apache.org/jira/browse/ISIS-2280 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Priority: Minor > Labels: cannot-reproduce > > URL: > http://localhost:8080/restful/objects/demo.FeaturedTypesMenu/1/actions/blobs/invoke > {code:json} > { > "httpStatusCode": 500, > "message": "Error marshalling domain object to XML; domain object class is > 'demoapp.dom.types.blob.BlobDemo'", > "detail": { > "className": "org.apache.isis.applib.NonRecoverableException", > "message": "Error marshalling domain object to XML; domain object class > is 'demoapp.dom.types.blob.BlobDemo'", > "element": [ > > "org.apache.isis.applib.services.jaxb.JaxbService$Simple.toXml(JaxbService.java:212)", > > "org.apache.isis.applib.services.jaxb.JaxbService$Simple.toXml(JaxbService.java:157)", > > "org.apache.isis.core.metamodel.facets.object.recreatable.RecreatableObjectFacetForXmlRootElementAnnotation.clone(RecreatableObjectFacetForXmlRootElementAnnotation.java:67)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.cloneIfViewModelElse(ActionInvocationFacetForDomainEventAbstract.java:300)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.cloneIfViewModelCloneable(ActionInvocationFacetForDomainEventAbstract.java:286)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.access$500(ActionInvocationFacetForDomainEventAbstract.java:74)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$DomainEventMemberExecutor.execute(ActionInvocationFacetForDomainEventAbstract.java:461)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$DomainEventMemberExecutor.execute(ActionInvocationFacetForDomainEventAbstract.java:413)", > > "org.apache.isis.applib.services.iactn.Interaction.executeInternal(Interaction.java:175)", > > "org.apache.isis.applib.services.iactn.Interaction.execute(Interaction.java:141)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.doInvoke(ActionInvocationFacetForDomainEventAbstract.java:204)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.lambda$invoke$0(ActionInvocationFacetForDomainEventAbstract.java:125)", > > "org.apache.isis.core.runtimeservices.xactn.TransactionServiceSpring.executeWithinTransaction(TransactionServiceSpring.java:149)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.invoke(ActionInvocationFacetForDomainEventAbstract.java:124)", > > "org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.executeInternal(ObjectActionDefault.java:424)", > > "org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.execute(ObjectActionDefault.java:410)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeActionUsingAdapters(DomainResourceHelper.java:230)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeAction(DomainResourceHelper.java:209)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainObjectResourceServerside.invokeAction(DomainObjectResourceServerside.java:732)", > "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", > > "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)", > > "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)", > "java.lang.reflect.Method.invoke(Method.java:498)", > > "org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:151)", > > "org.jboss.resteasy.core.MethodInjectorImpl.lambda$invoke$3(MethodInjectorImpl.java:122)", > >
[jira] [Commented] (ISIS-2280) demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE
[ https://issues.apache.org/jira/browse/ISIS-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033550#comment-17033550 ] Andi Huber commented on ISIS-2280: -- However, the action URL I used with swagger is slightly different: > demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE > -- > > Key: ISIS-2280 > URL: https://issues.apache.org/jira/browse/ISIS-2280 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Priority: Minor > Labels: cannot-reproduce > > URL: > http://localhost:8080/restful/objects/demo.FeaturedTypesMenu/1/actions/blobs/invoke > {code:json} > { > "httpStatusCode": 500, > "message": "Error marshalling domain object to XML; domain object class is > 'demoapp.dom.types.blob.BlobDemo'", > "detail": { > "className": "org.apache.isis.applib.NonRecoverableException", > "message": "Error marshalling domain object to XML; domain object class > is 'demoapp.dom.types.blob.BlobDemo'", > "element": [ > > "org.apache.isis.applib.services.jaxb.JaxbService$Simple.toXml(JaxbService.java:212)", > > "org.apache.isis.applib.services.jaxb.JaxbService$Simple.toXml(JaxbService.java:157)", > > "org.apache.isis.core.metamodel.facets.object.recreatable.RecreatableObjectFacetForXmlRootElementAnnotation.clone(RecreatableObjectFacetForXmlRootElementAnnotation.java:67)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.cloneIfViewModelElse(ActionInvocationFacetForDomainEventAbstract.java:300)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.cloneIfViewModelCloneable(ActionInvocationFacetForDomainEventAbstract.java:286)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.access$500(ActionInvocationFacetForDomainEventAbstract.java:74)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$DomainEventMemberExecutor.execute(ActionInvocationFacetForDomainEventAbstract.java:461)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$DomainEventMemberExecutor.execute(ActionInvocationFacetForDomainEventAbstract.java:413)", > > "org.apache.isis.applib.services.iactn.Interaction.executeInternal(Interaction.java:175)", > > "org.apache.isis.applib.services.iactn.Interaction.execute(Interaction.java:141)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.doInvoke(ActionInvocationFacetForDomainEventAbstract.java:204)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.lambda$invoke$0(ActionInvocationFacetForDomainEventAbstract.java:125)", > > "org.apache.isis.core.runtimeservices.xactn.TransactionServiceSpring.executeWithinTransaction(TransactionServiceSpring.java:149)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.invoke(ActionInvocationFacetForDomainEventAbstract.java:124)", > > "org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.executeInternal(ObjectActionDefault.java:424)", > > "org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.execute(ObjectActionDefault.java:410)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeActionUsingAdapters(DomainResourceHelper.java:230)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeAction(DomainResourceHelper.java:209)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainObjectResourceServerside.invokeAction(DomainObjectResourceServerside.java:732)", > "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", > > "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)", > > "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)", > "java.lang.reflect.Method.invoke(Method.java:498)", > > "org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:151)", > > "org.jboss.resteasy.core.MethodInjectorImpl.lambda$invoke$3(MethodInjectorImpl.java:122)", > > "java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)", > > "java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:614)", > > "java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1983)", > >
[jira] [Updated] (ISIS-2280) demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE
[ https://issues.apache.org/jira/browse/ISIS-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andi Huber updated ISIS-2280: - Labels: cannot-reproduce (was: ) > demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE > -- > > Key: ISIS-2280 > URL: https://issues.apache.org/jira/browse/ISIS-2280 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Priority: Minor > Labels: cannot-reproduce > > URL: > http://localhost:8080/restful/objects/demo.FeaturedTypesMenu/1/actions/blobs/invoke > {code:json} > { > "httpStatusCode": 500, > "message": "Error marshalling domain object to XML; domain object class is > 'demoapp.dom.types.blob.BlobDemo'", > "detail": { > "className": "org.apache.isis.applib.NonRecoverableException", > "message": "Error marshalling domain object to XML; domain object class > is 'demoapp.dom.types.blob.BlobDemo'", > "element": [ > > "org.apache.isis.applib.services.jaxb.JaxbService$Simple.toXml(JaxbService.java:212)", > > "org.apache.isis.applib.services.jaxb.JaxbService$Simple.toXml(JaxbService.java:157)", > > "org.apache.isis.core.metamodel.facets.object.recreatable.RecreatableObjectFacetForXmlRootElementAnnotation.clone(RecreatableObjectFacetForXmlRootElementAnnotation.java:67)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.cloneIfViewModelElse(ActionInvocationFacetForDomainEventAbstract.java:300)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.cloneIfViewModelCloneable(ActionInvocationFacetForDomainEventAbstract.java:286)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.access$500(ActionInvocationFacetForDomainEventAbstract.java:74)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$DomainEventMemberExecutor.execute(ActionInvocationFacetForDomainEventAbstract.java:461)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$DomainEventMemberExecutor.execute(ActionInvocationFacetForDomainEventAbstract.java:413)", > > "org.apache.isis.applib.services.iactn.Interaction.executeInternal(Interaction.java:175)", > > "org.apache.isis.applib.services.iactn.Interaction.execute(Interaction.java:141)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.doInvoke(ActionInvocationFacetForDomainEventAbstract.java:204)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.lambda$invoke$0(ActionInvocationFacetForDomainEventAbstract.java:125)", > > "org.apache.isis.core.runtimeservices.xactn.TransactionServiceSpring.executeWithinTransaction(TransactionServiceSpring.java:149)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.invoke(ActionInvocationFacetForDomainEventAbstract.java:124)", > > "org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.executeInternal(ObjectActionDefault.java:424)", > > "org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.execute(ObjectActionDefault.java:410)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeActionUsingAdapters(DomainResourceHelper.java:230)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeAction(DomainResourceHelper.java:209)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainObjectResourceServerside.invokeAction(DomainObjectResourceServerside.java:732)", > "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", > > "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)", > > "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)", > "java.lang.reflect.Method.invoke(Method.java:498)", > > "org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:151)", > > "org.jboss.resteasy.core.MethodInjectorImpl.lambda$invoke$3(MethodInjectorImpl.java:122)", > > "java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)", > > "java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:614)", > > "java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:1983)", > > "java.util.concurrent.CompletableFuture.thenApply(CompletableFuture.java:110)", >
[jira] [Commented] (ISIS-2280) demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE
[ https://issues.apache.org/jira/browse/ISIS-2280?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033545#comment-17033545 ] Andi Huber commented on ISIS-2280: -- I'm not able to reproduce this one. I'm running the demo in PROTOTYPING mode and tested above action invocation with the swagger UI. I do get a status 200, and the Blob seems correctly marshalled into XML. > demoapp.dom.types.blob.BlobDemo Can't be Marshalled due to NPE > -- > > Key: ISIS-2280 > URL: https://issues.apache.org/jira/browse/ISIS-2280 > Project: Isis > Issue Type: Bug >Affects Versions: 2.0.0-M3 >Reporter: Jörg Rade >Priority: Minor > > URL: > http://localhost:8080/restful/objects/demo.FeaturedTypesMenu/1/actions/blobs/invoke > {code:json} > { > "httpStatusCode": 500, > "message": "Error marshalling domain object to XML; domain object class is > 'demoapp.dom.types.blob.BlobDemo'", > "detail": { > "className": "org.apache.isis.applib.NonRecoverableException", > "message": "Error marshalling domain object to XML; domain object class > is 'demoapp.dom.types.blob.BlobDemo'", > "element": [ > > "org.apache.isis.applib.services.jaxb.JaxbService$Simple.toXml(JaxbService.java:212)", > > "org.apache.isis.applib.services.jaxb.JaxbService$Simple.toXml(JaxbService.java:157)", > > "org.apache.isis.core.metamodel.facets.object.recreatable.RecreatableObjectFacetForXmlRootElementAnnotation.clone(RecreatableObjectFacetForXmlRootElementAnnotation.java:67)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.cloneIfViewModelElse(ActionInvocationFacetForDomainEventAbstract.java:300)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.cloneIfViewModelCloneable(ActionInvocationFacetForDomainEventAbstract.java:286)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.access$500(ActionInvocationFacetForDomainEventAbstract.java:74)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$DomainEventMemberExecutor.execute(ActionInvocationFacetForDomainEventAbstract.java:461)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract$DomainEventMemberExecutor.execute(ActionInvocationFacetForDomainEventAbstract.java:413)", > > "org.apache.isis.applib.services.iactn.Interaction.executeInternal(Interaction.java:175)", > > "org.apache.isis.applib.services.iactn.Interaction.execute(Interaction.java:141)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.doInvoke(ActionInvocationFacetForDomainEventAbstract.java:204)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.lambda$invoke$0(ActionInvocationFacetForDomainEventAbstract.java:125)", > > "org.apache.isis.core.runtimeservices.xactn.TransactionServiceSpring.executeWithinTransaction(TransactionServiceSpring.java:149)", > > "org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract.invoke(ActionInvocationFacetForDomainEventAbstract.java:124)", > > "org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.executeInternal(ObjectActionDefault.java:424)", > > "org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault.execute(ObjectActionDefault.java:410)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeActionUsingAdapters(DomainResourceHelper.java:230)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainResourceHelper.invokeAction(DomainResourceHelper.java:209)", > > "org.apache.isis.viewer.restfulobjects.viewer.resources.DomainObjectResourceServerside.invokeAction(DomainObjectResourceServerside.java:732)", > "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)", > > "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)", > > "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)", > "java.lang.reflect.Method.invoke(Method.java:498)", > > "org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:151)", > > "org.jboss.resteasy.core.MethodInjectorImpl.lambda$invoke$3(MethodInjectorImpl.java:122)", > > "java.util.concurrent.CompletableFuture.uniApply(CompletableFuture.java:602)", > > "java.util.concurrent.CompletableFuture.uniApplyStage(CompletableFuture.java:614)", > >
[jira] [Commented] (ISIS-2158) Miscellaneous tasks in preparation of Version 2
[ https://issues.apache.org/jira/browse/ISIS-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17033515#comment-17033515 ] ASF subversion and git services commented on ISIS-2158: --- Commit 0a099f231c19f0402582ff2aafd8fe6c242f7473 in isis's branch refs/heads/master from Andi Huber [ https://gitbox.apache.org/repos/asf?p=isis.git;h=0a099f2 ] ISIS-2158: fixes regression w/ pending args due to refactoring: List -> Can -> List > Miscellaneous tasks in preparation of Version 2 > --- > > Key: ISIS-2158 > URL: https://issues.apache.org/jira/browse/ISIS-2158 > Project: Isis > Issue Type: Task >Reporter: Andi Huber >Assignee: Andi Huber >Priority: Major > Fix For: 2.0.0 > > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (ISIS-2282) Demo: action 'runFixtureScript' either does not exist or is not visible
Jörg Rade created ISIS-2282: --- Summary: Demo: action 'runFixtureScript' either does not exist or is not visible Key: ISIS-2282 URL: https://issues.apache.org/jira/browse/ISIS-2282 Project: Isis Issue Type: Bug Affects Versions: 2.0.0-M3 Reporter: Jörg Rade The reponse for [http://localhost:8080/restful/menuBars] contains: {code:java} ... "secondary": { "menu": [ { "named": "Prototyping", "cssClassFa": null, "section": [ { "serviceAction": [ { "objectType": "isisExtFixtures.FixtureScripts", "id": "runFixtureScript", "named": "Run Fixture Script", "namedEscaped": null, "bookmarking": null, "cssClass": null, "cssClassFa": null, "describedAs": null, "metadataError": null, "link": { "rel": "urn:org.restfulobjects:rels/action", "method": "GET", "href": "http://localhost:8080/restful/objects/isisExtFixtures.FixtureScripts/1/actions/runFixtureScript;, "type": "application/json;profile=\"urn:org.restfulobjects:repr-types/object-action\"" } } ... {code} But invoking [http://localhost:8080/restful/objects/isisExtFixtures.FixtureScripts/1/actions/runFixtureScript] results in: {{action 'runFixtureScript' either does not exist or is not visible}} -- This message was sent by Atlassian Jira (v8.3.4#803005)