Skip to content

Upgrading from Intent.Security.JWT 4.2.5 to 4.3.1 doesn't create CurrentUser record #147

@LiamJG26

Description

@LiamJG26

What happened?

I upgraded the module and I then had a compile error in Project.Api/Service/CurrentUserService.cs:

Image

I looked through the module source code and saw that it was supposed to add a CurrentUser record. I deleted the CurrentUserService.cs and then ran the software factory and it generated correctly:

Initial change:
Image

Change after deleting CurrentUserService.cs:

Image

This was part of a pretty big upgrade that also required reinstalling 2 modules due to template registration error I received when running the software factory. I don't remember what those 2 modules were though.

Ultimately this is not an issue anymore but it seemed to point to a bigger issue with the generation of certain parts of code.

I've attached my old CurrentUserService.cs, old modules config and new modules config in this zip file if that helps:

CurrentUserService.zip

How is This Issue Affecting You?

✅ I have a workaround, but a fix would be ideal (Minor)

What version of Intent Architect are you using?

4.5.14

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions