Activities of "toptis"

  • ABP Framework version: v5.3.1
  1. How can I create BackgroundJob To execute just once (if an exception occurred) make it abandoned "true" and don't retry the job.
  2. How can I remove old abandoned jobs after 1 day.

ok please send me the issue link on Github so I can track it, please

Hello, I think the steps explained were so clear that you could re-create this problem. Anyway, I created and commented on a new project and sent it to your email. Search'problem-step' in the angular project to find steps. It is important to know that I didn't make any changes to the project except where I commented.

Please follow up as soon as possible.

Angular Version is 13.3.3 And no I have not injected anything yet steps are clear. I don't do anything else with project yet except the steps I explained in my main question.

  • ABP Framework version: v5.3.0
  • UI type: Angular
  • DB provider: EF Core

I created an EF Core + Angular application. Then, I added a custom module using the ABP suite named Start It created backend projects in the aspnet-core/modules folder and angular project in the angular/projects folder.

first, i edited tsconfig.json: "@top-tis.project-name/start": [ "projects/TopTis.project-name.Start/projects/start/src/public-api.ts" ], "@top-tis.project-name/start/config": [ "projects/TopTis.project-name.Start/projects/start/config/src/public-api.ts" ],

I added lazy loading of this new module in my main app-routing.module.ts: { path: 'start', loadChildren: () => import('@top-tis.project-name/start').then(m => m.StartModule.forLazy()), }

Then, Imported the ConfigModule in my app.module.ts

StartConfigModule.forRoot(),

At last, I added a route in my route.provider.ts

{ path: '/start', name: 'StartMenu' }

http://localhost:4200/start Dos not work and I have the below error in the console

core.mjs:6494 ERROR Error: Uncaught (in promise): Error: NG0203: inject() must be called from an injection context Error: NG0203: inject() must be called from an injection context at injectInjectorOnly (core:4768:1) at Module.ɵɵinject (core:4778:1) at Object.RouterModule_Factory [as factory] (router.mjs:5861:1) at R3Injector.hydrate (core.mjs:11494:1) at R3Injector.get (core.mjs:11313:1) at core.mjs:11351:1 at Set.forEach (<anonymous>) at R3Injector._resolveInjectorDefTypes (core.mjs:11351:1) at new NgModuleRef (core.mjs:21881:1) at NgModuleFactory.create (core.mjs:21935:1) at resolvePromise (zone.js:1211:1) at resolvePromise (zone.js:1165:1) at zone.js:1278:1 at _ZoneDelegate.invokeTask (zone.js:406:1) at Object.onInvokeTask (core.mjs:25595:1) at _ZoneDelegate.invokeTask (zone.js:405:1) at Zone.runTask (zone.js:178:1) at drainMicroTaskQueue (zone.js:585:1)

1- menu does not show any "START" 2-http://localhost:4200/start Dos not work and I have below error in the console

core.mjs:6494 ERROR Error: Uncaught (in promise): Error: NG0203: inject() must be called from an injection context Error: NG0203: inject() must be called from an injection context at injectInjectorOnly (core:4768:1) at Module.ɵɵinject (core:4778:1) at Object.RouterModule_Factory [as factory] (router.mjs:5861:1) at R3Injector.hydrate (core.mjs:11494:1) at R3Injector.get (core.mjs:11313:1) at core.mjs:11351:1 at Set.forEach (<anonymous>) at R3Injector._resolveInjectorDefTypes (core.mjs:11351:1) at new NgModuleRef (core.mjs:21881:1) at NgModuleFactory.create (core.mjs:21935:1) at resolvePromise (zone.js:1211:1) at resolvePromise (zone.js:1165:1) at zone.js:1278:1 at _ZoneDelegate.invokeTask (zone.js:406:1) at Object.onInvokeTask (core.mjs:25595:1) at _ZoneDelegate.invokeTask (zone.js:405:1) at Zone.runTask (zone.js:178:1) at drainMicroTaskQueue (zone.js:585:1)

I have the exact same problem after creating a module with ABP suite and adding module config to the main project module and adding the route module dos not show in the main project

Thanks a lot Downgrading the RxJS to 6.6.7 worked. I have been searching a lot for this proplem it takes almost a day for me. can we expect a fix for this problem in the upcoming update?

{"id_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6Ijk2MzdDRDNENDI2RkUwQkJCNDYzREJBNkIwRjMwOTlDIiwidHlwIjoiSldUIn0.eyJuYmYiOjE2NDEzMTQ5MzIsImV4cCI6MTY0MTMxNTIzMiwiaXNzIjoiaHR0cHM6Ly9pZC4ydHAuaXIiLCJhdWQiOiJUb3VyaXN0UGFuZWxfQXBwIiwiaWF0IjoxNjQxMzE0OTMyLCJhdF9oYXNoIjoiQWJIaVUtVWo3cE1qazhLdmtieDRIQSIsInN1YiI6ImMwZjI4YmU3LTNmN2UtODk4Ni01MWMwLTNhMDEzNzI0OTA0ZCIsImF1dGhfdGltZSI6MTY0MTI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xNjQxMjk3ODg4LCJpZHAiOiJsb2NhbCIsImh0dHA6Ly9zY2hlbWFzLnhtbHNvYXAub3JnL3dzLzIwMDUvMDUvaWRlbnRpdHkvY2xhaW1zL2dpdmVubmFtZSI6ImFkbWluIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWRtaW4iLCJnaXZlbl9uYW1lIjoiYWRtaW4iLCJyb2xlIjoiYWRtaW4iLCJwaG9uZV9udW1iZXIiOiIwOTEyMDMyMjg1NCIsInBob25lX251bWJlcl92ZXJpZmllZCI6IlRydWUiLCJlbWFpbCI6IjA5MTIwMzIyODU0QDJ0cC5pciIsImVtYWlsX3ZlcmlmaWVkIjoiVHJ1ZSIsIm5hbWUiOiJhZG1pbiIsInNpZCI6Ijc1NzBEMEZDNTE3QTIzNUJENkE2RENDODkzNDEzMjE1IiwiaWF0IjoxNjQxMzE0OTAzLCJzY29wZSI6WyJvcGVuaWQiLCJwcm9maWxlIiwicm9sZSIsImVtYWlsIiwicGhvbmUiLCJUb3VyaXN0UGFuZWwiLCJvZmZsaW5lX2FjY2VzcyJdLCJhbXIiOlsicHdkIl19.Gd_fu4M6b7UOKi200-O0R_ahnGEopbNH-GgKIoZAsUGGF66PPdqaCv-69m7oRFFBq6kuMbJcxbIMIMx46QlqGz57hrmLR_H-0F7QVmGWVKfcTN2wqyn5KGwb3aJcZvtzhV99nFAST4Jx9kZkeEEhs-8m3pI40ty1-stuA1u99P04tfCt8Qr52YySAW1MnShCBp3KcJ0S7Z6-WyxzpEa7qLRK7nN1CXVJ-uh1CTNPAqSlmw60SZtRqgHvHdITFb2znoo2HVBnTNRCVZf5BqetjKFi1DmffPsr9WS3E-fjs76cijeFb9NlK8gX0mvQr71ryLiLhdbkWiklfNz2ODCYHA","expires_in":31536000,"token_type":"Bearer","refresh_token":"994625A468E347C5AC0D063F2606B6A34AD77815A0976BE099CD086E02F82665","scope":"openid profile role email phone TouristPanel offline_access"}

access_token : eyJhbGciOiJSUzI1NiIsImtpZCI6Ij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UdnItfo1xqV3dE4acw5jP6nIJVhBG858BaJjSgQcKJgiTr3n5hTW2D0Rt7fTPoefeOf4a-t6PAig5cqurV4iY6RzkCFR8FDqWXe0G9AK8OHc7StczBRsJ1aAQk1Nddr5ZmrdJ1O0SsAjPjZoBu7e3g8ZcmR-UJxjKZ30no7VVA

refresh_token: 845911AA64EB54E6BF57604F251CF9593F69D18FE60A0D5136B53673E9249845

Showing 1 to 10 of 11 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 13, 2024, 06:09