Hi,
We didn't solve this issue yet. In the mean time, you can close the modal using this javascript code in your modified abp.jtable.js.
self._$addRecordDiv.dialog("close");
Hi,
Instead of using
where TTenant : AbpTenant<TUser>
can you try with
where TTenant : Tenant
in your custom tenant cache class ?
Hi,
TenantRoleAndUserBuilder grants all permissions to tenant admin user and HostRoleAndUserCreator class does same for host admin.
If you use default tenant admin or host admin user in your tests, this should not be a problem. If you are going to use a different use, you should grant access to that user just like we do in those two classess.
Dont forget to do it only in test module.
Hi,
There is an issue about it <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero/issues/371">https://github.com/aspnetzero/aspnet-zero/issues/371</a>. Did you enabled foreign keys for user table ?
I suggest you to drop foreign keys until we solve this problem.
Thanks.
Hi,
There are examples of how to get data with jtable in AspNet Zero templates. Do you get a specific error ? And, can you share your jtable code ?
Thanks.
Hi,
I was able to take a look at this issue. According to ASP.NET Core design, it seems like we need to provide a supported language list in the application startup. If we add a new language, applicaion must be restarted.
You can find the comment about this issue here <a class="postlink" href="https://github.com/aspnet/Localization/issues/111#issuecomment-209539299">https://github.com/aspnet/Localization/ ... -209539299</a>.
We will try to find a way to do this without an application restart. I will let you know when we done it.
In the mean time, can you try your scenario according to this info.
Please follow these steps
Thanks.
Hi,
You dont have to upgrade to ABP 1.0, it was just a suggestion. The solution of your problem is:
First of all, it's not a good idea to store entities in the redis cache. Because entities can always have serialization problems (related to lazy loading, proxying or navigation properties). Even if you serialize and cache it, there may be other problems after getting it from the cache (because it will be out of dbcontext). These problems are not directly related to ABP framework.
So, create a DTO-like cache item which is marked as [Serializable] and contains only needed properties. Then map your entity to that cache item and store it.
Ok,
Let's continue like this then. I'm not actually sure about it.
Can you try couple of things.
$('.date-picker').datepicker({
orientation: "left",
autoclose: true
});
Hi,
Can you try the check value of "moment.locale()" when grid is not showing correct datea for italian language ? And can you send me the grid column definition for that date column ?
I want to reproduce the problem.
Thanks.
Hi,
How do you create grid columns, dynamically ? And which version of ui grid do you use ? I'm not sure but I think there was a similar issue with an older version.
You can also call refresh of gridApi manually. <a class="postlink" href="http://ui-grid.info/docs/#/api/ui.grid.core.api:PublicApi">http://ui-grid.info/docs/#/api/ui.grid. ... :PublicApi</a>