Don't register tables in metadata if autoloading fails

Issue #2988 resolved
Roman Podoliaka
created an issue

When autoloading of a table fails, it nevertheless gets added to the metadata registry. This behaviour seems to be accidentally introduced in f6198d9abf453182f4b111e0579a7a4ef1614e79.

Snippet to reproduce is attached. Fix is coming soon.

Comments (5)

  1. Michael Bayer repo owner

    weird, that would be a regression. funny there's no test for that, need to put a test in test/engine/test_reflection. the code tries pretty hard to make sure this doesn't happen.


    oh geez I just commented out the line....need a test!

  2. Log in to comment