use the docid from the metadata rather than the parameter when operating on the metadata document (in cases when the docid w/o revision is not given).see bug #3389
use the docid from the metadata rather than the parameter when operating on the metadata document (in cases when the docid w/o revision is not given).
see bug #3389