Skip to content

PersistDirectlyContainedOutputFileService.fileset_for_directives always uses valkyrie#7537

Open
bbpennel wants to merge 2 commits into
mainfrom
pdf-derivatives-af
Open

PersistDirectlyContainedOutputFileService.fileset_for_directives always uses valkyrie#7537
bbpennel wants to merge 2 commits into
mainfrom
pdf-derivatives-af

Conversation

@bbpennel

Copy link
Copy Markdown
Contributor

Summary

Do not use valkyrie in fileset_for_directives when file URIs are supplied, otherwise it will return a valkyrie object and cause problems further down the derivative pipeline. The retrieve_file_set method for HTTP uris already specifies no valkyrie, and there was no existing file uri test to catch the issue

Guidance for testing, such as acceptance criteria or new user interface behaviors:

PDF derivatives should be able to generate for Fedora 4/ActiveFedora instances of hyrax.

Type of change (for release notes)

notes-bugfix

…lied, otherwise it will return a valkyrie object and cause problems further down the derivative pipeline. The retrieve_file_set method for HTTP uris already specifies no valkyrie, and there was no existing file uri test to catch the issue
@github-actions

github-actions Bot commented Jul 10, 2026

Copy link
Copy Markdown

Test Results

    17 files  ±0      17 suites  ±0   3h 22m 17s ⏱️ - 7m 59s
 7 954 tests +1   7 647 ✅ +1  307 💤 ±0  0 ❌ ±0 
27 175 runs  +1  26 576 ✅ +1  599 💤 ±0  0 ❌ ±0 

Results for commit c17d13a. ± Comparison against base commit bff6ede.

This pull request removes 449 and adds 450 tests. Note that renamed tests count towards both.
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplate:0x00007f1fffabe250>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplate:0x00007f491b9bb688>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplate:0x00007f61a7dde108>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplate:0x00007fa0a5456b98>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplateAccess:0x00007f200213d5c0>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplateAccess:0x00007f491b9cd220>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplateAccess:0x00007f61a7dd3988>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplateAccess:0x00007fa0aa61e250>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to destroy AdminSet: dc75bd53-53c4-4e78-8461-77e0b33bdf79
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to destroy Hyrax::AdministrativeSet: 29f5410e-7dba-458b-94a2-43c309ecb616
…
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplate:0x00007f5b7c0f4388>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplate:0x00007fa7564c1698>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplate:0x00007fc520ab1408>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplate:0x00007fc71626ed98>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplateAccess:0x00007f5b7c126680>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplateAccess:0x00007fa7564fc810>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplateAccess:0x00007fc5237ae618>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to create #<Hyrax::PermissionTemplateAccess:0x00007fc71628f020>
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to destroy AdminSet: bd71d696-86c4-42d0-9204-af32851626e9
spec.abilities.ability_spec ‑ Hyrax::Ability AdminSets and PermissionTemplates a user without edit access is expected not to be able to destroy Hyrax::AdministrativeSet: 9ba1673f-b407-4f4a-aab2-d543d7b0af75
…

♻️ This comment has been updated with latest results.

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.

1 participant