HomePhorge

(PUP-2898) Make Resource Expr comply with spec (left QualifiedReference)
c73c13afd730Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(PUP-2898) Make Resource Expr comply with spec (left QualifiedReference)

The LHS (type name) of a Resource Expression is specified as
QualifiedName or QualifiedReference (or to be a Resource[T]). The
implementation did not work when given a QualifiedReference (runtime
error, due to errors in the error checking).

This both fixes the runtime error, and makes a string that
complies with QualifiedReference work. (An actual QualifiedReference
evaluates to Resource[T], so that already worked).

This also removes a call to debugger in relationship operator (that
would be triggered if user tried to create a resource from a non
CatalogEntry type).

Details

Provenance
Henrik Lindberg <henrik.lindberg@cloudsmith.com>Authored on
Andrew Parker <andy@puppetlabs.com>Committed on Aug 1 2014, 8:49 PM
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUacdcb255c83f: (maint) Make logic around "missing file" clearer
Branches
Unknown
Tags
Unknown

Event Timeline

Andrew Parker <andy@puppetlabs.com> committed rPUc73c13afd730: (PUP-2898) Make Resource Expr comply with spec (left QualifiedReference) (authored by Henrik Lindberg <henrik.lindberg@cloudsmith.com>).Aug 1 2014, 8:49 PM