Funny, why does noone tell me about this .. seems like a very obvious bug.

It only occurs if multiple "handlers" (plugins) are subscribed on the same namespace.
E.g. if simpletest module is enabled, it will overwrite the first handler for the "Drupal/" prefix.
(yes it's Drupal/, not Drupal\, we use path fragments as keys, not namespace fragments)

Easy to fix, commit will follow.

Comments

donquixote’s picture

Status: Active » Fixed

Fixed.
http://drupalcode.org/project/xautoload.git/commitdiff/f89e665c0bc59ec2a...

Btw, would be a good idea to rename handlers to plugins.

donquixote’s picture

Existing stable releases don't need to be fixed, this applies only to 7.x-2.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.