Skip to content

Conversation

@nockhigan
Copy link
Contributor

When calling getMemento on an entity with more than one primary key and no default includes specified the call will fail with an error:

The getIdentifierType method was not found.
Either there are no methods with the specified method name and argument types or the getIdentifierType method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity.

This issue was previously fixed by bc1ac83 but seems to have been reversed.

When calling getMemento on an entity with more than one primary key and no default includes specified the call will fail with an error: 

The getIdentifierType method was not found. 
Either there are no methods with the specified method name and argument types or the getIdentifierType method is overloaded with argument types that ColdFusion cannot decipher reliably. ColdFusion found 0 methods that match the provided arguments. If this is a Java object and you verified that the method exists, use the javacast function to reduce ambiguity. 

This issue was previously fixed by coldbox-modules@bc1ac83 but seems to have been reversed.
@lmajano lmajano merged commit 6dc2a4a into coldbox-modules:development Jan 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants