Viner, David wrote:

Vadim,
        I haven't reviewed your patch yet, but here's why putDocument is (or
was) connected to metadata creation.  When a new document is inserted, or a
new collection created, the MetaData object/document is created at insert
time.  This is required for knowing things like "Create Time".  So,
previously, when putDocument was invoked, a new MetaData document was
dynamically constructed with the right information in it.  However, since
the critical lines have been removed, the document is no longer constructed.
Therefore, when you request the metadata for an existing document, the code
constructs a new MetaData object and stores the document.  Does that make
sense?


Makes perfect sense!


        Keep in mind that using a Service, all this may be rendered moot.
In fact, I believe that there are 2 distinct metadata implementations now
embedded in the core code.  I don't quite understand the
"InlineMetaService", but it appears that that is the only fully functional
metadata implementation remaining.


I'll try and see what is missing (what critical lines are missing) to make MetaData working.


Vadim




Reply via email to