Uploaded image for project: 'Tuigwaa'
  1. Tuigwaa
  2. TUIGWAA-74

検索フォームに飛び先を書かずに同じページに飛ぶと検索フォームが消えることがある

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0.1
    • Component/s: None
    • Labels:
      None

      Description

      Trunk(rev. 975)

      検索フォームに飛び先を書かずに同じページに飛ぶと検索フォームが表示されなくなることがあります。

      ・症状
        「リストから文字列複数選択」及び「自己関連データ」に対し
       「が入力値と一致する(選択式)」を含む検索を行った場合に発生する。
        他の検索(と異なる等)と混ざった場合でも同様です。
        「表示されない」だけでなくHTMLのソース上に存在しません。

      ・エラーログ
      java.lang.NoSuchMethodException: Unknown property 'tgw_attr_3'
      at org.apache.commons.beanutils.PropertyUtilsBean.getSimpleProperty(PropertyUtilsBean.java:1112)
      at org.apache.commons.beanutils.PropertyUtilsBean.getNestedProperty(PropertyUtilsBean.java:686)
      at org.apache.commons.beanutils.PropertyUtilsBean.getProperty(PropertyUtilsBean.java:715)
      at org.apache.commons.beanutils.PropertyUtils.getProperty(PropertyUtils.java:290)
      at org.seasar.tuigwaa.model.common.EntityUtils.getProperty(EntityUtils.java:451)
      at org.seasar.tuigwaa.model.common.EntityUtils.getProperty(EntityUtils.java:345)
      at org.seasar.tuigwaa.view.AttributeFormGenerateVisitor.visit(AttributeFormGenerateVisitor.java:339)
      at org.seasar.tuigwaa.model.core.impl.SetAttribute.accept(SetAttribute.java:100)
      at org.seasar.tuigwaa.view.SearchFormComponent.createElement(SearchFormComponent.java:282)
      at org.seasar.tuigwaa.view.SearchFormComponent.getFormElements(SearchFormComponent.java:123)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:111)
      at org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:302)
      at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:157)
      at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
      at org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:327)
      at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:131)
      at org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:114)
      at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
      at org.apache.velocity.Template.merge(Template.java:256)
      at org.seasar.tuigwaa.view.HtmlServiceImpl.toHtml(HtmlServiceImpl.java:87)
      at org.seasar.tuigwaa.plugin.database.SearchFormPlugin.doHTMLView(SearchFormPlugin.java:56)
      at org.seasar.tuigwaa.plugin.AbstractPlugin.service(AbstractPlugin.java:100)
      at org.seasar.tuigwaa.cms.core.wiki.base.HTMLWikiVisitor.visit(HTMLWikiVisitor.java:501)
      at org.seasar.tuigwaa.cms.core.wiki.engine.WikiBlockPlugin.jjtAccept(WikiBlockPlugin.java:19)
      at org.seasar.tuigwaa.cms.core.wiki.base.HTMLWikiVisitor.visit(HTMLWikiVisitor.java:122)
      at org.seasar.tuigwaa.cms.core.wiki.engine.WikiGenerateTree.jjtAccept(WikiGenerateTree.java:21)
      at org.seasar.tuigwaa.cms.core.wiki.WikiEngine.service(WikiEngine.java:43)
      at org.seasar.tuigwaa.cms.core.CmsContainer.service(CmsContainer.java:45)
      at org.seasar.tuigwaa.cms.ContentsServiceImpl.doConvert(ContentsServiceImpl.java:172)
      at org.seasar.tuigwaa.cms.ContentsServiceImpl.getPage(ContentsServiceImpl.java:136)
      at org.seasar.tuigwaa.cms.ContentsServiceImpl.getPageComponent(ContentsServiceImpl.java:74)
      at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$1cb0a16.getPageComponent$$invokeSuperMethod$$(ContentsServiceImpl$$EnhancedByS2AOP$$1cb0a16.java)
      at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$1cb0a16$$MethodInvocation$$getPageComponent0.proceed(MethodInvocationClassGenerator.java)
      at org.seasar.tuigwaa.logic.interceptor.PageViewInterceptorImpl.invoke(PageViewInterceptorImpl.java:42)
      at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$1cb0a16$$MethodInvocation$$getPageComponent0.proceed(MethodInvocationClassGenerator.java)
      at org.seasar.tuigwaa.cms.ContentsServiceImpl$$EnhancedByS2AOP$$1cb0a16.getPageComponent(ContentsServiceImpl$$EnhancedByS2AOP$$1cb0a16.java)
      at org.seasar.tuigwaa.controller.PageAction.doViewPage(PageAction.java:364)
      at org.seasar.tuigwaa.controller.PageAction.view(PageAction.java:102)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.java:270)
      at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:187)
      at org.apache.struts.actions.MappingDispatchAction.execute(MappingDispatchAction.java:169)
      at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
      at org.seasar.struts.processor.S2TilesRequestProcessor.processActionPerform(S2TilesRequestProcessor.java:122)
      at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:126)
      at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:61)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:67)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter.java:65)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
      at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:463)
      at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:398)
      at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
      at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
      at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)
      at org.seasar.struts.processor.S2TilesRequestProcessor.doForward(S2TilesRequestProcessor.java:248)
      at org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
      at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:318)
      at org.seasar.struts.processor.S2TilesRequestProcessor.processForwardConfig(S2TilesRequestProcessor.java:147)
      at org.seasar.struts.processor.AcceptorImpl.process(AcceptorImpl.java:139)
      at org.seasar.struts.processor.S2TilesRequestProcessor.process(S2TilesRequestProcessor.java:61)
      at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
      at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.seasar.tuigwaa.util.filter.TgwFilter.doFilter(TgwFilter.java:67)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.seasar.tuigwaa.util.filter.EncodingFilter.doFilter(EncodingFilter.java:65)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.seasar.tuigwaa.util.filter.ForwardFilter.doFilter(ForwardFilter.java:83)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.seasar.struts.filter.S2StrutsFilter.doFilter(S2StrutsFilter.java:45)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.seasar.framework.container.filter.S2ContainerFilter.doFilter(S2ContainerFilter.java:60)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
      at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
      at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
      at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
      at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
      at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
      at java.lang.Thread.run(Unknown Source)

        Attachments

          Activity

            People

            • Assignee:
              nishioka nishioka
              Reporter:
              nakai NakaiTakashi
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: