Activities of "Anjali_Musmade"

Hi ElifKaya,

As you are trying to hard delete the parent it is throwing error, since the child entities have the parent entity reference (ModelId). By implementing ISoftDelete it is setting IsDeleted to "true", so the reference will exist. So either you can set soft delete for both parent and child entities, or set hard deletion for both.

Also you can try cascade try: .OnDelete(DeleteBehavior.Cascade)

FYI: https://docs.abp.io/api-docs/abp/3.1/api/Volo.Abp.ISoftDelete.html Also please refer previous ticket related to this : https://support.aspnetzero.com/QA/Questions/493/Delete-Parent-Child-Data-in-ABP https://support.abp.io/QA/Questions/1136/Is-there-a-good-way-to-delete-related-records

please do let me know if this helps you

Thank you, Anjali

Hello aqudah81,

We have added your package.json file changes and tried to resolve compile errors with the below code of package.json I am able to compile at my end.

{
    "name": "Expense",
    "version": "0.0.0",
    "scripts": {
    "ng": "ng",
    "start": "ng serve --open",
    "build": "ng build",
    "build:prod": "ng build --configuration production",
    "watch": "ng build --watch --configuration development",
    "test": "ng test",
    "lint": "ng lint",
    "compile:ivy": "yarn ngcc --properties es2015 browser module main --first-only --create-ivy-entry-points --tsconfig './tsconfig.prod.json' --source node_modules"
    },
    "private": true,
    "dependencies": {
    "@abp/ng.account": "~7.3.3",
    "@abp/ng.components": "~7.3.3",
    "@abp/ng.core": "~7.3.3",
    "@abp/ng.oauth": "~7.3.3",
    "@abp/ng.identity": "~7.3.3",
    "@abp/ng.setting-management": "~7.3.3",
    "@abp/ng.tenant-management": "~7.3.3",
    "@abp/ng.theme.shared": "~7.3.3",
    "@angular/animations": "~16.0.0",
    "@angular/common": "~16.0.0",
    "@angular/compiler": "~16.0.0",
    "@angular/core": "~16.0.0",
    "@angular/forms": "~16.0.0",
    "@angular/localize": "~16.0.0",
   "@angular/platform-browser": "~16.0.0",
    "@angular/platform-browser-dynamic": "~16.0.0",
    "@angular/router": "~16.0.0",
    "@boldreports/angular-reporting-components": "^5.2.27",
    "@syncfusion/ej2-angular-buttons": "^20.4.38",
    "@syncfusion/ej2-angular-calendars": "^20.4.38",
    "@syncfusion/ej2-angular-dropdowns": "^20.4.38",
    "@syncfusion/ej2-angular-image-editor": "^21.1.41",
    "@syncfusion/ej2-angular-inputs": "^20.4.38",
    "@syncfusion/ej2-angular-lists": "^20.4.38",
    "@syncfusion/ej2-angular-navigations": "^20.4.38",
    "@syncfusion/ej2-angular-pdfviewer": "^20.4.38",
    "@syncfusion/ej2-base": "^20.4.38",
    "@syncfusion/ej2-data": "^20.4.38",
    "@volo/abp.commercial.ng.ui": "~7.3.3",
    "@volo/abp.ng.account": "~7.3.3",
    "@volo/abp.ng.audit-logging": "~7.3.3",
    "@volo/abp.ng.gdpr": "~7.3.3",
    "@volo/abp.ng.identity": "~7.3.3",
    "@volo/abp.ng.identity-server": "~7.3.3",
    "@volo/abp.ng.language-management": "~7.3.3",
    "@volo/abp.ng.saas": "~7.3.3",
    "@volo/abp.ng.text-template-management": "~7.3.3",
    "@volosoft/abp.ng.theme.lepton-x": "~2.3.0",
    "@volo/abp.ng.openiddictpro": "~7.3.3",
    "angular-ng-autocomplete": "^2.0.12",
    "angular2-query-builder": "^0.6.2",
    "cldr-data": "^36.0.1",
    "dayjs": "^1.11.2",
    "moment": "^2.29.3",
    "ng-http-caching": "^14.0.3",
    "ng-multiselect-dropdown": "^0.3.8",
    "object-hash": "^3.0.0",
    "rxjs": "7.8.1",
    "save-dev": "^0.0.1-security",
    "tslib": "^2.1.0",
   "typed-assert": "^1.0.9",
    "zone.js": "~0.13.3"
    },
    "devDependencies": {
    "@abp/ng.schematics": "~7.3.3",
    "@angular-devkit/build-angular": "~16.0.0",
    "@angular-eslint/builder": "~16.0.0",
    "@angular-eslint/eslint-plugin": "~16.0.0",
    "@angular-eslint/eslint-plugin-template": "~16.0.0",
    "@angular-eslint/schematics": "~16.0.0",
    "@angular-eslint/template-parser": "~16.0.0",
    "@angular/cli": "~16.0.0",
    "@angular/compiler-cli": "~16.0.0",
    "@angular/language-service": "~16.0.0",
    "@boldreports/types": "^5.2.27",
    "@types/jasmine": "~3.6.0",
    "@types/node": "^12.11.1",
    "@typescript-eslint/eslint-plugin": "^5.59.2",
    "@typescript-eslint/parser": "^5.59.2",
   "eslint": "^8.39.0",
    "jasmine-core": "~4.0.0",
    "karma": "~6.3.0",
    "karma-chrome-launcher": "~3.1.0",
    "karma-coverage": "~2.1.0",
    "karma-jasmine": "~4.0.0",
    "karma-jasmine-html-reporter": "^1.7.0",
    "ng-packagr": "^16.0.1",
    "typescript": "~5.0.4"
    }
    }

if you are facing issues for ngxDatatable then please refer this https://support.abp.io/QA/Questions/5633/ScrollBarHelper-error-with-angular-module-federation

please do let me know if this helpful for you

Thank you, Anjali

Hello ademaygun,

Please have look to this https://docs.abp.io/en/abp/latest/Exception-Handling#business-exceptions

I think business exception are something user can define on there own, so that's why it is not predefined For example you can see how asp.net is also throwing argumentnull exception in there domain class https://github.com/aspnet/AspNetIdentity/blob/main/src/Microsoft.AspNet.Identity.Core/UserManager.cs#L435

if you want the entity to generate BusinessException when you are creating entity from abp suite you can customize the template

See below link https://docs.abp.io/en/commercial/latest/abp-suite/editing-templates

please do let me know if found helpful

Thank you, Anjali

Hi

you need to add the package.json dependencies in the main web module only, in that way it will be accessible to your custom module project

Hi ElifKaya,

Can you please confirm whether you are implementing ISoftDelete for your parent entity also, in your case for Model entity ?

Thank you, Anjali

Hi,

can you share public_api.ts of the module that you have published to npm?

Hello gunpal5,

Please have look to this if it helps you https://support.abp.io/QA/Questions/5102/Error-Detail-not-sent-by-server-after-deploy-angular#answer-3a0b5b2b-5390-14d6-4398-f357f04a8388

do let me know if anything else needed

Thank you, Anjali

Hello gunpal5,

Please change https to http in your URL and also try to change this in environment.ts file at frontend

 requireHttps: false

and appsettings.json file at backend

"RequireHttpsMetadata": "false",

Check whether Authorization is working fine from swagger? Can you please confirm the URLs in database are modified to the deployed application URLs?

please do let me know if this found helpful

Thank you, Anjali

Thanks for your response

I will check and get back to you asap

Regards

Hello Sraman,

please have look to this https://community.abp.io/posts/integrating-the-syncfusion-mvc-components-to-the-abp-mvc-ui-0gpkr1if

please do let me know if found helpful

Thank you, Anjali

Showing 811 to 820 of 1087 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30