wiki:Support/Issues

Version 3 (modified by smith@…, 9 years ago) (diff)

--

V1.0.0 MUA Batch Import Issues

In v1.0.0 of the MUA, there is a minor issue that will affect you if you intend to use the batch import process for old log files. If so, carry on reading...

A fix to this issue will be included and applied automatically in the next update of the software. In the meantime, to fix this issue simply requires changing two values in a configuration file. The configuration file in question's default location is:

  • Linux
    • /opt/raptor/mua/conf/batch-event-parse-formats-system.xml
  • Windows
    • C:\Program Files\Raptor\MUA\conf\event-parse-formats-system.xml

Essentially, the fix involves changing:

  1. the single occurrence of the value releasedAttributes to attributes
  2. the single occurrence of the value assertionId to assertions.

In more detail, you want to change the following bean:

<bean class="uk.ac.cardiff.raptor.parse.external.file.format.Header">
                <property name="fieldName">
                        <value>releasedAttributes</value>
                </property>
                <property name="fieldNo">
                        <value>10</value>
                </property>
                <property name="fieldType">
                        <value>STRINGLIST</value>
                </property>
                <property name="listDelimeter">
                        <value>,</value>
                </property>
</bean>

to the following:

<bean class="uk.ac.cardiff.raptor.parse.external.file.format.Header">
		<property name="fieldName">
			<value>attributes</value>
		</property>
		<property name="fieldNo">
			<value>10</value>
		</property>
		<property name="fieldType">
			<value>STRINGLIST</value>
		</property>
		<property name="listDelimeter">
			<value>,</value>
		</property>
</bean>

And the bean:

 <bean class="uk.ac.cardiff.raptor.parse.external.file.format.Header">
		<property name="fieldName">
			<value>assertionId</value>
		</property>
		<property name="fieldNo">
			<value>12</value>
		</property>
		<property name="fieldType">
			<value>STRINGLIST</value>
		</property>
		<property name="listDelimeter">
			<value>,</value>
		</property>
</bean>

Should be changed to:

 <bean class="uk.ac.cardiff.raptor.parse.external.file.format.Header">
		<property name="fieldName">
			<value>assertions</value>
		</property>
		<property name="fieldNo">
			<value>12</value>
		</property>
		<property name="fieldType">
			<value>STRINGLIST</value>
		</property>
		<property name="listDelimeter">
			<value>,</value>
		</property>
</bean>