abpzero v7.0.0
When click Save button(every page include save), javascript erro is thrown.
app-layout-libs.min.js?v=TinVLFyB-mWKSW9vX5UXb19wmaRDSn8FOpY8WDnSF0I:1 Uncaught ReferenceError: rRb is not defined
at Object.info (app-layout-libs.min.js?v=TinVLFyB-mWKSW9vX5UXb19wmaRDSn8FOpY8WDnSF0I:1)
at o (app-layout-libs.min.js?v=TinVLFyB-mWKSW9vX5UXb19wmaRDSn8FOpY8WDnSF0I:1)
at Object.abp.notify.info (app-layout-libs.min.js?v=TinVLFyB-mWKSW9vX5UXb19wmaRDSn8FOpY8WDnSF0I:1)
at <anonymous>:31:28
at c (app-layout-libs.min.js?v=TinVLFyB-mWKSW9vX5UXb19wmaRDSn8FOpY8WDnSF0I:1)
at Object.fireWith [as resolveWith] (app-layout-libs.min.js?v=TinVLFyB-mWKSW9vX5UXb19wmaRDSn8FOpY8WDnSF0I:1)
at Object.s.<computed> [as resolve] (app-layout-libs.min.js?v=TinVLFyB-mWKSW9vX5UXb19wmaRDSn8FOpY8WDnSF0I:1)
at Function.handleResponse (app-layout-libs.min.js?v=TinVLFyB-mWKSW9vX5UXb19wmaRDSn8FOpY8WDnSF0I:1)
at Object.<anonymous> (app-layout-libs.min.js?v=TinVLFyB-mWKSW9vX5UXb19wmaRDSn8FOpY8WDnSF0I:1)
at c (app-layout-libs.min.js?v=TinVLFyB-mWKSW9vX5UXb19wmaRDSn8FOpY8WDnSF0I:1)
updated: I use a refresh source code. there is no my own codes. just click save button on every page(like Add Role). And i test it. in mode=development of npm, it works. but in production mode, it fails.
9 Answer(s)
-
0
Hi, @nicolaslau are you using mvc + jquery?
Can you also share the code that perform the save function?
Are you able to reproduce this error on your development machine?
-
0
@ryancyq yes, it mvc +jquery
I use a refresh source code. there is no my own code. just click save button on every page(like Add Role).
And i test it. in mode=development of npm, it works.
but in production mode, it fails. -
0
@nicolaslau have you ran
npm run build
andnpm run create-bundles
?also can you share how do you run the app in production mode?
if you are using IIS, please follow the instructions at https://docs.aspnetzero.com/documents/aspnet-core-mvc/latest/Deployment-Mvc-Core-IIS
-
0
@ryancyq
Yes, I have ran npm run build and i confirm the file 'app-layout-libs.min.js' existed .
I config IIS as the instruction you provided.
-
0
up
-
0
Hi @nicolaslau
Is it possible to send your project to [email protected] ?
-
0
-
0
@ismcagdas any feedback?
-
0
Hi @nicolaslau
Sorry for the delay, the issue has been fixed on https://github.com/aspnetzero/aspnet-zero-core/issues/2452