View | Details | Raw Unified | Return to bug 36027
Collapse All | Expand All

(-)a/misc/maintenance/search_for_data_inconsistencies.pl (-10 / +9 lines)
Lines 735-742 sub new_hint { Link Here
735
    * Items without a home or holding library
735
    * Items without a home or holding library
736
    * Authority records with an invalid authority type
736
    * Authority records with an invalid authority type
737
    * Records and items without an item type, or an invalid item type:
737
    * Records and items without an item type, or an invalid item type:
738
      - if item types are defined at an item level 
738
      - if item types are defined at an item level
739
        (item-level_itypes=specific item), then items.itype must 
739
        (item-level_itypes=specific item), then items.itype must
740
        be set else biblioitems.itemtype must be set
740
        be set else biblioitems.itemtype must be set
741
      - Item types defined in items or biblioitems must be defined
741
      - Item types defined in items or biblioitems must be defined
742
        in the item types table
742
        in the item types table
Lines 746-777 sub new_hint { Link Here
746
    * Patrons with an invalid patron category type because of lower
746
    * Patrons with an invalid patron category type because of lower
747
      and upper age limits
747
      and upper age limits
748
    * Relationships that form guarantor loops
748
    * Relationships that form guarantor loops
749
    * Any date fields in the database (timestamp, datetime, date) 
749
    * Any date fields in the database (timestamp, datetime, date)
750
      set to 0000-00-00
750
      set to 0000-00-00
751
751
752
=head2 OPTIONS
752
=head2 OPTIONS
753
753
754
  --check-branch     Check for items without a home or holding library
754
  --check-branch     Check for items without a home or holding library
755
  --check-auth       Check for authority records with an invalid authority type
755
  --check-auth       Check for authority records with an invalid authority type
756
  --check-status     Check for bibliographic records and items without 
756
  --check-status     Check for bibliographic records and items without
757
                     an item type or with an invalid item type
757
                     an item type or with an invalid item type
758
  --check-framework  Check for invalid values in fields where the framework 
758
  --check-framework  Check for invalid values in fields where the framework
759
                     limits the values to an authorized value category
759
                     limits the values to an authorized value category
760
  --check-title      Check for bibliographic records without a title
760
  --check-title      Check for bibliographic records without a title
761
  --check-age        Check for patrons with an invalid age for the patron
761
  --check-age        Check for patrons with an invalid age for the patron
762
                     category
762
                     category
763
  --check-loop       Check for relationships that form guarantor loops
763
  --check-loop       Check for relationships that form guarantor loops
764
  --check-all        Run all checks without specifying any other option
764
  --check-all        Run all checks without specifying any other option
765
  --skip-branch      Skip checking for items without a home or holding 
765
  --skip-branch      Skip checking for items without a home or holding
766
                     library
766
                     library
767
  --skip-auth        Skip checking for authority records with an invalid
767
  --skip-auth        Skip checking for authority records with an invalid
768
                     authority type
768
                     authority type
769
  --skip-status      Skip checking for bibliographic records and items without 
769
  --skip-status      Skip checking for bibliographic records and items without
770
                     an item type or with an invalid item type
770
                     an item type or with an invalid item type
771
  --skip-framework   Skip checking for invalid values in fields where the 
771
  --skip-framework   Skip checking for invalid values in fields where the
772
                     framework limits the values to an authorized value category
772
                     framework limits the values to an authorized value category
773
  --skip-title       Skip checking for bibliographic records without a title
773
  --skip-title       Skip checking for bibliographic records without a title
774
  --skip-age         Skip checking for patrons with an invalid age for the 
774
  --skip-age         Skip checking for patrons with an invalid age for the
775
                     patron category
775
                     patron category
776
  --skip-loop        Skip checking for relationships that form guarantor loops
776
  --skip-loop        Skip checking for relationships that form guarantor loops
777
  --help             Print usage information
777
  --help             Print usage information
778
- 

Return to bug 36027