<commit_before><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2005-2014 The Kuali Foundation

    Licensed under the Educational Community License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.opensource.org/licenses/ecl2.php

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:p="http://www.springframework.org/schema/p"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">


  <bean id="AgendaBo" parent="AgendaBo-parentBean"/>
  <bean id="AgendaBo-parentBean" abstract="true" parent="DataObjectEntry">
    <property name="dataObjectClass" value="org.kuali.rice.krms.impl.repository.AgendaBo"/>
    <property name="titleAttribute" value="id"/>
    <property name="attributes">
      <list>
        <ref bean="AgendaBo-id"/>
        <ref bean="AgendaBo-name"/>
        <ref bean="AgendaBo-typeId"/>
        <ref bean="AgendaBo-contextId"/>
        <ref bean="AgendaBo-active"/>
      </list>
    </property>
    <property name="objectLabel" value="Agenda Definition"/>
  </bean>

<!-- Attribute Definitions -->


  <bean id="AgendaBo-id" parent="AgendaBo-id-parentBean"/>
  <bean id="AgendaBo-id-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="false"/>
    <property name="shortLabel" value="Id"/>
    <property name="controlField">
      <bean parent="Uif-TextControl" p:size="40" p:watermarkText="Search by Agenda Id" p:maxLength="40"/>
    </property>
    <property name="name" value="id"/>
    <property name="label" value="Agenda Id"/>
  </bean>  
  
  <bean id="AgendaBo-name" parent="AgendaBo-name-parentBean"/>
  <bean id="AgendaBo-name-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="false"/>
    <property name="shortLabel" value="Name"/>
    <property name="controlField">
      <bean parent="Uif-TextControl" p:size="40" p:watermarkText="Search by Agenda Name" p:maxLength="100"/>
    </property>
    <property name="name" value="name"/>
    <property name="label" value="Agenda Name"/>
  </bean>  
  
  <bean id="AgendaBo-typeId" parent="AgendaBo-typeId-parentBean"/>
  <bean id="AgendaBo-typeId-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="false"/>
    <property name="shortLabel" value="typeId"/>
    <property name="controlField">
      <bean parent="Uif-TextControl" p:size="40" p:watermarkText="Search by Agenda typeId" p:maxLength="40"/>
    </property>
    <property name="name" value="typeId"/>
    <property name="label" value="Agenda typeId"/>
  </bean>
  
  <bean id="AgendaBo-contextId" parent="AgendaBo-contextId-parentBean"/>
  <bean id="AgendaBo-contextId-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="false"/>
    <property name="shortLabel" value="contextId"/>
    <property name="controlField">
      <bean parent="Uif-TextControl" p:size="40" p:watermarkText="Search by Context Id" p:maxLength="40"/>
    </property>
    <property name="name" value="contextId"/>
    <property name="label" value="Agenda contextId"/>
  </bean>
    
  <bean id="AgendaBo-active" parent="AgendaBo-active-parentBean"/>
  <bean id="AgendaBo-active-parentBean" abstract="true" parent="AttributeReferenceDummy-activeIndicator"  p:label="Active?">
    <property name="name" value="active"/>
  </bean>

  <bean id="AgendaBo-LookupView" parent="Uif-LookupView">
    <property name="headerText" value="Agenda Lookup" />
    <property name="dataObjectClassName" value="org.kuali.rice.krms.impl.repository.AgendaBo" />
    <property name="viewHelperServiceClass" value="org.kuali.rice.krms.impl.repository.AgendaLookupableHelperServiceImpl" />
    <property name="criteriaFields">
      <list>
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="id" />
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="name" />
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="typeId" />
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="contextId" />
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="active" p:defaultValue="Y"/>
      </list>
    </property>
    <property name="resultFields">
      <list>
        <bean parent="Uif-DataField" p:propertyName="id" />
        <bean parent="Uif-DataField" p:propertyName="name" />
        <bean parent="Uif-DataField" p:propertyName="typeId" />
        <bean parent="Uif-DataField" p:propertyName="contextId"/>
      </list>
    </property>
  </bean>

  <bean id="AgendaBo-InquiryView" parent="Uif-InquiryView">
  <property name="headerText" value="Agenda Inquiry"/>
    <property name="dataObjectClassName" value="org.kuali.rice.krms.impl.repository.AgendaBo"/>
    <property name="viewHelperServiceClass" value="org.kuali.rice.krms.impl.repository.AgendaInquiryHelperServiceImpl" />
    <property name="additionalScriptFiles">
      <list merge="true">
        <value>krms/scripts/ruleTree.js</value>
        <value>krms/scripts/agendaTree.js</value>
        <value>krms/scripts/requiredAlerts.js</value>
        <value>krms/scripts/disableButtons.js</value>
      </list>
    </property>
    <property name="additionalCssFiles">
      <list merge="true">
        <value>krms/css/agendaTree.css</value>
        <value>krms/css/disableButtons.css</value>
      </list>
    </property>
    <property name="formPostUrl" value="krmsAgendaInquiry" />
    <property name="items">
      <list>
        <bean id="AgendaEditorView-Agenda-Page" parent="AgendaEditorView-Agenda-Page-Parent"/>
        <bean id="AgendaEditorView-ViewRule-Page" parent="AgendaEditorView-ViewRule-Page-Parent"/>
      </list>
    </property>
    <property name="singlePageView" value="false"/>
    <property name="entryPageId" value="AgendaEditorView-Agenda-Page"/>
    <property name="propertyReplacers">
      <list>
        <bean parent="Uif-ConditionalBeanPropertyReplacer" p:propertyName="items[0].items" p:condition="dataObject eq null">
          <property name="replacement">
            <list>
              <bean parent="Uif-MessageField" p:messageText="No records found for the given parameters."/>
            </list>
          </property>
        </bean>
      </list>
    </property>
  </bean>

</beans><commit_msg>KULRICE-13133 Agenda inquiry produces incident report caused by a SpelEvaluationException<commit_after><?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright 2005-2014 The Kuali Foundation

    Licensed under the Educational Community License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.opensource.org/licenses/ecl2.php

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.

-->
<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:p="http://www.springframework.org/schema/p"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
                           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">


  <bean id="AgendaBo" parent="AgendaBo-parentBean"/>
  <bean id="AgendaBo-parentBean" abstract="true" parent="DataObjectEntry">
    <property name="dataObjectClass" value="org.kuali.rice.krms.impl.repository.AgendaBo"/>
    <property name="titleAttribute" value="id"/>
    <property name="attributes">
      <list>
        <ref bean="AgendaBo-id"/>
        <ref bean="AgendaBo-name"/>
        <ref bean="AgendaBo-typeId"/>
        <ref bean="AgendaBo-contextId"/>
        <ref bean="AgendaBo-active"/>
      </list>
    </property>
    <property name="objectLabel" value="Agenda Definition"/>
  </bean>

<!-- Attribute Definitions -->


  <bean id="AgendaBo-id" parent="AgendaBo-id-parentBean"/>
  <bean id="AgendaBo-id-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="false"/>
    <property name="shortLabel" value="Id"/>
    <property name="controlField">
      <bean parent="Uif-TextControl" p:size="40" p:watermarkText="Search by Agenda Id" p:maxLength="40"/>
    </property>
    <property name="name" value="id"/>
    <property name="label" value="Agenda Id"/>
  </bean>  
  
  <bean id="AgendaBo-name" parent="AgendaBo-name-parentBean"/>
  <bean id="AgendaBo-name-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="false"/>
    <property name="shortLabel" value="Name"/>
    <property name="controlField">
      <bean parent="Uif-TextControl" p:size="40" p:watermarkText="Search by Agenda Name" p:maxLength="100"/>
    </property>
    <property name="name" value="name"/>
    <property name="label" value="Agenda Name"/>
  </bean>  
  
  <bean id="AgendaBo-typeId" parent="AgendaBo-typeId-parentBean"/>
  <bean id="AgendaBo-typeId-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="false"/>
    <property name="shortLabel" value="typeId"/>
    <property name="controlField">
      <bean parent="Uif-TextControl" p:size="40" p:watermarkText="Search by Agenda typeId" p:maxLength="40"/>
    </property>
    <property name="name" value="typeId"/>
    <property name="label" value="Agenda typeId"/>
  </bean>
  
  <bean id="AgendaBo-contextId" parent="AgendaBo-contextId-parentBean"/>
  <bean id="AgendaBo-contextId-parentBean" abstract="true" parent="AttributeDefinition">
    <property name="forceUppercase" value="false"/>
    <property name="shortLabel" value="contextId"/>
    <property name="controlField">
      <bean parent="Uif-TextControl" p:size="40" p:watermarkText="Search by Context Id" p:maxLength="40"/>
    </property>
    <property name="name" value="contextId"/>
    <property name="label" value="Agenda contextId"/>
  </bean>
    
  <bean id="AgendaBo-active" parent="AgendaBo-active-parentBean"/>
  <bean id="AgendaBo-active-parentBean" abstract="true" parent="AttributeReferenceDummy-activeIndicator"  p:label="Active?">
    <property name="name" value="active"/>
  </bean>

  <bean id="AgendaBo-LookupView" parent="Uif-LookupView">
    <property name="headerText" value="Agenda Lookup" />
    <property name="dataObjectClassName" value="org.kuali.rice.krms.impl.repository.AgendaBo" />
    <property name="viewHelperServiceClass" value="org.kuali.rice.krms.impl.repository.AgendaLookupableHelperServiceImpl" />
    <property name="criteriaFields">
      <list>
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="id" />
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="name" />
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="typeId" />
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="contextId" />
        <bean parent="Uif-LookupCriteriaInputField" p:propertyName="active" p:defaultValue="Y"/>
      </list>
    </property>
    <property name="resultFields">
      <list>
        <bean parent="Uif-DataField" p:propertyName="id" />
        <bean parent="Uif-DataField" p:propertyName="name" />
        <bean parent="Uif-DataField" p:propertyName="typeId" />
        <bean parent="Uif-DataField" p:propertyName="contextId"/>
      </list>
    </property>
  </bean>

  <bean id="AgendaBo-InquiryView" parent="Uif-InquiryView">
  <property name="headerText" value="Agenda Inquiry"/>
    <property name="dataObjectClassName" value="org.kuali.rice.krms.impl.repository.AgendaBo"/>
    <property name="viewHelperServiceClass" value="org.kuali.rice.krms.impl.repository.AgendaInquiryHelperServiceImpl" />
    <property name="additionalScriptFiles">
      <list merge="true">
        <value>krms/scripts/ruleTree.js</value>
        <value>krms/scripts/agendaTree.js</value>
        <value>krms/scripts/requiredAlerts.js</value>
        <value>krms/scripts/disableButtons.js</value>
      </list>
    </property>
    <property name="additionalCssFiles">
      <list merge="true">
        <value>krms/css/agendaTree.css</value>
        <value>krms/css/disableButtons.css</value>
      </list>
    </property>
    <property name="formPostUrl" value="krmsAgendaInquiry" />
    <property name="items">
      <list>
        <bean id="AgendaInquiryView-Agenda-Page" parent="AgendaInquiryView-Agenda-Page-Parent"/>
        <bean id="AgendaEditorView-ViewRule-Page" parent="AgendaEditorView-ViewRule-Page-Parent"/>
      </list>
    </property>
    <property name="singlePageView" value="false"/>
    <property name="entryPageId" value="AgendaInquiryView-Agenda-Page"/>
    <property name="propertyReplacers">
      <list>
        <bean parent="Uif-ConditionalBeanPropertyReplacer" p:propertyName="items[0].items" p:condition="dataObject eq null">
          <property name="replacement">
            <list>
              <bean parent="Uif-MessageField" p:messageText="No records found for the given parameters."/>
            </list>
          </property>
        </bean>
      </list>
    </property>
  </bean>

  <bean id="AgendaInquiryView-Agenda-Page-Parent" parent="Uif-Disclosure-Page">
    <property name="items">
      <list>
        <bean parent="AgendaEditorView-AgendaSection" />
      </list>
    </property>
    <property name="footer">
      <bean parent="Uif-FooterBase"/>
    </property>
  </bean>

</beans>
{'fraction_non_alphanumeric': 0.15442162467358317, 'fraction_numerical': 0.005857858705624956, 'mean_word_length': 3.899723374827109, 'pattern_counts': {'":': 0, '<': 275, '<?xml version=': 2, '>': 275, 'https://': 0, 'lorem ipsum': 0, 'www.': 12, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '264208', 'n_tokens_mistral': 4367, 'n_tokens_neox': 4316, 'n_words': 822}