Comment 2 for bug 906669

Revision history for this message
Joshua Harlow (harlowja) wrote :

So I think the thing we are going to try here is a 'DataSourceNone' which is basically a datasource with no data, modules will be able to do instanceof checks (maybe this should be an attribute instead incase other modules someday can run without data and they don't want to inherit from this one???) to see if nothing is loaded (incase they want to say avoid actually doing something in this case). This datasource will provide a 'fake' instance id, '-1' seems reasonable. This should let modules run (+ some work to make it happen) and also let modules determine when this state is occuring.