Skip to content

undefined method state= when creating Monograph #5084

@elrayle

Description

@elrayle

Descriptive summary

When creating a Monograph through the UI, an exception is raised.

NoMethodError at /concern/monographs
undefined method `state='

The same error does not occur for GenericWork.

Expected behavior

When required data is entered in new work form, a Monograph will be created.

Actual behavior

When required data is entered in new work form, an exception is thrown.

NoMethodError at /concern/monographs
undefined method `state='

Steps to reproduce the behavior

  1. login
  2. navigate to Dashboard -> Works
  3. click Add new work
  4. select Monograph for the work type
  5. fill in required descriptive metadata, add a file, check depositor agreement
  6. save

During save, the exception is raised.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions