$resources cache conflict when same nested resource is repeated #446

Closed
seancorfield opened this Issue Aug 26, 2016 · 0 comments

Comments

Projects
None yet
1 participant
@seancorfield
Member

seancorfield commented Aug 26, 2016

Discovered by Greg Thrush:

    variables.framework.routes = [
      { "$RESOURCES" = { resources = "users", nested = "logs" }},
      { "$RESOURCES" = { resources = "sites", nested = "logs" }},
    ];

The problem is the cache key in getResourceRoutes() -- it doesn't take anything but resourcesToRoute into account.

@seancorfield seancorfield added the bug label Aug 26, 2016

@seancorfield seancorfield added this to the 4.0 milestone Aug 26, 2016

@seancorfield seancorfield self-assigned this Aug 26, 2016

seancorfield added a commit that referenced this issue Aug 26, 2016

Address #446 by expanding hashcode for $RESOURCES
Also changed version to SNAPSHOT again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment