Skip to content

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

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

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

GitHub Actions / Test Results failed Jan 17, 2025 in 0s

136 fail, 56 skipped, 1 863 pass in 19m 23s

    3 files  +    3      3 suites  +3   19m 23s ⏱️ + 19m 23s
2 055 tests +2 055  1 863 ✅ +1 863  56 💤 +56  136 ❌ +136 
2 082 runs  +2 082  1 888 ✅ +1 888  58 💤 +58  136 ❌ +136 

Results for commit 31a8c20. ± Comparison against earlier commit 329c9d6.

Annotations

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 #internal_resource is set to the resource's class on instantiation (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:0x00007f3d7de47bd8>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d7de47bd8>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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:0x00007f3d71669260>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d71669260>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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 can be set via instantiation and casts to a Valkyrie::ID (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:0x00007f3d6d27de98>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d6d27de98>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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 #attributes returns a list of all set attributes (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:0x00007f3d7152b6a0>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d7152b6a0>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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 #has_attribute? returns true when it has a given attribute (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:0x00007f3d6ce044c0>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d6ce044c0>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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 .new can set values with symbols (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:0x00007f3d6d3480d0>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d6d3480d0>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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 #attributes returns all defined attributs, including nil keys (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:0x00007f3d7ba53038>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d7ba53038>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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 #[] returns nil for non-existent properties (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:0x00007f3d7163a1e0>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d7163a1e0>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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 #[] can be accessed via a string (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:0x00007f3d6cc42088>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d6cc42088>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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 #[] allows access to properties which are 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:0x00007f3d6da71410>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d6da71410>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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:0x00007f3d6d252c70>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d6d252c70>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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 #__attributes__ returns all defined attributes, but doesn't add nil keys (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:0x00007f3d6d358fc0>
Failure/Error: example.run

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version  for #<Class:0x00007f3d6d358fc0>
Shared Example Group: "a Valkyrie::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/hydra_works.rb:8
Shared Example Group: "a Hyrax::Resource" called from /usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/gems/valkyrie-3.5.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-260376bba8c1/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 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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/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 2 for Collection
Failure/Error: let(:valkyrie_found) { Hyrax.query_service.find_by(id: collection.id) }

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version 2 for Collection
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/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 viewer allows viewing only ability and denise the others (spec.abilities.collection_ability_spec) failed

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

Hyrax::SchemaLoader::UndefinedSchemaError:
  Flexible schema not found in version 11 for Collection
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:41:in `rescue in definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:24:in `definitions'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/schema_loader.rb:19:in `attributes_for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/schema.rb:83:in `attributes'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:75:in `load'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/models/concerns/hyrax/flexibility.rb:63:in `new'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:58:in `build'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/model_transformer.rb:40:in `for'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrizable.rb:21:in `valkyrie_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/resource_factory.rb:32:in `to_resource'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:113:in `find_by_alternate_identifier'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/wings/valkyrie/query_service.rb:47:in `find_by'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:79:in `block in query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `each'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/goddess/query.rb:77:in `query_strategy_for_find_single'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/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-260376bba8c1/app/services/hyrax/m3_schema_loader.rb:26:in `definitions'

Check warning on line 0 in ./spec/requests/work_approval_permissions_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Work approval permissions when signed in as a work depositor cannot approve a work (spec.requests.work_approval_permissions_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
value! was called on Failure([:no_date_modified_attribute, #<#<Class:0x00007f3d62fda1f0>:0x00007f3d4ef65d78 @fields={"schema_version"=>12, "contexts"=>[], "alternate_ids"=>[], "embargo_id"=>nil, "lease_id"=>nil, "admin_set_id"=>#<Valkyrie::ID:0x00007f3d6cdc60a8 @id="d2f4ec17-ecaa-46d2-87a3-68df0195ee4e">, "member_ids"=>[], "member_of_collection_ids"=>[], "on_behalf_of"=>nil, "proxy_depositor"=>nil, "state"=>#<RDF::Vocabulary::Term:0x71660 ID:http://fedora.info/definitions/1/0/access/ObjState#inactive>, "rendering_ids"=>[], "representative_id"=>nil, "thumbnail_id"=>nil}, @model=#<#<Class:#<GenericWorkResource:0x00007f3d70c41f30>> id=#<Valkyrie::ID:0x00007f3d6cdc6508 @id="dd9d62af-91c8-4d49-936c-35d8f49b80af"> internal_resource="GenericWork" created_at=Fri, 17 Jan 2025 06:39:22.536415211 UTC +00:00 updated_at=Fri, 17 Jan 2025 06:39:22.536415211 UTC +00:00 new_record=false schema_version=12 contexts=[] alternate_ids=[] embargo_id=nil lease_id=nil admin_set_id=#<Valkyrie::ID:0x00007f3d6cdc60a8 @id="d2f4ec17-ecaa-46d2-87a3-68df0195ee4e"> member_ids=[] member_of_collection_ids=[] on_behalf_of=nil proxy_depositor=nil state=#<RDF::URI:0x5bcfd4 URI:http://fedora.info/definitions/1/0/access/ObjState#active> rendering_ids=[] representative_id=nil thumbnail_id=nil title=[] date_modified=nil date_uploaded=nil depositor="[email protected]" creator=[] license=[] abstract=[] access_right=[] alternative_title=[] arkivo_checksum=nil based_near=[] bibliographic_citation=[] contributor=[] date_created=[] description=[] identifier=["ISBN:978-83-7659-303-6", "978-3-540-49698-4", "9790879392788", "doi:10.1038/nphys1170", "3-921099-34-X", "3-540-49698-x", "0-19-852663-6"] import_url=nil keyword=[] label=nil language=[] publisher=[] related_url=[] relative_path=nil resource_type=[] rights_notes=[] rights_statement=[] source=[] subject=[] bulkrax_identifier=nil show_pdf_viewer=nil show_pdf_download_button=nil video_embed=nil is_child=nil split_from_pdf_id=nil>, @mapper=#<#<Class:0x00007f3d62fd8a30>:0x00007f3d4ef63410 @model=#<#<Class:#<GenericWorkResource:0x00007f3d70c41f30>> id=#<Valkyrie::ID:0x00007f3d6cdc6508 @id="dd9d62af-91c8-4d49-936c-35d8f49b80af"> internal_resource="GenericWork" created_at=Fri, 17 Jan 2025 06:39:22.536415211 UTC +00:00 updated_at=Fri, 17 Jan 2025 06:39:22.536415211 UTC +00:00 new_record=false schema_version=12 contexts=[] alternate_ids=[] embargo_id=nil lease_id=nil admin_set_id=#<Valkyrie::ID:0x00007f3d6cdc60a8 @id="d2f4ec17-ecaa-46d2-87a3-68df0195ee4e"> member_ids=[] member_of_collection_ids=[] on_behalf_of=nil proxy_depositor=nil state=#<RDF::URI:0x5bcfd4 URI:http://fedora.info/definitions/1/0/access/ObjState#active> rendering_ids=[] representative_id=nil thumbnail_id=nil title=[] date_modified=nil date_uploaded=nil depositor="[email protected]" creator=[] license=[] abstract=[] access_right=[] alternative_title=[] arkivo_checksum=nil based_near=[] bibliographic_citation=[] contributor=[] date_created=[] description=[] identifier=["ISBN:978-83-7659-303-6", "978-3-540-49698-4", "9790879392788", "doi:10.1038/nphys1170", "3-921099-34-X", "3-540-49698-x", "0-19-852663-6"] import_url=nil keyword=[] label=nil language=[] publisher=[] related_url=[] relative_path=nil resource_type=[] rights_notes=[] rights_statement=[] source=[] subject=[] bulkrax_identifier=nil show_pdf_viewer=nil show_pdf_download_button=nil video_embed=nil is_child=nil split_from_pdf_id=nil>>, @_changes={"state"=>true}, @result=#<Reform::Contract::Result:0x00007f3d4ef62b50 @results=[], @failure=nil>, @amv_errors=#<ActiveModel::Errors:0x00007f3d4ef62a10 @base=#<#<Class:0x00007f3d62fda1f0>:0x00007f3d4ef65d78 ...>, @errors=[]>>])
Failure/Error: let!(:work) { FactoryBot.valkyrie_create(:generic_work_resource, :with_admin_set, admin_set:, visibility_setting:, depositor: work_creator.user_key) }

Dry::Monads::UnwrapError:
  value! was called on Failure([:no_date_modified_attribute, #<#<Class:0x00007f3d62fda1f0>:0x00007f3d4ef65d78 @fields={"schema_version"=>12, "contexts"=>[], "alternate_ids"=>[], "embargo_id"=>nil, "lease_id"=>nil, "admin_set_id"=>#<Valkyrie::ID:0x00007f3d6cdc60a8 @id="d2f4ec17-ecaa-46d2-87a3-68df0195ee4e">, "member_ids"=>[], "member_of_collection_ids"=>[], "on_behalf_of"=>nil, "proxy_depositor"=>nil, "state"=>#<RDF::Vocabulary::Term:0x71660 ID:http://fedora.info/definitions/1/0/access/ObjState#inactive>, "rendering_ids"=>[], "representative_id"=>nil, "thumbnail_id"=>nil}, @model=#<#<Class:#<GenericWorkResource:0x00007f3d70c41f30>> id=#<Valkyrie::ID:0x00007f3d6cdc6508 @id="dd9d62af-91c8-4d49-936c-35d8f49b80af"> internal_resource="GenericWork" created_at=Fri, 17 Jan 2025 06:39:22.536415211 UTC +00:00 updated_at=Fri, 17 Jan 2025 06:39:22.536415211 UTC +00:00 new_record=false schema_version=12 contexts=[] alternate_ids=[] embargo_id=nil lease_id=nil admin_set_id=#<Valkyrie::ID:0x00007f3d6cdc60a8 @id="d2f4ec17-ecaa-46d2-87a3-68df0195ee4e"> member_ids=[] member_of_collection_ids=[] on_behalf_of=nil proxy_depositor=nil state=#<RDF::URI:0x5bcfd4 URI:http://fedora.info/definitions/1/0/access/ObjState#active> rendering_ids=[] representative_id=nil thumbnail_id=nil title=[] date_modified=nil date_uploaded=nil depositor="[email protected]" creator=[] license=[] abstract=[] access_right=[] alternative_title=[] arkivo_checksum=nil based_near=[] bibliographic_citation=[] contributor=[] date_created=[] description=[] identifier=["ISBN:978-83-7659-303-6", "978-3-540-49698-4", "9790879392788", "doi:10.1038/nphys1170", "3-921099-34-X", "3-540-49698-x", "0-19-852663-6"] import_url=nil keyword=[] label=nil language=[] publisher=[] related_url=[] relative_path=nil resource_type=[] rights_notes=[] rights_statement=[] source=[] subject=[] bulkrax_identifier=nil show_pdf_viewer=nil show_pdf_download_button=nil video_embed=nil is_child=nil split_from_pdf_id=nil>, @mapper=#<#<Class:0x00007f3d62fd8a30>:0x00007f3d4ef63410 @model=#<#<Class:#<GenericWorkResource:0x00007f3d70c41f30>> id=#<Valkyrie::ID:0x00007f3d6cdc6508 @id="dd9d62af-91c8-4d49-936c-35d8f49b80af"> internal_resource="GenericWork" created_at=Fri, 17 Jan 2025 06:39:22.536415211 UTC +00:00 updated_at=Fri, 17 Jan 2025 06:39:22.536415211 UTC +00:00 new_record=false schema_version=12 contexts=[] alternate_ids=[] embargo_id=nil lease_id=nil admin_set_id=#<Valkyrie::ID:0x00007f3d6cdc60a8 @id="d2f4ec17-ecaa-46d2-87a3-68df0195ee4e"> member_ids=[] member_of_collection_ids=[] on_behalf_of=nil proxy_depositor=nil state=#<RDF::URI:0x5bcfd4 URI:http://fedora.info/definitions/1/0/access/ObjState#active> rendering_ids=[] representative_id=nil thumbnail_id=nil title=[] date_modified=nil date_uploaded=nil depositor="[email protected]" creator=[] license=[] abstract=[] access_right=[] alternative_title=[] arkivo_checksum=nil based_near=[] bibliographic_citation=[] contributor=[] date_created=[] description=[] identifier=["ISBN:978-83-7659-303-6", "978-3-540-49698-4", "9790879392788", "doi:10.1038/nphys1170", "3-921099-34-X", "3-540-49698-x", "0-19-852663-6"] import_url=nil keyword=[] label=nil language=[] publisher=[] related_url=[] relative_path=nil resource_type=[] rights_notes=[] rights_statement=[] source=[] subject=[] bulkrax_identifier=nil show_pdf_viewer=nil show_pdf_download_button=nil video_embed=nil is_child=nil split_from_pdf_id=nil>>, @_changes={"state"=>true}, @result=#<Reform::Contract::Result:0x00007f3d4ef62b50 @results=[], @failure=nil>, @amv_errors=#<ActiveModel::Errors:0x00007f3d4ef62a10 @base=#<#<Class:0x00007f3d62fda1f0>:0x00007f3d4ef65d78 ...>, @errors=[]>>])
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/right_biased.rb:261:in `value!'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/action_taken_service.rb:86:in `save_target'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/action_taken_service.rb:42:in `call'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/action_taken_service.rb:13:in `handle_action_taken'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_action_service.rb:52:in `handle_additional_sipity_workflow_action_processing'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_action_service.rb:22:in `run'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_action_service.rb:7:in `run'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_factory.rb:67:in `run_workflow_action!'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_factory.rb:46:in `create'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_factory.rb:24:in `create'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/factories/hyrax_work.rb:96:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/callback.rb:13:in `instance_exec'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/callback.rb:13:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/callbacks_observer.rb:11:in `block in update'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/callbacks_observer.rb:10:in `each'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/callbacks_observer.rb:10:in `update'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/evaluation.rb:20:in `notify'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:18:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/requests/work_approval_permissions_spec.rb:30:in `block (2 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'

Check warning on line 0 in ./spec/requests/work_approval_permissions_spec.rb

See this annotation in the file changed.

@github-actions github-actions / Test Results

Work approval permissions when signed in as a work depositor cannot see works submitted for review in the dashboard (spec.requests.work_approval_permissions_spec) failed

artifacts/spec-reports-0/rspec-0.xml [took 1s]
Raw output
value! was called on Failure([:no_date_modified_attribute, #<#<Class:0x00007f3d65659600>:0x00007f3d6b855200 @fields={"schema_version"=>13, "contexts"=>[], "alternate_ids"=>[], "embargo_id"=>nil, "lease_id"=>nil, "admin_set_id"=>#<Valkyrie::ID:0x00007f3d6bd5c960 @id="7be87a5b-9313-4702-8264-8ca2d783e921">, "member_ids"=>[], "member_of_collection_ids"=>[], "on_behalf_of"=>nil, "proxy_depositor"=>nil, "state"=>#<RDF::Vocabulary::Term:0x71660 ID:http://fedora.info/definitions/1/0/access/ObjState#inactive>, "rendering_ids"=>[], "representative_id"=>nil, "thumbnail_id"=>nil}, @model=#<#<Class:#<GenericWorkResource:0x00007f3d6bf72f38>> id=#<Valkyrie::ID:0x00007f3d6bd5cac8 @id="341cf432-ff50-4055-a750-a6d1ec36eeeb"> internal_resource="GenericWork" created_at=Fri, 17 Jan 2025 06:39:23.671268115 UTC +00:00 updated_at=Fri, 17 Jan 2025 06:39:23.671268115 UTC +00:00 new_record=false schema_version=13 contexts=[] alternate_ids=[] embargo_id=nil lease_id=nil admin_set_id=#<Valkyrie::ID:0x00007f3d6bd5c960 @id="7be87a5b-9313-4702-8264-8ca2d783e921"> member_ids=[] member_of_collection_ids=[] on_behalf_of=nil proxy_depositor=nil state=#<RDF::URI:0x5cc22c URI:http://fedora.info/definitions/1/0/access/ObjState#active> rendering_ids=[] representative_id=nil thumbnail_id=nil title=[] date_modified=nil date_uploaded=nil depositor="[email protected]" creator=[] license=[] abstract=[] access_right=[] alternative_title=[] arkivo_checksum=nil based_near=[] bibliographic_citation=[] contributor=[] date_created=[] description=[] identifier=["ISBN:978-83-7659-303-6", "978-3-540-49698-4", "9790879392788", "doi:10.1038/nphys1170", "3-921099-34-X", "3-540-49698-x", "0-19-852663-6"] import_url=nil keyword=[] label=nil language=[] publisher=[] related_url=[] relative_path=nil resource_type=[] rights_notes=[] rights_statement=[] source=[] subject=[] bulkrax_identifier=nil show_pdf_viewer=nil show_pdf_download_button=nil video_embed=nil is_child=nil split_from_pdf_id=nil>, @mapper=#<#<Class:0x00007f3d656580c0>:0x00007f3d6b86e480 @model=#<#<Class:#<GenericWorkResource:0x00007f3d6bf72f38>> id=#<Valkyrie::ID:0x00007f3d6bd5cac8 @id="341cf432-ff50-4055-a750-a6d1ec36eeeb"> internal_resource="GenericWork" created_at=Fri, 17 Jan 2025 06:39:23.671268115 UTC +00:00 updated_at=Fri, 17 Jan 2025 06:39:23.671268115 UTC +00:00 new_record=false schema_version=13 contexts=[] alternate_ids=[] embargo_id=nil lease_id=nil admin_set_id=#<Valkyrie::ID:0x00007f3d6bd5c960 @id="7be87a5b-9313-4702-8264-8ca2d783e921"> member_ids=[] member_of_collection_ids=[] on_behalf_of=nil proxy_depositor=nil state=#<RDF::URI:0x5cc22c URI:http://fedora.info/definitions/1/0/access/ObjState#active> rendering_ids=[] representative_id=nil thumbnail_id=nil title=[] date_modified=nil date_uploaded=nil depositor="[email protected]" creator=[] license=[] abstract=[] access_right=[] alternative_title=[] arkivo_checksum=nil based_near=[] bibliographic_citation=[] contributor=[] date_created=[] description=[] identifier=["ISBN:978-83-7659-303-6", "978-3-540-49698-4", "9790879392788", "doi:10.1038/nphys1170", "3-921099-34-X", "3-540-49698-x", "0-19-852663-6"] import_url=nil keyword=[] label=nil language=[] publisher=[] related_url=[] relative_path=nil resource_type=[] rights_notes=[] rights_statement=[] source=[] subject=[] bulkrax_identifier=nil show_pdf_viewer=nil show_pdf_download_button=nil video_embed=nil is_child=nil split_from_pdf_id=nil>>, @_changes={"state"=>true}, @result=#<Reform::Contract::Result:0x00007f3d6b86c4f0 @results=[], @failure=nil>, @amv_errors=#<ActiveModel::Errors:0x00007f3d6b86c1f8 @base=#<#<Class:0x00007f3d65659600>:0x00007f3d6b855200 ...>, @errors=[]>>])
Failure/Error: let!(:work) { FactoryBot.valkyrie_create(:generic_work_resource, :with_admin_set, admin_set:, visibility_setting:, depositor: work_creator.user_key) }

Dry::Monads::UnwrapError:
  value! was called on Failure([:no_date_modified_attribute, #<#<Class:0x00007f3d65659600>:0x00007f3d6b855200 @fields={"schema_version"=>13, "contexts"=>[], "alternate_ids"=>[], "embargo_id"=>nil, "lease_id"=>nil, "admin_set_id"=>#<Valkyrie::ID:0x00007f3d6bd5c960 @id="7be87a5b-9313-4702-8264-8ca2d783e921">, "member_ids"=>[], "member_of_collection_ids"=>[], "on_behalf_of"=>nil, "proxy_depositor"=>nil, "state"=>#<RDF::Vocabulary::Term:0x71660 ID:http://fedora.info/definitions/1/0/access/ObjState#inactive>, "rendering_ids"=>[], "representative_id"=>nil, "thumbnail_id"=>nil}, @model=#<#<Class:#<GenericWorkResource:0x00007f3d6bf72f38>> id=#<Valkyrie::ID:0x00007f3d6bd5cac8 @id="341cf432-ff50-4055-a750-a6d1ec36eeeb"> internal_resource="GenericWork" created_at=Fri, 17 Jan 2025 06:39:23.671268115 UTC +00:00 updated_at=Fri, 17 Jan 2025 06:39:23.671268115 UTC +00:00 new_record=false schema_version=13 contexts=[] alternate_ids=[] embargo_id=nil lease_id=nil admin_set_id=#<Valkyrie::ID:0x00007f3d6bd5c960 @id="7be87a5b-9313-4702-8264-8ca2d783e921"> member_ids=[] member_of_collection_ids=[] on_behalf_of=nil proxy_depositor=nil state=#<RDF::URI:0x5cc22c URI:http://fedora.info/definitions/1/0/access/ObjState#active> rendering_ids=[] representative_id=nil thumbnail_id=nil title=[] date_modified=nil date_uploaded=nil depositor="[email protected]" creator=[] license=[] abstract=[] access_right=[] alternative_title=[] arkivo_checksum=nil based_near=[] bibliographic_citation=[] contributor=[] date_created=[] description=[] identifier=["ISBN:978-83-7659-303-6", "978-3-540-49698-4", "9790879392788", "doi:10.1038/nphys1170", "3-921099-34-X", "3-540-49698-x", "0-19-852663-6"] import_url=nil keyword=[] label=nil language=[] publisher=[] related_url=[] relative_path=nil resource_type=[] rights_notes=[] rights_statement=[] source=[] subject=[] bulkrax_identifier=nil show_pdf_viewer=nil show_pdf_download_button=nil video_embed=nil is_child=nil split_from_pdf_id=nil>, @mapper=#<#<Class:0x00007f3d656580c0>:0x00007f3d6b86e480 @model=#<#<Class:#<GenericWorkResource:0x00007f3d6bf72f38>> id=#<Valkyrie::ID:0x00007f3d6bd5cac8 @id="341cf432-ff50-4055-a750-a6d1ec36eeeb"> internal_resource="GenericWork" created_at=Fri, 17 Jan 2025 06:39:23.671268115 UTC +00:00 updated_at=Fri, 17 Jan 2025 06:39:23.671268115 UTC +00:00 new_record=false schema_version=13 contexts=[] alternate_ids=[] embargo_id=nil lease_id=nil admin_set_id=#<Valkyrie::ID:0x00007f3d6bd5c960 @id="7be87a5b-9313-4702-8264-8ca2d783e921"> member_ids=[] member_of_collection_ids=[] on_behalf_of=nil proxy_depositor=nil state=#<RDF::URI:0x5cc22c URI:http://fedora.info/definitions/1/0/access/ObjState#active> rendering_ids=[] representative_id=nil thumbnail_id=nil title=[] date_modified=nil date_uploaded=nil depositor="[email protected]" creator=[] license=[] abstract=[] access_right=[] alternative_title=[] arkivo_checksum=nil based_near=[] bibliographic_citation=[] contributor=[] date_created=[] description=[] identifier=["ISBN:978-83-7659-303-6", "978-3-540-49698-4", "9790879392788", "doi:10.1038/nphys1170", "3-921099-34-X", "3-540-49698-x", "0-19-852663-6"] import_url=nil keyword=[] label=nil language=[] publisher=[] related_url=[] relative_path=nil resource_type=[] rights_notes=[] rights_statement=[] source=[] subject=[] bulkrax_identifier=nil show_pdf_viewer=nil show_pdf_download_button=nil video_embed=nil is_child=nil split_from_pdf_id=nil>>, @_changes={"state"=>true}, @result=#<Reform::Contract::Result:0x00007f3d6b86c4f0 @results=[], @failure=nil>, @amv_errors=#<ActiveModel::Errors:0x00007f3d6b86c1f8 @base=#<#<Class:0x00007f3d65659600>:0x00007f3d6b855200 ...>, @errors=[]>>])
/usr/local/bundle/gems/dry-monads-1.6.0/lib/dry/monads/right_biased.rb:261:in `value!'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/action_taken_service.rb:86:in `save_target'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/action_taken_service.rb:42:in `call'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/action_taken_service.rb:13:in `handle_action_taken'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_action_service.rb:52:in `handle_additional_sipity_workflow_action_processing'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_action_service.rb:22:in `run'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_action_service.rb:7:in `run'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_factory.rb:67:in `run_workflow_action!'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_factory.rb:46:in `create'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/app/services/hyrax/workflow/workflow_factory.rb:24:in `create'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/factories/hyrax_work.rb:96:in `block (3 levels) in <top (required)>'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/callback.rb:13:in `instance_exec'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/callback.rb:13:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/callbacks_observer.rb:11:in `block in update'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/callbacks_observer.rb:10:in `each'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/callbacks_observer.rb:10:in `update'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/evaluation.rb:20:in `notify'
/usr/local/bundle/bundler/gems/hyrax-260376bba8c1/lib/hyrax/specs/shared_specs/factories/strategies/valkyrie_resource.rb:18:in `result'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory.rb:43:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:29:in `block in run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/factory_runner.rb:28:in `run'
/usr/local/bundle/gems/factory_bot-6.4.6/lib/factory_bot/strategy_syntax_method_registrar.rb:28:in `block in define_singular_strategy_method'
./spec/requests/work_approval_permissions_spec.rb:30:in `block (2 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'