Subject: | Filter ignored in WebService::Cmis::Repository::getObject |
Hello,
If i get an object with the repository method getObject, the filter parameter is ignored.
When I do an immediate reload thereafter, everything is fine.
my $doc = $repo->getObject( 'id', filter => '*' );
# $byObjectIdUrl in reload contains "...{id}&filter=&..." # WRONG
$doc->reload( filter => '*' );
# $byObjectIdUrl in reload contains "...{id}&filter=*&..." # CORRECT
This Problem is somewhat annoying, because of cmis spezification 2.2.1.2.1 - if filter is not set, the repository can determinate which properties are returned. In my case, only the cmis:* properties. So if I want all, I need the immideiate reload like above.
Best Regards,
Tarek