Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3009

Entity change publishing in demo app seemingly broken.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Resolved
    • 2.0.0-M8
    • 2.0.0-M8
    • Core
    • None

    Description

      https://demo-wicket.jdo.isis.incode.work/wicket/entity/demo.DomainObjectEntityChangePublishingEnabledEntity:2

      see attachment for animation

      resulting in:

      • java.lang.RuntimeException
      • unrecoverable error: 'unexpected: owner is a mixin ManagedObject.SimpleManagedObject(specification=ObjectSpecificationDefault@44ec4a73[class=demoapp.dom.domain.objects.DomainObject.entityChangePublishing.DomainObjectEntityChangePublishingEntity_updatePropertyUsingAction,type=MIXIN,superclass=java.lang.Object], pojo=demoapp.dom.domain.objects.DomainObject.entityChangePublishing.DomainObjectEntityChangePublishingEntity_updatePropertyUsingAction@31703d6)'
      • org.apache.isis.commons.internal.exceptions._Exceptions#unrecoverableFormatted(_Exceptions.java:148)
      • org.apache.isis.core.metamodel.interactions.InteractionHead#of(InteractionHead.java:80)
      • org.apache.isis.core.metamodel.interactions.InteractionHead#regular(InteractionHead.java:56)
      • org.apache.isis.core.metamodel.spec.ManagedObjects$VisibilityUtil#createVisibleInteractionContext(ManagedObjects.java:866)
      • org.apache.isis.core.metamodel.spec.ManagedObjects$VisibilityUtil#isVisible(ManagedObjects.java:851)
      • org.apache.isis.core.runtimeservices.executor.MemberExecutorServiceDefault#filteredIfRequired(MemberExecutorServiceDefault.java:310)
      • org.apache.isis.core.runtimeservices.executor.MemberExecutorServiceDefault#invokeAction(MemberExecutorServiceDefault.java:185)
      • org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract#doInvoke(ActionInvocationFacetForDomainEventAbstract.java:131)
      • org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract#lambda$invoke$1(ActionInvocationFacetForDomainEventAbstract.java:99)
      • org.apache.isis.commons.functional.Try#call(Try.java:55)
      • org.apache.isis.core.runtimeservices.transaction.TransactionServiceSpring#callTransactional(TransactionServiceSpring.java:108)
      • org.apache.isis.applib.services.xactn.TransactionalProcessor#callWithinCurrentTransactionElseCreateNew(TransactionalProcessor.java:100)
      • org.apache.isis.core.metamodel.facets.actions.action.invocation.ActionInvocationFacetForDomainEventAbstract#invoke(ActionInvocationFacetForDomainEventAbstract.java:98)
      • org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault#executeInternal(ObjectActionDefault.java:421)
      • org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionMixedIn#execute(ObjectActionMixedIn.java:162)
      • org.apache.isis.core.metamodel.specloader.specimpl.ObjectActionDefault#executeWithRuleChecking(ObjectActionDefault.java:389)
      • org.apache.isis.core.metamodel.interactions.managed.ManagedAction#invokeWithRuleChecking(ManagedAction.java:150)
      • org.apache.isis.core.metamodel.interactions.managed.ActionInteraction#invokeWithRuleChecking(ActionInteraction.java:157)
      • org.apache.isis.viewer.wicket.model.models.ActionModelImpl#executeActionAndReturnResult(ActionModelImpl.java:128)
      • org.apache.isis.viewer.wicket.ui.panels.FormExecutorDefault#lambda$executeAndProcessResults$6(FormExecutorDefault.java:134)
      • org.apache.isis.commons.functional.Either$Left#fold(Either.java:127)
      • org.apache.isis.viewer.wicket.ui.panels.FormExecutorDefault#executeAndProcessResults(FormExecutorDefault.java:133)
      • org.apache.isis.viewer.wicket.ui.panels.PromptFormAbstract#onOkSubmitted(PromptFormAbstract.java:121)
      • org.apache.isis.viewer.wicket.ui.util.Wkt$4#onSubmit(Wkt.java:241)
      • org.apache.wicket.ajax.markup.html.form.AjaxButton$1#onSubmit(AjaxButton.java:113)

      Attachments

        1. chandler-say-no.gif
          199 kB
          Daniel Keir Haywood

        Activity

          People

            hobrom Andi Huber
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: