(#1510) - remove allDocs method from adapter.js and replace with one whi...

...ch throws an error