{"action":"opened","issue":{"url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/2032","labels_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/2032/labels{/name}","comments_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/2032/comments","events_url":"https://api.github.com/repos/bleroy/OrchardImportTest/issues/2032/events","html_url":"https://github.com/bleroy/OrchardImportTest/issues/2032","id":66135766,"number":2032,"title":"Records outsides Models namespace","user":{"login":"bleroy","id":1165609,"avatar_url":"https://avatars.githubusercontent.com/u/1165609?v=3","gravatar_id":"","url":"https://api.github.com/users/bleroy","html_url":"https://github.com/bleroy","followers_url":"https://api.github.com/users/bleroy/followers","following_url":"https://api.github.com/users/bleroy/following{/other_user}","gists_url":"https://api.github.com/users/bleroy/gists{/gist_id}","starred_url":"https://api.github.com/users/bleroy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bleroy/subscriptions","organizations_url":"https://api.github.com/users/bleroy/orgs","repos_url":"https://api.github.com/users/bleroy/repos","events_url":"https://api.github.com/users/bleroy/events{/privacy}","received_events_url":"https://api.github.com/users/bleroy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-03T12:18:21Z","updated_at":"2015-04-03T12:18:21Z","closed_at":null,"body":"Issue is described here: [ http://orchard.codeplex.com/discussions/274145\n](http://orchard.codeplex.com/discussions/274145)  \n  \nReproduction in details:  \n\n  1. Add a class intended to used as a record (no need to inherit it from ContentPartRecord) to a module's Models/Subfolder folder. \n  2. What is important that this also added the class to the ModuleName.Models.Subfolder namespace (this alone is enough to reproduce the issue, the first point is just a common use case). \n  3. Try to use the Record with an IRepository instance. \n  4. Get exception \"No persister for RecordName\"   \n\nExpected: no exception and working repository.  \n  \nIf the record is in the ModuleName.Models namespace, the repository works as\nexpected despite the model being in a subfolder.  \n\nWork Item Details\n--------------------\n**Original CodePlex Issue:**\t[Issue 18142](http://orchard.codeplex.com/workitem/18142)\n**Status:**\tActive\n**Reason Closed:**\tUnassigned\n**Assigned to:**\tUnassigned\n**Reported on:**\tSep 28, 2011 at 5:57 PM\n**Reported by:**\tPiedone\n**Updated on:**\tSep 29, 2011 at 6:11 PM\n**Updated by:**\tBertrandLeRoy\n**Status:**\tActive\n**Reason Closed:**\tUnassigned\n**Assigned to:**\tUnassigned\n**Reported on:**\tSep 28, 2011 at 5:57 PM\n**Reported by:**\tPiedone\n**Updated on:**\tSep 29, 2011 at 6:11 PM\n**Updated by:**\tBertrandLeRoy\n"}}