Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redo of https://github.com/Islandora/islandora/pull/778 and https… #827

Closed
wants to merge 5 commits into from
Closed

Redo of https://github.com/Islandora/islandora/pull/778 and https… #827

wants to merge 5 commits into from

Conversation

mjordan
Copy link

@mjordan mjordan commented Mar 11, 2021

Github issues: Islandora/documentation#1549 and Islandora/documentation#1550.

What does this Pull Request do?

Accounts for the fact that @mjordan is an idiot. Specifically, this is a redo of the PRs #778 and #782, which I incorrectly opened against and were merged against the master branch.

What's new?

How should this be tested?

  1. Check out this branch. Within the islandora module directory:
    1. git remote add mjordan https://github.com/mjordan/islandora.git
    2. git fetch mjordan
    3. git checkout issue-1521-redo
  2. Clear your cache (drush cr)
  3. Visit Admin > Reports > Field and term RDF mappings (refresh if you don't see this new item)
  4. You should see the report listing fields and their RDF property mappings, and near the bottom, all taxonomies with terms that have external URIs / authority links. It's a long list.

Additional Notes:

  • Does this change the interface, add a new feature, or otherwise change behaviours that would require updating documentation? Yes, but only adds more information to an existing report.
  • Does this change add any new dependencies? No.
  • Does this change require any other modifications to be made to the repository (ie. Regeneration activity, etc.)? No.
  • Could this change impact execution of existing code? Yes.

Interested parties

@Islandora/7-x-1-x-committers

@mjordan mjordan changed the title Redo of and https://github.com/Islandora/islandora/pull/778 and https… Redo of https://github.com/Islandora/islandora/pull/778 and https… Mar 11, 2021
@elizoller
Copy link
Member

@mjordan your builds are ok now, right?

@mjordan
Copy link
Author

mjordan commented Mar 15, 2021

Yes, this one built fine.

(Edit: It built fine after I merged the 8.x-1.x branch back into my feature branch.)

else {
$markup .= '<h3>' . $attr['label'] . ' (' . $entity_type . ') - no RDF type mapping</h3>';
}
$fields = \Drupal::entityManager()->getFieldDefinitions($entity_type, $name);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

entityManager isn't a think in d9, i believe it'd be entity_field.manager. also it should probably use dependency injection since its in a controller

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks, I'll investigate.

@dannylamb
Copy link

Superseded by #835

@dannylamb dannylamb closed this Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants