Cms Kit also doesn't work well since it's missing a library
I found that there are some missing libraries installed too (Created the project from ABP STUDIO)
In Application project, It's missing Volo.CmsKit.Pro.Common.Application
In Application.Contracts, it's missing Volo.CmsKit.Pro.Common.Application.Contracts
In HtpApi.Client, it's missing Volo.CmsKit.Pro.Admin.HttpApi.Client
In Web, It's missing Volo.CsmKit.Pro.WebCodeMirror changed a lot from version 5 to version 6, ABP tries to use CodeMirror 6 but is not updated with the actual new project structure
In a MVC project created from ABP Studio
I small workaround is to add the libraries and run the following npm
npm i codemirror@5.65.18Do we want to use CodeMirror6? is there a plan to make it work or was just a mistake to push codemirror6 in the npm?
After updating my project to 8.3.1 and 0.9.1 for ABP Studio, codemirror Error is popping up. My fix was to add the code mirror v5 files from codemirror's website to my main web app wwwroot/lib/codemirror folder. Then everything started working again. I must admit I am getting extremely frustrated going from a working project to one that completely fails everytime I update or add source code. It is costing many,many hours of development downtime trying to figure out what just broke? I like ABP and Studio, I would really like the product if I wasn't constantly beta testing everything.
****** BUG in Code Module ********
Create a project using ABP Studio 0.9.1 and ABP Suite 8.3.1
Add the source for Account to the project.
Volo.Abp.Account.Pro.Public.MauiBlazor project fails to build.
Build the source and this code section causes a build failure.
var scheme = callbackUri.Scheme; if(scheme = "http" || scheme == "https")
Project fails to build because the left side of the comparison expression is missing an "=" symbol.
I corrected the code to: if(scheme == "http" || scheme == "https")
and the project builds correctly.
Hi,
There are two ways to put it.
1 Use BundleContributor https://abp.io/docs/latest/framework/ui/mvc-razor-pages/bundling-minification#contributor-dependencies
[DependsOn(typeof(JQueryScriptContributor))] //Define the dependency public class MyExtensionScriptBundleContributor : BundleContributor { //... }
- Use layout hook https://abp.io/docs/latest/framework/ui/mvc-razor-pages/layout-hooks
Thanks for your quick reply. Will attempt to impliment and check results. I forgot all about the layout-hooks. As I was asking the question, I could not for the life of me remember the term, although I had used the layout-hooks in a previous project.
I tried to reproduce it but unfortunately couldn't. Please share the content of .json files under the .suite folder.
I can also share a fully built-out project. Meanwhile, JSON text is too long to put into a post. I am attaching the .suite files in a github repo Link to .SUITE JSON files in repo with a readme.html file in each folder. There is no code in the repo, just the .suite JSON files.
There is a readme.html file in each folder. I just created this example and the problem still exists. In the provided example: I can add a Company, and add employees to the company after Navigations are created. The problem: There are two related child forms for Company. 1. Sites. 2. Vehicles. When I click Sites after establishing the Company many-to-many navigation and building it, etc. I can add Sites. I can add Employees to the Company via the Employees tab on the Company form. When I click the Sites link, all site records show up. When I click the Company Vehicles link, no vehicles show up. The Add New Vehicle button does not launch the Create Company vehicle form.
When there is no Employees Navigation property, everything works as expected.
The newly generated index.js in the Company page produces:
function initDataGrids(data) { initSiteGrid(data) $("#CompanyVehicles-tab-" + data.id).one("click", function (e) { initCompanyVehicleGrid(data); }); }
The data.id property is null. Normally, the data.id property gets populated when the many-to-many employees isn't used.
To fix the issue, I had to change data.id to data.company.id which solves the problem.
The next line calls initCompanyVehicleGrid(data)
Here is a piece of the ABP generated function call. Notice it is using data.company.id? :
function initCompanyVehicleGrid(data) { if(!abp.auth.isGranted("MstrWithTwoCh.CompanyVehicles")) { return; } var companyId = data.company.id; var companyVehicleService = window.mstrWithTwoCh.controllers.companyVehicleNs.companyVehicle; ... }
However, when code gets regenerated via suite, the fix gets clobbered because it is not in a customization comment region.
Thanks for your reply. How do I put the scripts in the head tag using ABP methods with BundleContributor (After jQuery)? YES: I do have a license for Telerik Ultimate. I am using licensed versions with my license file correctly detected. SO: Telerik controls are working. I would like to defer scripts so that each generated control is not surrounded by Telerik generated script tags.
I researched this issue in the past. It seems there is a way to specify where scripts are placed and in which specific order. For example, the myriad of scripts used by ABP are not placed by accident.
create an abp project using ABP Studio Tiered
Create a Telerik App as found in the ABP Framework Example site on Github.
Add your npm telerik packages for kendo-ui, etc.
configure your BundleContributor / KendoScriptContributor
Use the page example and the KendoViewComponent.
Add the currency control to a page using Keno TagHelpers kendo-numerictextbox as in the example
Should work and display the kendo control.
Problem: Typically, I defer the control so that the page source does not become littered with Kendo's script tags.
By having jQuery in the head, this seems unavoidable. Is there anyway to have Kendo controls render deferred without moving jquery from the head tag? When deferred=true is set in the kendo-numeric tag helper, it fails to render a kendo control. I would like to position the kendo scripts before the jquery script in the head. Is this possible via the BundleContributor or another method?
Thanks in advance.
Create a version 5.3.3 project. Add the Chat source code via ABP Suite version 5.3.3. Build. Launch No chat anywhere. Also, no way to set permissions for Chat Module as it does not show up anywhere. Chat tables do appear in the database. I am using a version 5.3.3 project and adding Chat support is needed. REDIS is installed.
Hi, thanks for the detailed explanation. I'll try to reproduce the problem and let you know.
Hi, any luck with a quick solution or even a work-around that will stick when project is rebuilt in ABP Suite/ABP Studio using customizations?
Created a project in ABP Suite v. 8.3.0 project solution. Upgraded abp studio to 0.8.3 Upgraded project to 8.3.1 bits of ABP app. App works. abp suite works. Tried to edit and was prompted to update with message ABP Suite A version inconsistency is detected. Your solution is using ABP v8.3.1 but you have ABP Suite v8.3.0 installed. ... Would you want to auto-install the correct version and continue? CLICKED Yes. Uh oh. Looks like abp suite 8.3.1 installed. Checked tools>change version> and 8.3.1 is in the list. ABP SUITE: It won't launch. When I click Open ABP Suite from the ABP Studio menu, a dialog pops up. Couldn't open ABP Suite. When I click Change Version Dialog: ABP Suite is running now. Please stop it before changing the version. Rebooted PC to clear any locked files and same issue. Ran dotnet tool uninstall -g volo.abp.suite Got this message: Tool 'volo.abp.suite' (version '8.3.1') was successfully uninstalled. Launched ABP Studio. Opened my project. Clicked ABP Suite from Context Menu (right click on solution icon) Prompted to install abp suite. The installer Installed abp suite 8.3.0, not 8.3.1 Now, when opening 8.3.1 project I can open the project. Sooner or later, will get prompted about version inconsistency. All of the imports show up as 8.3.0 All of the .csproj packages show up as 8.3.1 (since I manually updated them).
Any ideas? Thanks in advance.
Hi,
you can use
CSSto change the style without any problem.Sorry, I don't know what exact question is
Thank you for looking into this issue.