Skip to content

unset eprint_status causes stack dump #335

Open
@Pfiffikus

Description

If I try to export an (maybe erroneous) eprint obviously without a valid eprint_status I end up for 3.4.4 with

`------------------------------------------------------------------
----------- EPrints System Error 2023-06-23T16:28:48Z ------------

eprint_status not set

EPrints System Error inducing stack dump
at /usr/share/eprints3/bin/../perl_lib/EPrints.pm line 163.
EPrints::abort() called at /usr/share/eprints3/bin/../perl_lib/EPrints/DataObj/EPrint.pm line 662
EPrints::DataObj::EPrint::get_dataset(EPrints::DataObj::EPrint=HASH(0x5633c570a788)) called at /usr/share/eprints3/bin/../perl_lib/EPrints/DataObj.pm line 1912
EPrints::DataObj::uri(EPrints::DataObj::EPrint=HASH(0x5633c570a788)) called at /usr/share/eprints3/bin/../perl_lib/EPrints/DataObj.pm line 2108
EPrints::DataObj::to_sax(EPrints::DataObj::EPrint=HASH(0x5633c570a788), "Handler", EPrints::XML::SAX::PrettyPrint=HASH(0x5633c05ee6f0), "fh", "*main::STDOUT", "list", EPrints::List=HASH(0x5633bf8f56c8), "hide_volatile", ...) called at /usr/share/eprints3/perl_lib/EPrints/Plugin/Export/XML.pm line 99
EPrints::Plugin::Export::XML::output_dataobj(EPrints::Plugin::Export::XML=HASH(0x5633c5730ae0), EPrints::DataObj::EPrint=HASH(0x5633c570a788), "hide_volatile", 1, "list", EPrints::List=HASH(0x5633bf8f56c8), "fh", "*main::STDOUT", ...) called at /usr/share/eprints3/perl_lib/EPrints/Plugin/Export/XML.pm line 72
EPrints::Plugin::Export::XML::ANON(EPrints::Repository=HASH(0x5633c0ad7c30), EPrints::DataSet=HASH(0x5633c1336458), EPrints::DataObj::EPrint=HASH(0x5633c570a788), undef) called at /usr/share/eprints3/bin/../perl_lib/EPrints/List.pm line 667
EPrints::List::map(EPrints::List=HASH(0x5633bf8f56c8), CODE(0x5633c56f0c80)) called at /usr/share/eprints3/perl_lib/EPrints/Plugin/Export/XML.pm line 73
EPrints::Plugin::Export::XML::output_list(EPrints::Plugin::Export::XML=HASH(0x5633c5730ae0), "list", EPrints::List=HASH(0x5633bf8f56c8), "fh", "*main::STDOUT", "hide_volatile", 1) called at /home/eprints/Eprints/bin/export line 286`

Imho it would be helpful to get nevertheless the requested export.

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions