Ticket #264 (closed defect: fixed)

Opened 19 years ago

Last modified 16 years ago

The Reactor Adaptror doesn't allow criteria involved in a relationship

Reported by: dhughes Owned by: somebody
Priority: highest Milestone:
Version: Severity: blocker
Keywords: Cc:

Description

I'm currently trying to do a generic read on an object. The criteria is the object's PK and another value, which happens to be part of a configured relationship.

For some reason the ReactorAdaptor? doesn't allow for these values to be used as criteria.

To fix this issue all I had to do was comment out lines 137 to 139, which remove fields from the metadata when involved in a relationship.

Attachments

ReactorAdapter.cfc (19.7 kB) - added by dhughes 19 years ago.
This is a working revision. Added method getObjectFields and updated method getCriteriaProperties

Change History

Changed 19 years ago by dhughes

Correction: commenting out the two lines above didn't fix the problem. Field involved in relationships have their alias updated to be the same as the relationship's alias and so it doesn't end up in the list of acceptable field names.

Changed 19 years ago by dhughes

This is a working revision. Added method getObjectFields and updated method getCriteriaProperties

Changed 19 years ago by joe.rinehart

  • status changed from new to closed
  • resolution set to fixed

(In [289]) Fixes #264, #265 - Applying patch from dhughes and a var scoping to "label" in getObjectMetadata()

Changed 16 years ago by cfgrok

  • milestone User Reported Issues (with full information) deleted

Milestone User Reported Issues (with full information) deleted

Note: See TracTickets for help on using tickets.