Hi, @Chrisk, thanks for your explanation.
We changed it to support DB per tenant architecture. In a single database only a userId was enough for distributing notifications but in a application with more than one database, we also need tenantId inforamtion. That is why userId is replaced with UserIdentifier.
Great :)
Hi,
There must be a detailed error message in Logs.txt file under your web project. Can you also share that message if you canfind it ?
Hi,
Thanks for sharing your solution. @L method uses default localization source, you can create a similar shortcut method in your ViewBase class.
You can check the definition of @L here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/f10fa5205c780bcc27adfe38aaae631f412eb7df/src/Abp.Web.Mvc/Web/Mvc/Views/AbpWebViewPageOfTModel.cs#L70">https://github.com/aspnetboilerplate/as ... del.cs#L70</a>
Hi,
You can check this issue <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/63">https://github.com/aspnetboilerplate/mo ... /issues/63</a>.
Hi,
I finally get it :), you can overide GetAuditUserId method of your DbContext and return the userId you like. See <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/f83c3729a235425ba098b0f76728c03f3b4a36a6/src/Abp.EntityFramework/EntityFramework/AbpDbContext.cs#L504">https://github.com/aspnetboilerplate/as ... xt.cs#L504</a>.
Hi,
Yes you are right, Since ABP Controller Actions are UOW by default, your operation is committed after your action's code is executed. Can you try to remove this attribute [UnitOfWork(IsDisabled = true)] and change your Action's return type to JsonResult instead of ActionResult ?
Hi,
Can you try to add this attribute to your action ?
[UnitOfWork(IsDisabled = true)]
If that does not work, can you send your project to <a href="mailto:[email protected]">[email protected]</a>.
Thanks.
Hi,
I'm not sure but one of the cases told here might be your problem. <a class="postlink" href="http://stackoverflow.com/questions/13144827/entity-framework-code-first-migrations-enable-migrations-fails">http://stackoverflow.com/questions/1314 ... ions-fails</a>
Can you check that ?
Hi,
We think it will be released in 2 weeks.