Activities of "HDaoud"

  • ABP Framework version: v8.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Exception message and full stack trace:
ERROR Error: NG01203: No value accessor for form control name: 'password'. Find more at https://angular.io/errors/NG01203
    at _throwMissingValueAccessorError (forms.mjs:3174:11)
    at setUpControl (forms.mjs:2947:13)
    at FormGroupDirective.addControl (forms.mjs:4794:9)
    at FormControlName._setUpControl (forms.mjs:5382:43)
    at FormControlName.ngOnChanges (forms.mjs:5327:18)
    at FormControlName.rememberChangeHistoryAndInvokeOnChangesHook (core.mjs:2510:14)
    at callHookInternal (core.mjs:3544:14)
    at callHook (core.mjs:3575:9)
    at callHooks (core.mjs:3526:17)
    at executeInitAndCheckHooks (core.mjs:3476:9)
  • Steps to reproduce the issue: We have a form to add employees and we use it to feed the users table (create user, assign role and password), when upgraded to 8.1 we got this error in angular.

hi

Can you share your change-password.component.ts code?

Hi Liming

Here is where the 403 seems to come from (zone.js). I couldn't find the file you asked for.

I couldn't produce in my local.

Could you share response of change password of your code ?

Thanks Mahmut for your reply, here is what I got when I used the wrong password.

If I click on ok for the swal popup I get this

The response matches yours:

hi

HTTP return 403

Can you share the logs.txt?

liming.ma@volosoft.com

sent

you can close this ticket if it's closed for you.

Thanks Alper and team, the initial issue is resolved. However, It's still showing server error when the current password is wrong, so the solution needs to address that. In any case, I will ask Vipul to close this ticket.

It is working now here is what was done: 1- update CLI to v7.4.2 abp cli update 2- abp update in the project root folder 3- in the project root folder run abp install-libs (could be useless as in the next step I delete all packages) 4- In angular, delete node_modules, and all lock files package and yarn. (This is very important step) 5- run npm install

It's working. However, if you enter a wrong password, it shows wrong password followed by Server error 403

If the problem in the service file or replacable component, I had share a workarond but the component only fix with update and The uploaded was released.

I rerun the update on another directory and now getting this: did you mean updating to 7.4.2?

I run abp update and updated to v7.4.2 in the root folder of my aspnetcore and angular folders, the issue remains. I deleted the node_modules and cleared npm cache and run npm install again, now I am having new issue the whole angular solution is not loading!!

Thanks, the missing tables are added now.

  • Run the dotnet ef migrations upgrade_to_ABP7_4 command in the .EntityFrameworkCore project
  • Run the dbmigration Hi Liang, I am getting this error
Showing 1 to 10 of 26 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11