{"action":"created","issue":{"url":"https://api.github.com/repos/ColdBox/cbox-cborm/issues/7","labels_url":"https://api.github.com/repos/ColdBox/cbox-cborm/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/ColdBox/cbox-cborm/issues/7/comments","events_url":"https://api.github.com/repos/ColdBox/cbox-cborm/issues/7/events","html_url":"https://github.com/ColdBox/cbox-cborm/issues/7","id":102885256,"number":7,"title":"Dynamic Finders Incorrectly Identifying Properties in compileHQLFromDynamicMethod()","user":{"login":"wphampton","id":1633835,"avatar_url":"https://avatars.githubusercontent.com/u/1633835?v=3","gravatar_id":"","url":"https://api.github.com/users/wphampton","html_url":"https://github.com/wphampton","followers_url":"https://api.github.com/users/wphampton/followers","following_url":"https://api.github.com/users/wphampton/following{/other_user}","gists_url":"https://api.github.com/users/wphampton/gists{/gist_id}","starred_url":"https://api.github.com/users/wphampton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wphampton/subscriptions","organizations_url":"https://api.github.com/users/wphampton/orgs","repos_url":"https://api.github.com/users/wphampton/repos","events_url":"https://api.github.com/users/wphampton/events{/privacy}","received_events_url":"https://api.github.com/users/wphampton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-24T20:33:43Z","updated_at":"2015-12-02T17:55:09Z","closed_at":"2015-12-02T17:55:09Z","body":"In **BaseORMService.cfc** around line 1055 is this chunk of code:\r\n```\r\nvar methodGrammars = REMatchNoCase( \"((?!(and|or|$))\\w)+(#ALL_CONDITIONALS_REGEX#)?(and|or|$)\", method );\r\n```\r\n\r\nLet's say you have an entity with properties of *handle* and *sport* and *name* and you attempt a Dynamic Finder like this ```findAllByHandleAndSportAndName('a','b','c');```\r\nThen it will split it up like this:\r\n\r\n | Array\r\n------------ | -------------\r\n1 | Hand\r\n2 | leAnd\r\n3 | Spor\r\n4 | tAnd\r\n5 | Name\r\n\r\nI think it should have done this:\r\n\r\n | Array\r\n------------ | -------------\r\n1 | HandleAnd\r\n2 | SportAnd\r\n3 | Name\r\n\r\nI haven't been able to fix that RegEx yet with the negative lookahead and would appreciate some assistance.  @sigmaprojects did some related work in #4.  Also there was some [related discussion in the ColdBox Google Group](https://groups.google.com/d/msg/coldbox/gP2d1K2Ce9Q/HdrxsczQSFEJ) a while back."},"comment":{"url":"https://api.github.com/repos/ColdBox/cbox-cborm/issues/comments/161380340","html_url":"https://github.com/ColdBox/cbox-cborm/issues/7#issuecomment-161380340","issue_url":"https://api.github.com/repos/ColdBox/cbox-cborm/issues/7","id":161380340,"user":{"login":"lmajano","id":137111,"avatar_url":"https://avatars.githubusercontent.com/u/137111?v=3","gravatar_id":"","url":"https://api.github.com/users/lmajano","html_url":"https://github.com/lmajano","followers_url":"https://api.github.com/users/lmajano/followers","following_url":"https://api.github.com/users/lmajano/following{/other_user}","gists_url":"https://api.github.com/users/lmajano/gists{/gist_id}","starred_url":"https://api.github.com/users/lmajano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmajano/subscriptions","organizations_url":"https://api.github.com/users/lmajano/orgs","repos_url":"https://api.github.com/users/lmajano/repos","events_url":"https://api.github.com/users/lmajano/events{/privacy}","received_events_url":"https://api.github.com/users/lmajano/received_events","type":"User","site_admin":false},"created_at":"2015-12-02T17:55:09Z","updated_at":"2015-12-02T17:55:09Z","body":"I think this was resolved already, can you verify @wphampton "}}