{"action":"created","issue":{"url":"https://api.github.com/repos/sharparchitecture/Sharp-Architecture/issues/93","labels_url":"https://api.github.com/repos/sharparchitecture/Sharp-Architecture/issues/93/labels{/name}","comments_url":"https://api.github.com/repos/sharparchitecture/Sharp-Architecture/issues/93/comments","events_url":"https://api.github.com/repos/sharparchitecture/Sharp-Architecture/issues/93/events","html_url":"https://github.com/sharparchitecture/Sharp-Architecture/issues/93","id":17875804,"number":93,"title":"Machine Spec tests failing","user":{"login":"scpeterson","id":1301178,"avatar_url":"https://avatars.githubusercontent.com/u/1301178?v=3","gravatar_id":"","url":"https://api.github.com/users/scpeterson","html_url":"https://github.com/scpeterson","followers_url":"https://api.github.com/users/scpeterson/followers","following_url":"https://api.github.com/users/scpeterson/following{/other_user}","gists_url":"https://api.github.com/users/scpeterson/gists{/gist_id}","starred_url":"https://api.github.com/users/scpeterson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scpeterson/subscriptions","organizations_url":"https://api.github.com/users/scpeterson/orgs","repos_url":"https://api.github.com/users/scpeterson/repos","events_url":"https://api.github.com/users/scpeterson/events{/privacy}","received_events_url":"https://api.github.com/users/scpeterson/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"shatl","id":143057,"avatar_url":"https://avatars.githubusercontent.com/u/143057?v=3","gravatar_id":"","url":"https://api.github.com/users/shatl","html_url":"https://github.com/shatl","followers_url":"https://api.github.com/users/shatl/followers","following_url":"https://api.github.com/users/shatl/following{/other_user}","gists_url":"https://api.github.com/users/shatl/gists{/gist_id}","starred_url":"https://api.github.com/users/shatl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shatl/subscriptions","organizations_url":"https://api.github.com/users/shatl/orgs","repos_url":"https://api.github.com/users/shatl/repos","events_url":"https://api.github.com/users/shatl/events{/privacy}","received_events_url":"https://api.github.com/users/shatl/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/sharparchitecture/Sharp-Architecture/milestones/3","html_url":"https://github.com/sharparchitecture/Sharp-Architecture/milestones/4.0","labels_url":"https://api.github.com/repos/sharparchitecture/Sharp-Architecture/milestones/3/labels","id":1084094,"number":3,"title":"4.0","description":"","creator":{"login":"seif","id":141900,"avatar_url":"https://avatars.githubusercontent.com/u/141900?v=3","gravatar_id":"","url":"https://api.github.com/users/seif","html_url":"https://github.com/seif","followers_url":"https://api.github.com/users/seif/followers","following_url":"https://api.github.com/users/seif/following{/other_user}","gists_url":"https://api.github.com/users/seif/gists{/gist_id}","starred_url":"https://api.github.com/users/seif/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seif/subscriptions","organizations_url":"https://api.github.com/users/seif/orgs","repos_url":"https://api.github.com/users/seif/repos","events_url":"https://api.github.com/users/seif/events{/privacy}","received_events_url":"https://api.github.com/users/seif/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":9,"state":"open","created_at":"2015-04-26T17:07:05Z","updated_at":"2015-11-27T19:19:28Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2013-08-09T17:36:16Z","updated_at":"2015-11-27T19:19:28Z","closed_at":"2015-11-27T19:19:28Z","body":"Once I got my Machine Spec harness working, I found that 13 specification tests are failing in the v3 branch in the file HasUniqueDomainSignatureSpecs.cs:\r\n\r\nwhen_validating_a_duplicate_entity_with_no_error_message_specified\r\nwhen_validating_a_duplicate_entity_with_a_specified_error_message\r\nwhen_validating_an_entity_with_a_guid_id_and_a_duplicate_exists\r\nwhen_validating_an_entity_and_a_duplicate_exists\r\nwhen_validating_a_duplicate_entity_that_has_a_value_object_domain_signature_property\r\nwhen_validating_an_entity_with_a_string_id_and_a_duplicate_exists\r\nwhen_validating_a_duplicate_entity_that_has_a_null_value_domain_signature_property\r\nWhen_validating_duplicate_entity_that_has_null_value_for_property_of_unique_entity_type\r\nwhen_validating_a_duplicate_entity_that_has_another_entity_as_part_of_domain_signature\r\nwhen_validating_a_unique_entity_that_has_another_entity_as_part_of_domain_signature\r\nwhen_validating_an_entity_and_the_entity_is_unique\r\nwhen_validating_a_unique_entity_that_has_a_null_value_domain_signature_property\r\nWhen_validating_duplicate_entity_that_has_null_value_for_property_of_unique_entity_type\r\n\r\nThe error message is the same for all these: \"An ISessionStorage has not been configured.\"\r\n\r\nI tracked down where the problem appears to occur, in the NHibernateSession.cs file on line 386: if (File.Exists(\"Hibernate.cfg.xml\"))\r\n\r\nThis line always returns false, even though Hibernate.cfg.xml is properly copied over to bin\\debug.  If I change the line to: (File.Exists(AppDomain.CurrentDomain.BaseDirectory + \"\\\\Hibernate.cfg.xml\"))\r\nthen everything works just fine and the tests pass.   Shouldn't File.Exists pick up on the fact that the file is there, in the same directory as the process?  Is it really necessary to specify the whole path?  My change worked, but it doesn't seem like I should have to make the change.  Any thoughts are welcome...\r\n\r\n\r\n\r\n<!---\r\n@huboard:{\"milestone_order\":81.875}\r\n-->\r\n"},"comment":{"url":"https://api.github.com/repos/sharparchitecture/Sharp-Architecture/issues/comments/160193111","html_url":"https://github.com/sharparchitecture/Sharp-Architecture/issues/93#issuecomment-160193111","issue_url":"https://api.github.com/repos/sharparchitecture/Sharp-Architecture/issues/93","id":160193111,"user":{"login":"shatl","id":143057,"avatar_url":"https://avatars.githubusercontent.com/u/143057?v=3","gravatar_id":"","url":"https://api.github.com/users/shatl","html_url":"https://github.com/shatl","followers_url":"https://api.github.com/users/shatl/followers","following_url":"https://api.github.com/users/shatl/following{/other_user}","gists_url":"https://api.github.com/users/shatl/gists{/gist_id}","starred_url":"https://api.github.com/users/shatl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shatl/subscriptions","organizations_url":"https://api.github.com/users/shatl/orgs","repos_url":"https://api.github.com/users/shatl/repos","events_url":"https://api.github.com/users/shatl/events{/privacy}","received_events_url":"https://api.github.com/users/shatl/received_events","type":"User","site_admin":false},"created_at":"2015-11-27T19:19:28Z","updated_at":"2015-11-27T19:19:28Z","body":"not failing anymore "}}