Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

singleton spec shouldn;t have a key

#5

[submitted on behalf of Sergei Serdyuk]

If I declare a resource both as a singleton and a regular, 'map_enclosing_resource' for the singleton resource breaks wildcard loading for the regular. The reason is that singleton specifications have keys identical to regular specifications and those collide. As it was not clear to me why singleton specifications need keys at all, I've added the following to SingletonSpecification#initialize and that fixed it for me.
options[:key] ||= ''

Reported by Ian White · September 29th, 2009 @ 08:31 AM

State: resolved
Milestone: none
Assigned to: Ian White Ian White

Activity

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.