Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "kworkme"

Hi,

Could you share your AppService and its interface ?

May I have your email address?

Yes, I already add UoW to ViewComponent manually, but my custom App Services are still show error "ArgumentNullException: Value cannot be null. (Parameter 'unitOfWork')". What should I do here to check if I missed something?

My App Service is inherit from AppServiceBase and it's interface

Thank you, it is okay now

Btw, there is another issue relate to UniOfWork, after upgrading, I need to add [UnitOfWork] to some AppService and ViewComponent to made it work, but I don't see it on original project. What should I do to avoid issue of UoW is null

I'm facing this error everytime open page "CreateOrEdit". It's error at "abp.ajax" to call modal for select (selectedEntityId)

Another issue is about AntiForgeryToken when I click Save button, I'm not sure how to set it on Startup.cs, also tried to add and remove but still not working. Could u help me check this?

Hi @kworkme,

Also, are the entities in the navigation properties still included in your project? Based on the first JSON file you sent, is the AIReplyTranslation entity still in your project?

Yes, it is similar to PreconditionTranslation on screenshot above. It is Multi-lingual entity for AIReply class. If you don't recommend this way, what should I do to fix? I also followed exactly tutorial on https://aspnetboilerplate.com/Pages/Documents/Multi-Lingual-Entities

Thank you for quickly support. We have been using version 10.x.x for quite some time now and we have decided to upgrade our project to latest version 13.x.x.

During the upgrading, we are facing some problems. Could you please help to live support via chat (Google Meet)? It seems that there are significant changes from version 10.x.x to 13.x.x. Therefore, I may need you help to review the conflict codes and give recommend about upgrading and implementation to make project work stable and smoothly.

Thank you, I already fixed it manually. I will wait for next version of tool.

{
  "IsRegenerate": true,
  "MenuPosition": "main",
  "RelativeNamespace": "Bots",
  "EntityName": "ScheduleDay",
  "EntityNamePlural": "ScheduleDaySet",
  "TableName": "ScheduleDaySet",
  "PrimaryKeyType": "Guid",
  "BaseClass": "FullAuditedEntity",
  "EntityHistory": false,
  "AutoMigration": true,
  "UpdateDatabase": true,
  "CreateUserInterface": true,
  "CreateViewOnly": true,
  "CreateExcelExport": true,
  "CreateExcelImport": true,
  "IsNonModalCRUDPage": true,
  "IsMasterDetailPage": false,
  "GenerateOverridableEntity": false,
  "GenerateUnitTest": false,
  "GenerateUiTest": false,
  "PagePermission": {
    "Host": true,
    "Tenant": true
  },
  "Properties": [
    {
      "Name": "WeekDay",
      "Type": "int",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "TimeStart1",
      "Type": "DateTime",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": true,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "TimeStop1",
      "Type": "DateTime",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": true,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "TimeStart2",
      "Type": "DateTime",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": true,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "TimeStop2",
      "Type": "DateTime",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": true,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    }
  ],
  "NavigationProperties": [
    {
      "Namespace": "Kw.BA.Bots",
      "ForeignEntityName": "Schedule",
      "ForeignEntityNamePlural": "Schedules",
      "IdType": "Guid",
      "IsNullable": false,
      "PropertyName": "ScheduleId",
      "DuplicationNumber": 0,
      "RelationType": "single",
      "ViewType": "LookupTable",
      "DisplayPropertyNameInfos": {
        "MergeFormat": "{0}",
        "DisplayPropertyNames": [
          "Name"
        ]
      }
    }
  ],
  "NavigationPropertyOneToManyTables": [],
  "EnumDefinitions": [],
  "DbContext": null
}
{
  "IsRegenerate": true,
  "MenuPosition": "main",
  "RelativeNamespace": "Bots",
  "EntityName": "AIReply",
  "EntityNamePlural": "AIReplySet",
  "TableName": "AIReplySet",
  "PrimaryKeyType": "Guid",
  "BaseClass": "FullAuditedEntity",
  "EntityHistory": true,
  "AutoMigration": true,
  "UpdateDatabase": true,
  "CreateUserInterface": true,
  "CreateViewOnly": true,
  "CreateExcelExport": true,
  "CreateExcelImport": true,
  "IsNonModalCRUDPage": true,
  "IsMasterDetailPage": false,
  "GenerateOverridableEntity": false,
  "GenerateUnitTest": false,
  "GenerateUiTest": false,
  "PagePermission": {
    "Host": true,
    "Tenant": true
  },
  "Properties": [
    {
      "Name": "Code",
      "Type": "string",
      "MaxLength": 50,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "Comment",
      "Type": "string",
      "MaxLength": 900,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "MinLoopCount",
      "Type": "int",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "Text",
      "Type": "string",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "Name",
      "Type": "string",
      "MaxLength": 250,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "Command",
      "Type": "string",
      "MaxLength": 100,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "DelayAfter",
      "Type": "int",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": true,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "VariableName",
      "Type": "string",
      "MaxLength": 250,
      "MinLength": 0,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "RegexPatternForVariable",
      "Type": "string",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": false,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "NoOfVariableChecking",
      "Type": "int",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": false,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "SkipMessageIfVariableFilled",
      "Type": "bool",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": false,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    },
    {
      "Name": "EnableAIEditing",
      "Type": "bool",
      "MaxLength": -1,
      "MinLength": -1,
      "Range": {
        "IsRangeSet": false,
        "MinimumValue": 0.0,
        "MaximumValue": 0.0
      },
      "Required": false,
      "Nullable": false,
      "Regex": "",
      "IsMultiLingual": false,
      "UserInterface": {
        "AdvancedFilter": true,
        "List": true,
        "CreateOrUpdate": true
      },
      "ViewType": null,
      "AdditionalData": {}
    }
  ],
  "NavigationProperties": [
    {
      "Namespace": "Kw.BA.Bots",
      "ForeignEntityName": "UseCase",
      "ForeignEntityNamePlural": "UseCases",
      "IdType": "Guid",
      "IsNullable": false,
      "PropertyName": "UseCaseId",
      "DuplicationNumber": 0,
      "RelationType": "single",
      "ViewType": "LookupTable",
      "DisplayPropertyNameInfos": {
        "MergeFormat": "{0}",
        "DisplayPropertyNames": [
          "Name"
        ]
      }
    },
    {
      "Namespace": "Kw.BA.Bots",
      "ForeignEntityName": "AIReplyTranslation",
      "ForeignEntityNamePlural": "AIReplyTranslations",
      "IdType": "Guid",
      "IsNullable": true,
      "PropertyName": "AIReplyTranslationId",
      "DuplicationNumber": 0,
      "RelationType": "single",
      "ViewType": "LookupTable",
      "DisplayPropertyNameInfos": {
        "MergeFormat": "{0}",
        "DisplayPropertyNames": [
          "Text"
        ]
      }
    }
  ],
  "NavigationPropertyOneToManyTables": [],
  "EnumDefinitions": [],
  "DbContext": null
}
Showing 1 to 9 of 9 entries