Sorry Unfortunately I get a 404 at the address https://github.com/aspnetzero/aspnet-zero-core/blob/48616521f7cfb2c5ca08490c3ed41f23a34d32ac/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Application/Authorization/Users/UserAppService.cs#L249
maybe you can copy the code block in here
Hello, as in the following code it works. Is there an easier way?
protected virtual async Task UpdateTemplateAsync(CreateOrUpdateDto input)
{
foreach (var id18n in input.Template.TemplateI18Ns)
{
var thisI18N = _templateI18NRepository.Get(id18n.Id);
id18n.MapTo(thisI18N);
_templateI18NRepository.Update(thisI18N);
await CurrentUnitOfWork.SaveChangesAsync();
}
input.Template.TemplateI18Ns = null;
var template = _templateRepository.Get(input.Template.Id);
input.Template.MapTo(template);
template.TemplateI18Ns = _templateI18NRepository.GetAll().Where(r => r.TemplateId == input.Template.Id).ToList();
template.LastModificationTime = DateTime.Now;
_templateRepository.Update(template);
await CurrentUnitOfWork.SaveChangesAsync();
}
Uwe
We are using the ckeditor.
var objEditor = CKEDITOR.instances["helpEditor"]; if (objEditor) { $scope.commonValues.HelpEditorContent = objEditor.getData(); }
this is saved into my variable:
"<p>this is my text</p>\n\n<p>with newline</p>\n"
In c# the html is shown correctly but then saving to database removes newlines `
Text mit Umbruch
da issa
`We are using ASP.NET MVC 5.x & AngularJS 1.x. The const.js file is in Common/Scripts which is bundled. If I add debug="true" in <compilation targetFramework="4.6.1"> the app is running. So it does not work if bundling is active. What can I do now?
Error ist Back again, any ideas ?
It is running again. I have no idea why ... I only updated some packages (ABP ...)
We're using ASP.NET MVC 5.x & AngularJS 1.x.
ABP 3.8.3