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

🎁 [i84] - Integrate Hyrax dynamic metadata feature into Hyku #2258

Draft
wants to merge 37 commits into
base: main
Choose a base branch
from

💄 rubocop fixes

53c040c
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Draft

🎁 [i84] - Integrate Hyrax dynamic metadata feature into Hyku #2258

💄 rubocop fixes
53c040c
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results failed Aug 23, 2024 in 0s

139 fail, 50 skipped, 1 843 pass in 19m 51s

    3 files  +    3      3 suites  +3   19m 51s ⏱️ + 19m 51s
2 032 tests +2 032  1 843 ✅ +1 843  50 💤 +50  139 ❌ +139 
2 059 runs  +2 059  1 868 ✅ +1 868  52 💤 +52  139 ❌ +139 

Results for commit 53c040c. ± Comparison against earlier commit 0d244ec.

Annotations

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when collection viewer allows viewing only ability and denise the others (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 3s]
Raw output
Flexible schema not found in version 1 for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version 1 for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:282:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when user has no special access denies all abilities (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
Flexible schema not found in version  for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:300:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when collection depositor allows deposit related abilities and denies non-deposit related abilities (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 2s]
Raw output
Flexible schema not found in version 3 for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version 3 for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:251:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when manager of a collection allows most abilities but denies general Collection management (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 2s]
Raw output
Flexible schema not found in version 4 for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version 4 for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:217:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when a user has a Collection Editor role through its group memberships allows most abilities but not destroy nor manage_discovery (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
Flexible schema not found in version  for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:136:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when a user has a Collection Editor role through its User roles allows most abilities but denies ability to destroy and manage discovery (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
Flexible schema not found in version  for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:109:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when admin user allows all abilities (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
Flexible schema not found in version  for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:34:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when a user has a Collection Reader role through its group memberships allows read abilities but denies others (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
Flexible schema not found in version  for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:185:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when a user has a Collection Reader role through its User roles allows read abilities but denies others (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
Flexible schema not found in version  for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:157:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when a user is a Collection Manager through its group memberships allows all abilities (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
Flexible schema not found in version  for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:87:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/abilities/collection_ability_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Hyrax::Ability::CollectionAbility when a user is a Collection Manager through its User roles allows all abilities (spec.abilities.collection_ability_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
Flexible schema not found in version  for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for Collection
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/goddess/query.rb:141:in `block in find_single'
./spec/abilities/collection_ability_spec.rb:17:in `block (2 levels) in <top (required)>'
./spec/abilities/collection_ability_spec.rb:58:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #internal_resource is set to the resource's class on instantiation (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe5967ac5a0>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe5967ac5a0>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:51:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource .new can set values with symbols (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe57eac82b0>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe57eac82b0>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:126:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #attributes returns all defined attributs, including nil keys (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe57e544758>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe57e544758>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:144:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #id is nil when not set (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe5967369b8>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe5967369b8>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:17:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #id can be set via instantiation and casts to a Valkyrie::ID (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe596062f88>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe596062f88>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:12:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #id #has_attribute? returns true when it has a given attribute (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe57eacc590>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe57eacc590>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:29:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #id #attributes returns a list of all set attributes (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe596c465e8>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe596c465e8>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:43:in `block (4 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #__attributes__ returns all defined attributes, but doesn't add nil keys (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe57eb5e580>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe57eb5e580>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:162:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #[] returns nil for non-existent properties (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe596d2f6f8>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe596d2f6f8>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:86:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #[] can be accessed via a string (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe57ece43a0>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe57ece43a0>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:92:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #[] allows access to properties which are set (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe57e764060>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe57e764060>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:77:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/admin_set_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

AdminSetResource behaves like a Hyrax::AdministrativeSet behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #set_value can set a value (spec.models.admin_set_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe57e54e938>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe57e54e938>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:190
Shared Example Group: "a Hyrax::AdministrativeSet" called from ./spec/models/admin_set_resource_spec.rb:8
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:111:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/oer_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

OerResource behaves like a Hyrax::Work behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #set_value can set a value (spec.models.oer_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe57e2a7c70>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe57e2a7c70>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:237
Shared Example Group: "a Hyrax::Work" called from ./spec/models/oer_resource_spec.rb:11
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:111:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/models/oer_resource_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

OerResource behaves like a Hyrax::Work behaves like a Hyrax::Resource behaves like a Valkyrie::Resource #id is nil when not set (spec.models.oer_resource_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 0s]
Raw output
Flexible schema not found in version  for #<Class:0x00007fe57e9be608>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007fe57e9be608>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/specs/shared_specs/hydra_works.rb:237
Shared Example Group: "a Hyrax::Work" called from ./spec/models/oer_resource_spec.rb:11
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:33:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/lib/hyrax/schema.rb:82:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:73:in `load'
/usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/models/concerns/hyrax/flexibility.rb:62:in `new'
/usr/local/bundle/gems/valkyrie-3.3.0/lib/valkyrie/specs/shared_specs/resource.rb:17:in `block (3 levels) in <top (required)>'
./spec/support/multitenancy_metadata.rb:50:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/webmock-3.19.1/lib/webmock/rspec.rb:39:in `block (2 levels) in <top (required)>'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:124:in `block in run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `loop'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:110:in `run'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec_ext/rspec_ext.rb:12:in `run_with_retry'
/usr/local/bundle/gems/rspec-retry-0.6.2/lib/rspec/retry.rb:37:in `block (2 levels) in setup'
------------------
--- Caused by: ---
NoMethodError:
  undefined method `map' for nil:NilClass
  /usr/local/bundle/bundler/gems/hyrax-bc14e4d7732c/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'