Uploaded image for project: '[Read Only] - Hippo Site Toolkit 2'
  1. [Read Only] - Hippo Site Toolkit 2
  2. HSTTWO-2277

After creating a new document type in testsuite the cms has errors

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • 2.25.05
    • None
    • None

    Description

      reproduction:

      1) Start up the testsuite trunk
      2) Go to configuration
      3) Copy the 'newsdocument' and name it 'testdocument'
      4) Commit the testdocument

      now go to the content below demosite. When you try to add a document you do not see 'testdocument' in the dropdown. When you try to add a new folder or add anything you get errors like:

      Hippo CMS Error report
      ========================================
      version : 2.23.05-SNAPSHOT build
      time : 2012.08.28-5.14pm
      user : admin
      server : localhost
      java : 1.6.0_29

      error :
      javax.jcr.nodetype.ConstraintViolationException: /hippo:namespaces/demosite/testdocument/hipposysedit:prototypes/hipposysedit:prototype[2]: mandatory property

      {http://www.onehippo.org/jcr/hippostdpubwf/nt/1.0}

      lastModifiedBy does not exist
      javax.jcr.nodetype.ConstraintViolationException: /hippo:namespaces/demosite/testdocument/hipposysedit:prototypes/hipposysedit:prototype[2]: mandatory property

      {http://www.onehippo.org/jcr/hippostdpubwf/nt/1.0}

      lastModifiedBy does not exist
      at org.apache.jackrabbit.core.ItemSaveOperation.validateTransientItems(ItemSaveOperation.java:537)
      at org.apache.jackrabbit.core.ItemSaveOperation.perform(ItemSaveOperation.java:216)
      at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
      at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
      at org.apache.jackrabbit.core.ItemImpl.save(ItemImpl.java:329)
      at org.apache.jackrabbit.core.session.SessionSaveOperation.perform(SessionSaveOperation.java:42)
      at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
      at org.apache.jackrabbit.core.SessionImpl.perform(SessionImpl.java:359)
      at org.apache.jackrabbit.core.SessionImpl.save(SessionImpl.java:762)
      at org.hippoecm.repository.decorating.SessionDecorator.save(SessionDecorator.java:202)
      at org.hippoecm.repository.impl.SessionDecorator.save(SessionDecorator.java:173)
      at org.hippoecm.addon.workflow.StdWorkflow.execute(StdWorkflow.java:175)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.execute(CompatibilityWorkflowPlugin.java:169)
      at org.hippoecm.addon.workflow.CompatibilityWorkflowPlugin$WorkflowAction$WorkflowDialog.onOk(CompatibilityWorkflowPlugin.java:150)
      at org.hippoecm.frontend.dialog.AbstractDialog.handleSubmit(AbstractDialog.java:486)
      at org.hippoecm.frontend.dialog.AbstractDialog$2.onSubmit(AbstractDialog.java:265)
      at org.hippoecm.frontend.dialog.ButtonWrapper$1.onSubmit(ButtonWrapper.java:77)
      at org.apache.wicket.ajax.markup.html.form.AjaxButton$1.onSubmit(AjaxButton.java:101)
      at org.apache.wicket.ajax.form.AjaxFormSubmitBehavior.onEvent(AjaxFormSubmitBehavior.java:156)
      at org.apache.wicket.ajax.AjaxEventBehavior.respond(AjaxEventBehavior.java:177)
      at org.apache.wicket.ajax.AbstractDefaultAjaxBehavior.onRequest(AbstractDefaultAjaxBehavior.java:302)
      at org.apache.wicket.request.target.component.listener.BehaviorRequestTarget.processEvents(BehaviorRequestTarget.java:157)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:92)
      at org.hippoecm.frontend.PluginRequestCycleProcessor.processEvents(PluginRequestCycleProcessor.java:36)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1252)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1331)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1438)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:546)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:486)
      at org.apache.wicket.protocol.http.WicketFilter.doFilter(WicketFilter.java:319)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.hippoecm.frontend.plugins.login.ConcurrentLoginFilter.doFilter(ConcurrentLoginFilter.java:54)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:589)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:291)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
      at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
      at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
      at java.lang.Thread.run(Thread.java:662)

      session :
      cafebabe-cafe-babe-cafe-babecafebabe rep:root mix:referenceable
      hippo:namespaces 74bebaa8-d277-4890-bff7-dd5ba8a0361f hipposysedit:namespacefolder hippo:harddocument
      demosite b6ea1ee3-fdb6-4294-a9a2-fdf6f0a26641 hipposysedit:namespace mix:referenceable
      testdocument 1c2040bc-0440-4290-8359-d036c63a880d hipposysedit:templatetype mix:referenceable, editor:editable
      hipposysedit:nodetype 6ee31fe6-b053-41cf-bd32-720137660c78 hippo:handle hippo:hardhandle

      • hipposysedit:nodetype c432f400-54e1-428d-bba8-c7fd350d1ebe hipposysedit:nodetype hipposysedit:remodel, hippo:harddocument
      • hipposysedit:prototypes hipposysedit:prototypeset
      • hipposysedit:prototype 3c940b9d-968e-4a32-83d6-5dd450d00c2c demosite:testdocument hippo:harddocument

      ========================================

      Attachments

        Issue Links

          Activity

            People

              svoortman Simon Voortman (Inactive)
              aschrijvers Ard Schrijvers
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: