Skip to content
Snippets Groups Projects
Commit b766e949 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- workaround, because Rosetta uses the result of getExtractionErrors() as...

- workaround, because Rosetta uses the result of getExtractionErrors() as indicator if validation fails or not,
  we cannot use this way to provide partial error information
- changed plugin-defaults
parent 8f75ccab
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<mandatory>true</mandatory> <mandatory>true</mandatory>
<x_logic_type>String</x_logic_type> <x_logic_type>String</x_logic_type>
<x_ui_type>TextField</x_ui_type> <x_ui_type>TextField</x_ui_type>
<default_value>/usr/bin/checkit_tiff</default_value> <default_value>/operational_shared/software/checkit_tiff_stable</default_value>
<css_class>width40</css_class> <css_class>width40</css_class>
<x_options></x_options> <x_options></x_options>
</x_field> </x_field>
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<label>Path to current config file used for checkit_tiff</label> <label>Path to current config file used for checkit_tiff</label>
<ui_tool_tip>add full path to configfile for checkit_tiff</ui_tool_tip> <ui_tool_tip>add full path to configfile for checkit_tiff</ui_tool_tip>
<mandatory>true</mandatory> <mandatory>true</mandatory>
<default_value>/etc/checkit_tiff/slub.cfg</default_value> <default_value>/operational_shared/software/cit_tiff6_baseline_SLUB_stable.cfg</default_value>
<x_logic_type>String</x_logic_type> <x_logic_type>String</x_logic_type>
<x_ui_type>TextField</x_ui_type> <x_ui_type>TextField</x_ui_type>
<css_class>width40</css_class> <css_class>width40</css_class>
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<mandatory>true</mandatory> <mandatory>true</mandatory>
<x_logic_type>String</x_logic_type> <x_logic_type>String</x_logic_type>
<x_ui_type>TextField</x_ui_type> <x_ui_type>TextField</x_ui_type>
<default_value>/usr/bin/checkit_tiff</default_value> <default_value>/operational_shared/software/checkit_tiff_unstable</default_value>
<css_class>width40</css_class> <css_class>width40</css_class>
<x_options></x_options> <x_options></x_options>
</x_field> </x_field>
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
<label>Path to config file used for checkit_tiff</label> <label>Path to config file used for checkit_tiff</label>
<ui_tool_tip>add full path to configfile for checkit_tiff</ui_tool_tip> <ui_tool_tip>add full path to configfile for checkit_tiff</ui_tool_tip>
<mandatory>true</mandatory> <mandatory>true</mandatory>
<default_value>/etc/checkit_tiff/slub.cfg</default_value> <default_value>/operational_shared/software/cit_tiff6_baseline_SLUB_unstable.cfg</default_value>
<x_logic_type>String</x_logic_type> <x_logic_type>String</x_logic_type>
<x_ui_type>TextField</x_ui_type> <x_ui_type>TextField</x_ui_type>
<css_class>width40</css_class> <css_class>width40</css_class>
...@@ -61,7 +61,7 @@ ...@@ -61,7 +61,7 @@
<mandatory>true</mandatory> <mandatory>true</mandatory>
<x_logic_type>String</x_logic_type> <x_logic_type>String</x_logic_type>
<x_ui_type>TextField</x_ui_type> <x_ui_type>TextField</x_ui_type>
<default_value>/usr/bin/exiftool</default_value> <default_value>/usr/local/bin/exiftool</default_value>
<css_class>width40</css_class> <css_class>width40</css_class>
<x_options></x_options> <x_options></x_options>
</x_field> </x_field>
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
</fr:x_form> </fr:x_form>
</pl:initParameters> </pl:initParameters>
<pl:description>SLUB Technical Metadata Extractor Plugin, using check_it_tiff to validate tiff-files</pl:description> <pl:description>SLUB Technical Metadata Extractor Plugin, using check_it_tiff to validate tiff-files</pl:description>
<pl:version>1.94</pl:version> <pl:version>1.95</pl:version>
<pl:materialType>DIGITAL</pl:materialType> <pl:materialType>DIGITAL</pl:materialType>
<pl:module>Preservation</pl:module> <pl:module>Preservation</pl:module>
<pl:generalType>TASK</pl:generalType> <pl:generalType>TASK</pl:generalType>
......
...@@ -179,7 +179,7 @@ public class SLUBTechnicalMetadataExtractorCheckItTiffPlugin implements MDExtrac ...@@ -179,7 +179,7 @@ public class SLUBTechnicalMetadataExtractorCheckItTiffPlugin implements MDExtrac
} else if (true == is_current_checkit_tiff_valid) { } else if (true == is_current_checkit_tiff_valid) {
isvalid = true; isvalid = true;
iswellformed=true; iswellformed=true;
extractionErrors = validationLog; extractionErrors.clear();
} else { } else {
isvalid = false; isvalid = false;
iswellformed = false; iswellformed = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment