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

Activities of "TimMackey"

When did "similar issues reported by other developers" become a criteria for responding to a support request?

@ryancyq - I don't understand how to do what you're suggesing. Specifically, how is a user-defined string added to the correct row in the table? Could you please provide more detailed information? To summarize, I want to add a custom string that originates on the client (at login) in a new column in AbpUserLoginAtttempts table.

@ryancyq - Thank you for your comment and directing me to the source code :)

It seems my only choices are:

  1. Download ABP source code and modify it to meet my requirement. This choice would be impractible as maintainence would be a nightmare.
  2. Duplicate all this information in a new table of my own design, which would be the same columns as AbpUserLoginAtttempts plus my custom columns, and create another similar client UI. Grossly inefficient, but doable.
  3. Implore ANZ to design a solution to my problem (custom data). Here are couple of suggestions: A. Make AbpUserLoginAtttempts Id available (via UserManager?) and extend the class using this method recommended by @maliming. B. Add a UserDefined column of type string to AbpUserLoginAtttempts table, and modify LogInManager.LoginAsync method with an additional optional argument (i.e. string OptionalUserDefined = string.Empty). This technique would allow a developer to define literally any structure encoded as a JSON string, inhibit update/create access to the table, and not affect existing implementations.

To use any table "normally" one must know which Id (row) to update. Which row should my code update for the logged-in user?

I have been unable to find any code that writes to this table. Could you please direct me to a file which does this?

The only examples I can find are retrieving all AbpUserLoginAtttempts in bulk form.

I read the document.

How would I identify the logged-in user's record in AbpUserLoginAtttempts table? How would I determine the Id to select for?

Yes. And I still don't know the cause. It seems inconceivable that this bug only manifests when Microsoft announces the release of a new version of Visual Studio. Could you suggest some other cause?

Error before login page displayed.

When launching the client from VS Code, the following error is frequently raised, and the login page does not display. Refreshing the browser page will then cause the login page to be displayed without any errors.

[WDS] Live Reloading enabled.
vendor.js:236455
Angular is running in the development mode. Call enableProdMode() to enable the production mode.
core.js:25637
ERROR
core.js:4002
Error: Uncaught (in promise): ChunkLoadError: Loading chunk account-account-module failed.
core.js:4002
message:"Uncaught (in promise): ChunkLoadError: Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)\nChunkLoadError: Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)\n    at Function.requireEnsure [as e] (http://localhost:4200/runtime.js:127:26)\n    at loadChildren (http://localhost:4200/main.js:30809:150)\n    at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.loadModuleFactory (http://localhost:4200/vendor.js:88907:39)\n    at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.load (http://localhost:4200/vendor.js:88892:35)\n    at MergeMapSubscriber.project (http://localhost:4200/vendor.js:87894:47)\n    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (http://localhost:4200/vendor.js:223173:27)\n    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMa...
promise:ZoneAwarePromise {__zone_symbol__state: 0, __zone_symbol__value: ChunkLoadError: Loading chunk account-account-modu…}
__zone_symbol__state:0
__zone_symbol__value:ChunkLoadError: Loading chunk account-account-module failed.
message:"Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)"
name:"ChunkLoadError"
request:"http://localhost:4200/account-account-module.js"
stack:"ChunkLoadError: Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)\n    at Function.requireEnsure [as e] (http://localhost:4200/runtime.js:127:26)\n    at loadChildren (http://localhost:4200/main.js:30809:150)\n    at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.loadModuleFactory (http://localhost:4200/vendor.js:88907:39)\n    at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.load (http://localhost:4200/vendor.js:88892:35)\n    at MergeMapSubscriber.project (http://localhost:4200/vendor.js:87894:47)\n    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (http://localhost:4200/vendor.js:223173:27)\n    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._next (http://localhost:4200/vendor.js:223163:18)\n    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/S...
type:"error"
__proto__:Object {constructor: , name: "Error", message: "", …}
Symbol(Symbol.toStringTag):undefined
__proto__:Object {then: , catch: , finally: , …}
rejection:ChunkLoadError: Loading chunk account-account-module failed.
stack:"Error: Uncaught (in promise): ChunkLoadError: Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)\nChunkLoadError: Loading chunk account-account-module failed.\n(error: http://localhost:4200/account-account-module.js)\n    at Function.requireEnsure [as e] (http://localhost:4200/runtime.js:127:26)\n    at loadChildren (http://localhost:4200/main.js:30809:150)\n    at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.loadModuleFactory (http://localhost:4200/vendor.js:88907:39)\n    at RouterConfigLoader.push../node_modules/@angular/router/fesm5/router.js.RouterConfigLoader.load (http://localhost:4200/vendor.js:88892:35)\n    at MergeMapSubscriber.project (http://localhost:4200/vendor.js:87894:47)\n    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/mergeMap.js.MergeMapSubscriber._tryNext (http://localhost:4200/vendor.js:223173:27)\n    at MergeMapSubscriber.push../node_modules/rxjs/_esm5/internal/operators/...
task:ZoneTask {_zone: Zone, runCount: 0, _zoneDelegates: null, …}
zone:Zone {_parent: Zone, _name: "angular", _properties: Object, …}
__proto__:Object {constructor: , name: "Error", message: "", …}
constructor:function Error() { … }
message:""
name:"Error"
toString:function toString() { … }
__proto__:Object {constructor: , __defineGetter__: , __defineSetter__: , …}

Is there a migration path from ANZ Angular/Core to ABP Commercial?

I would like to add a string column to the AbpUserLoginAttempts table to include my own custom data (client screen info). There doesn't seem to be an easy way to do this, unlike with the User table, which has a section "Can add application specific user properties here" (which I have used successfully.)

Aside from hand-modifying "myProjectDbContextModelSnapshot.cs" (which I am loath to do), I haven't found another solution. Also not found:

  • how BrowserInfo, ClientIpAddress, etc. is added to the table on the server.
  • the code on the client where BrowserInfo, ClientIpAddress, etc are sent to the server.

If it isn't possible or practical to modify AbpUserLoginAttempts I could create another table for my custom data, but would still need a way to reference the correct AbpUserLoginAttempts Id.

MyProject: Angular/Core

ANZ makes liberal use of class="kt-whatever. Where can I find the Keentheme documentation for classes?

Also, I want to use buttons on this demo page: Buttons metronic & bootstrap style buttons Where is the documentation?

The Keenthemes website seems like a hodgepodge of demos and APIs with no readily apparent organization.

Showing 151 to 160 of 398 entries