I have a very particular query. Assume that I have a doc say "myDoc", and this has 5 versions, now if I apply a new aspect to this doc, to which version it wil be applied? My guess would be to the latest version, but I don't see it working that way. How can I check "hasAspect()" in code for a versioned document?
Any pointers would be highly appreciated!
TIA,
- Manish