Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempt to get value from not existent field: document/mime_type #21

Open
drtjmb opened this issue Mar 18, 2015 · 0 comments
Open

Attempt to get value from not existent field: document/mime_type #21

drtjmb opened this issue Mar 18, 2015 · 0 comments

Comments

@drtjmb
Copy link
Member

drtjmb commented Mar 18, 2015

document.mime_type not available in 3.3.6

--- archives/sgultest/cfg/cfg.d/zz_rioxx2.pl.orig       2015-03-18 14:51:39.000000000 +0000
+++ archives/sgultest/cfg/cfg.d/zz_rioxx2.pl    2015-03-18 14:53:13.000000000 +0000
@@ -56,7 +56,7 @@
        name => "rioxx2_format",
        rioxx2_required => "recommended",
        rioxx2_ns => "dc",
-       rioxx2_value => sub { $_[1] && $_[1]->value( "mime_type" ) },
+       rioxx2_value => sub { $_[1] && $_[1]->get_stored_file( $_[1]->get_main )->value( "mime_type" ) },
 },

 {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant