Re: [greenstone-users] Can´t change OIDtype in

From jens wille
DateTue, 06 Sep 2005 23:37:02 +0200
Subject Re: [greenstone-users] Can´t change OIDtype in
In-Reply-To (20050906203844-26819gmx1-mx054-gmx-net)
[cc: greenstone-devel]

hi diego!

there might really be a bug in PagedImgPlug which lets it "forget"
the specified OIDtype. if you modify as indicated
below it should work:

perllib/plugins/, line 649 says:
$doc_obj->set_OID ();

add a line _before_ it, saying:
$doc_obj->set_OIDtype ($processor->{'OIDtype'});

hope that solves your problem ;-)

a note to the developers: i'm not sure if this is really bug or a
"feature". but if it is, maybe the problem arises from doc::new
where OIDtype is set to 'hash'?