<cite>ismcagdas: </cite> Hi,
If you are not using angular2 version, you need to install this extension <a class="postlink" href="https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebCompiler">https://marketplace.visualstudio.com/it ... ebCompiler</a>.
Otherwise it should be done by angular-cli.
Thanks.
I found that there are some of the .LESS files is included with .css.map files and some are not. May I know why is it needed and how is it being created?
Thanks. /Tommy
<cite>tteoh: </cite>
<cite>ismcagdas: </cite> Hi,
Conversely, whenever user selec the same language as current application/tenant default language, the specified user entry will be removed.
I think related issue is not going to change this behaviour. Do you have a problem specific to this behaviour ?
Thanks.
It's allowing the system to always show the logged in user preferred language once set; otherwise, behave as current, using system default language.
By default configuration, there is always a system default language. If this setting is missing then only fall back for Server's language.
My problem is right now, regardless what language the user has selected, it will be reset at next login or using another device/computer.
Thanks. /tommy
Hi Support,
The upgrade was for AspNetZero Template v3.2 from ABP v1.5.0 to v2.1.3. It was only successful after making some changes to the AspNetZero template codes.
I conducted the test by creating User1 and User2 with different language set as preference. Validated AbpSettings table on records were created. However, the test result is 'negative'. After logged out and login again, the system DOES NOT show the user preferred language.
With reference to the link below, I am using MVC5+AJ1 and it appears this fix is not relevant to my issue as you mentioned previously. Correct? <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/2162">https://github.com/aspnetboilerplate/as ... ssues/2162</a>
Thanks. /Tommy
<cite>tteoh: </cite>
<cite>tteoh: </cite> <cite>ismcagdas: </cite> Hi @tteoh,
In order to solve only this problem, you just need to upgrade all nuget packages which starts with Abp.*. We will be happy to help if you face any problems.
Thanks.
Hi, I really "clueless" on how to "upgrade all nugget packages which starts with Abp.*" in Visual Studio. Thanks in advance.
/Tommy
Dear Support,
I have managed to upgrade the abp nugget packages following this link: <a class="postlink" href="https://docs.microsoft.com/en-us/nuget/tools/package-manager-ui">https://docs.microsoft.com/en-us/nuget/ ... manager-ui</a>
However, I encountered the following error when reached:
- Abp.Zero
- Abp.Zero.Common (dependent package)
I realized Abp.Zero.Common is a new package that was not installed on version 1.5.0.
When I attempt to compile the solution, I hit the following error:
1>------ Rebuild All started: Project: OUD.Core, Configuration: Debug Any CPU ------ 1> Restoring NuGet packages... 1> To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'. 1> All packages listed in packages.config are already installed. 1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\Ldap\AppLdapAuthenticationSource.cs(8,48,8,86): error CS7069: Reference to type 'DefaultExternalAuthenticationSource<,>' claims it is defined in 'Abp.Zero', but it could not be found 1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\Ldap\AppLdapAuthenticationSource.cs(8,18,8,45): error CS0311: The type 'OUD.MultiTenancy.Tenant' cannot be used as type parameter 'TTenant' in the generic type or method 'LdapAuthenticationSource<TTenant, TUser>'. There is no implicit reference conversion from 'OUD.MultiTenancy.Tenant' to 'Abp.MultiTenancy.AbpTenant<OUD.Authorization.Users.User>'. 1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\Ldap\AppLdapAuthenticationSource.cs(8,18,8,45): error CS7069: Reference to type 'AbpTenant<>' claims it is defined in 'Abp.Zero', but it could not be found 1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\Ldap\AppLdapAuthenticationSource.cs(10,44,10,57): error CS7069: Reference to type 'DefaultExternalAuthenticationSource<,>' claims it is defined in 'Abp.Zero', but it could not be found 1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\Ldap\AppLdapAuthenticationSource.cs(10,68,10,92): error CS7069: Reference to type 'DefaultExternalAuthenticationSource<,>' claims it is defined in 'Abp.Zero', but it could not be found 1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\PermissionChecker.cs(11,38,11,75): error CS0308: The non-generic type 'PermissionChecker' cannot be used with type arguments
Opening the cs file "C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\PermissionChecker.cs":
using Abp.Authorization; using OUD.Authorization.Roles; using OUD.Authorization.Users; using OUD.MultiTenancy; namespace OUD.Authorization { /// <summary> /// Implements <see cref="PermissionChecker"/>. /// </summary> public class PermissionChecker : PermissionChecker<Tenant, Role, User> { public PermissionChecker(UserManager userManager) : base(userManager) { } } }
The "using Abp.Authorization" is no longer referenced.
Please help. /Tommy
Dear Support,
Managed to resolve the compilation issue pertaining to above based on the link below: <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/issues/380">https://github.com/aspnetboilerplate/mo ... issues/380</a>
Thanks. /Tommy
<cite>tteoh: </cite>
<cite>ismcagdas: </cite> Hi @tteoh,
In order to solve only this problem, you just need to upgrade all nuget packages which starts with Abp.*. We will be happy to help if you face any problems.
Thanks.
Hi, I really "clueless" on how to "upgrade all nugget packages which starts with Abp.*" in Visual Studio. Thanks in advance.
/Tommy
Dear Support,
I have managed to upgrade the abp nugget packages following this link: <a class="postlink" href="https://docs.microsoft.com/en-us/nuget/tools/package-manager-ui">https://docs.microsoft.com/en-us/nuget/ ... manager-ui</a>
However, I encountered the following error when reached:
I realized Abp.Zero.Common is a new package that was not installed on version 1.5.0.
When I attempt to compile the solution, I hit the following error:
1>------ Rebuild All started: Project: OUD.Core, Configuration: Debug Any CPU ------
1> Restoring NuGet packages...
1> To prevent NuGet from downloading packages during build, open the Visual Studio Options dialog, click on the Package Manager node and uncheck 'Allow NuGet to download missing packages'.
1> All packages listed in packages.config are already installed.
1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\Ldap\AppLdapAuthenticationSource.cs(8,48,8,86): error CS7069: Reference to type 'DefaultExternalAuthenticationSource<,>' claims it is defined in 'Abp.Zero', but it could not be found
1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\Ldap\AppLdapAuthenticationSource.cs(8,18,8,45): error CS0311: The type 'OUD.MultiTenancy.Tenant' cannot be used as type parameter 'TTenant' in the generic type or method 'LdapAuthenticationSource<TTenant, TUser>'. There is no implicit reference conversion from 'OUD.MultiTenancy.Tenant' to 'Abp.MultiTenancy.AbpTenant<OUD.Authorization.Users.User>'.
1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\Ldap\AppLdapAuthenticationSource.cs(8,18,8,45): error CS7069: Reference to type 'AbpTenant<>' claims it is defined in 'Abp.Zero', but it could not be found
1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\Ldap\AppLdapAuthenticationSource.cs(10,44,10,57): error CS7069: Reference to type 'DefaultExternalAuthenticationSource<,>' claims it is defined in 'Abp.Zero', but it could not be found
1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\Ldap\AppLdapAuthenticationSource.cs(10,68,10,92): error CS7069: Reference to type 'DefaultExternalAuthenticationSource<,>' claims it is defined in 'Abp.Zero', but it could not be found
1>C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\PermissionChecker.cs(11,38,11,75): error CS0308: The non-generic type 'PermissionChecker' cannot be used with type arguments
Opening the cs file "C:\Users\Admin\Source\Workspaces\OUD\OUD\OUD.Core\Authorization\PermissionChecker.cs":
using Abp.Authorization;
using OUD.Authorization.Roles;
using OUD.Authorization.Users;
using OUD.MultiTenancy;
namespace OUD.Authorization
{
/// <summary>
/// Implements <see cref="PermissionChecker"/>.
/// </summary>
public class PermissionChecker : PermissionChecker<Tenant, Role, User>
{
public PermissionChecker(UserManager userManager)
: base(userManager)
{
}
}
}
The "using Abp.Authorization" is no longer referenced.
Please help. /Tommy
<cite>ismcagdas: </cite> Hi @tteoh,
In order to solve only this problem, you just need to upgrade all nuget packages which starts with Abp.*. We will be happy to help if you face any problems.
Thanks.
Hi, I really "clueless" on how to "upgrade all nugget packages which starts with Abp.*" in Visual Studio. Thanks in advance.
/Tommy
<cite>ismcagdas: </cite> Hi,
You just need to upgrade nuget packages (Abp.* packages). After that, you need to follow changes in both releases <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/releases">https://github.com/aspnetboilerplate/as ... e/releases</a> and <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/releases">https://github.com/aspnetboilerplate/mo ... o/releases</a>
We don't have a documentation for this but, if you have any problems during upgrade, we can try to help.
Thanks.
Hi Support,
Currently, I am using AspNetZero project template and had made changes to the codes. The link provided include both abp and modulezero, do I need to update both or just abp?
I do need your help on how to upgrade the new releases coz I don't even have an idea where to start.
Thanks. /Tommy
<cite>tteoh: </cite>
<cite>ismcagdas: </cite> Hi @tteoh,
Which version of Typescript do you use in your project ? I think you can upgrade it, this is just related to tooling.
Thanks.
I run from Developer Command Prompt for VS2015, it shows "Version 1.0.3.0"
However, I am not sure how to check the current TypeScript used for AspNetZero solution. Appreciate your advice.
Thanks. /Tommy
Hi Support,
Sorry for the miscommunication above. Every moment is a learning moment for me.
Just realized the version provided in the developer command prompt is not so accurate. Based on "C:\Program Files (x86)\Microsoft SDKs\TypeScript" path, I have version 1.8 and 2.2 installed.
Based on .Web csproj file, the config shows "<TypeScriptToolsVersion>2.1</TypeScriptToolsVersion>"
What should be the correct config?
Thanks. /Tommy
<cite>ismcagdas: </cite> Hi,
For AspNet Zero probalby in next two weeks. But ABP has a prerelease package and probably it will be released next week. You can upgrade your ABP packages to v2.1.0-beta4 and see if your problem is fixed.
Thanks.
Dear Support,
May I know what's the steps to upgrade to ABP v2.1? I will be doing this for the "first-time". Appreciate your guidance.
Thanks. /Tommy
<cite>ismcagdas: </cite> Hi @tteoh,
Which version of Typescript do you use in your project ? I think you can upgrade it, this is just related to tooling.
Thanks.
I run from Developer Command Prompt for VS2015, it shows "Version 1.0.3.0"
However, I am not sure how to check the current TypeScript used for AspNetZero solution. Appreciate your advice.
Thanks. /Tommy
Dear Support,
Managed to resolved the issue as below:
The current form does not show the newly added phone number. Therefore, have to call vm.getPeople() function to refresh the screen
As mentioned in (1), have to call vm.getPeople() function to refresh the view and remove the code phone.number = ''
Have the make the following code changes:
The above the user experience I felt is incomplete on the PhoneBook exercise as part of learning the framework.
Thanks. /Tommy