Uploaded image for project: 'Islandora'
  1. Islandora
  2. ISLANDORA-1887

uasort order different between PHP5 and PHP7

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 7.x-1.8
    • Fix Version/s: None
    • Labels:
      None

      Description

      On the larger issue of supporting PHP 7 in Islandora I believe the main issue will be dealing with the issues with uasort that are being discussed here:
      https://www.drupal.org/node/2756297

      Here are the instances of uasort in the Islandora core modules:
      ./islandora/includes/derivatives.inc:309: uasort($derivatives, 'drupal_sort_weight');
      ./islandora/includes/ingest.form.inc:920: uasort($steps, 'drupal_sort_weight');
      ./islandora_paged_content/includes/utilities.inc:45: uasort($pages, $sort);
      ./islandora_solr_metadata/includes/config.inc:430: uasort($data, 'drupal_sort_weight');
      ./islandora_solr_metadata/theme/theme.inc:320: uasort($solr_fields, 'drupal_sort_weight');
      ./islandora_solr_search/includes/blocks.inc:142: uasort($expore_config, 'drupal_sort_weight');
      ./islandora_solr_search/includes/blocks.inc:224: uasort($expore_config, 'drupal_sort_weight');
      ./islandora_solution_pack_compound/includes/backends.inc:47: uasort($results, $sort);
      ./islandora_solution_pack_compound/includes/manage.form.inc:305: uasort($compounds, 'drupal_sort_weight');

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jonathan.green Jonathan Green
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: