A simple (?) question. All the actions on the primeng-datatable open a modal. But i want to add an action to go to a new component, including the specific record id as parameter.
What is the best way to do this? Using a custom dataservice to pass parameters? or just adding a "href" attribute?
sorry if this has been asked before, but it is nearly impossible on this forum to get a decent search result.
Hi,
I regenerated an existing Entity (made with the RAD tool). I needed to add a new navigation property. It all went fine, migration is done, but when I fire up the host app, swagger gives me an error:
Failed to load API definition
Fetch error
Internal Server Error /swagger/v1/swagger.json
visual studio output
The source map 'swagger-ui-bundle.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-bundle.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.The source map 'swagger-ui-standalone-preset.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-standalone-preset.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.The source map 'swagger-ui-bundle.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-bundle.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.The source map 'swagger-ui-standalone-preset.js.map' for file 'mdha:http://localhost:22742/swagger/swagger-ui-standalone-preset.js' could not be read from the specified location due to error 'Exception of type 'TypeScriptSourceMapReader.SourceMapReadFailedException' was thrown.'.Visual Studio does not support additional debuggers attached to a web-page when multi-client remote debugging support is enabled in Chrome. Visual Studio is disconnecting the JavaScript debugger because we detected that Chrome Dev Tools were opened for this page: chrome-devtools://devtools/bundled/devtools_app.html?remoteBase=https://chrome-devtools-frontend.appspot.com/serve_file/@a10b9cedb40738cb152f8148ddab4891df876959/&can_dock=true&hasOtherClients=true&dockSide=undocked
@ismcagdas, no my bad, i forgot that the app is using appsettings.production.json, which wasnt up to date with my information.
Just wondering, in Startup.cs you have this:
public Startup(IHostingEnvironment env)
{
_hostingEnvironment = env;
_appConfiguration = env.GetAppConfiguration();
}
where does "env" come from? can i change this?
if I try to go to "http://webhosturl/AbpUserConfiguration/GetAll" it gives Internal server error.
when i do this locally, it works without a problem... web.config is available and cors config is good too, what else could be the problem??
hmmm, it works when i run the Host and Angular app locally, using localhost urls in appconfig.
but why is it not working using FQDN on azure? It used to work in previous version... I must be missing something here.
Now I created a new DB on Azure and used the Migrator tool to generate the tables and admin user. This works good.
But I'm still stuck on the "Internal server error" when trying to run the Angular app. it fails on "AbpUserConfiguration/GetAll" When querying the auditlogs through visual studio, this error is not in there, so maybe it cant even connect to the api.
I installed the latest version, hosted on Azure. Ran "Update-Database", and then tried to login. But when launching the angular app, i get "Internal server error". When using the webhost, swagger ui, and authorize button, I can enter credentials, but cannot login with the admin account.
When I look into the database, there are no records (in table AbpUserAccounts or AbpUsers) in the newly created database. The table "__efmigrationshistory" does hold the migrations information, so it has done something. Am i missing something, do I need to do more than Update-Database with this new version?
now i get this error when doing "yarn upgrade"
pm-esprima-fb-3001.1.0-dev-harmony-fb-b77d37abcd38ea0b77426bb8bc2922ce6b426411" as pattern ["esprima-fb@~3001.1.0-dev-harmony-fb"]. This could result in non-deterministic behavior, skipping.
info [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
error [email protected]: The engine "node" is incompatible with this module. Expected version ">=4 <=9".
error An unexpected error occurred: "Found incompatible module".
Hi, I'm trying to update all the packages in the angular app package.json. I use the command "npm update" but after a while it hangs on "datamaps" and throws this error:
npm ERR! cb() never called!
i also get this
npm WARN tarball tarball data for [email protected] (sha1-0sMepJKyK2qNiHrqFZiaI4/AhK4=) seems to be corrupted. Trying one more time.
any idea's? I'm unable to install any npm packages because of this. I have installed latest node.js and updated npm itself
it also helps to pointing the angular app to the right, updated, API.....doh.... :oops: :lol: