Nevermind, I figured this out. My sleep deprived self was putting the dropdownParent value inside the AJAX options.
Do you guys have a solution for putting a Select2 autocomplete input in the modals created by the ModalManager? I have a widget that I am trying to create and when it gets initiated on a modal that is then created by the ModalManager, I am required to rerun the select2 initialization via the modalManager.onOpen
method but when this happens there doesn't appear to be a value I can set for the Select2 dropdownParent option that will work to make the dropdown usable.
I was able to set the z-index to get it to show, but it still gets created outside of the modal and thus can't be used.
Do you have any experience with this or solutions you can recommend?
Feature Request : Custom HTTPS Responses for AppServices
I would like the ability to customize my AppServices and be able to specify exactly what HTTP Status code gets returned by a particular response in order to better integrate the with external APIs using industry standard conventions. For example, the one that always bites is when the system sends an HTTP200 response when the user needs to authenticate.
I am not sure how this would look in implementation, but it would go a long way towards making the framework more extensible and integratable, in my opinion.
Did you check out https://docs.abp.io/en/abp/latest/Exception-Handling#http-status-code-mapping
I had not seen that, thank you! I will check it out.
Feature Request : Custom HTTPS Responses for AppServices
I would like the ability to customize my AppServices and be able to specify exactly what HTTP Status code gets returned by a particular response in order to better integrate the with external APIs using industry standard conventions. For example, the one that always bites is when the system sends an HTTP200 response when the user needs to authenticate.
I am not sure how this would look in implementation, but it would go a long way towards making the framework more extensible and integratable, in my opinion.
Version: 6.0.0-rc.1 UI : MVC DB: MongoDB Commercial version
Steps needed to reproduce the problem.
Use the UI to "Edit" an existing application
entity. No matter what I put in the "Redirect Uris" textarea the database always gets set to null
This occurred with a fresh application as well as a legacy application that I converted to OpenIdDict. Initially creating a new application the value gets set correctly, but any subsequent edit destroys the value in the database.
Also, on a different note. Do you guys prefer potential bugs like this in commercial RC versions to be posted here or as an issue in github?
Just wanted to confirm that I was able to implement the workaround for the time being and everything is running smoothly. Thank you for your help.
We are aware of this issue, it will be fixed with the patch version soon. As a workaround, you need to override
ContactPublicController
'sSendMessageAsync
method and delete thereCAPTCHA
related code, also you need to override theContact
component'sdefault.js
and assign a value to itsRecaptchaToken
becauseRecaptchaToken
Required
attribute is added inContactCreateInput
.
I don't have the source code for that module and my license doesn't support me downloading it, can you send me the SendMessageAsync
code as it sits now so I can override?
ABP Framework version: v5.3.2
UI type: MVC
DB provider: MongoDB
Tiered (MVC) or Identity Server Separated (Angular): no
Steps to reproduce the issue:"
I'm not finding any real information to assist me on this one, but I can't use the ContactViewComponent for the ContactFeature in the CMSKit pro module because it doesn't appear to be instantiating the reCaptcha code and that is a required field, so every time I try to submit the contact form I get the following error:
Your request is not valid! The following errors were detected during validation. - The RecaptchaToken field is required.
In the public website module, there was a section for adding the SiteKey and SiteSecret, and I have done that:
context.Services.AddreCAPTCHAV3(o =>
{
o.SiteKey = "{redacted}";
o.SiteSecret = "{redacted}";
});
But beyond that I am not seeing any settings or documentation that suggests I do anything else. What am I missing?
Right, I get that and can do that easy enough, but how do the tenants authenticate to the API so that the TenantId and CurrentUser stuff is populated?
I am still confused. I have used the feature system to enable and disable certain functionality, but I'm not sure how to accomplish what you are suggesting with it. I just want to offer my customers a way to authenticate their applications and code to consume the API endpoints generated by the framework here and to take advantage of all of the fantastic work you guys did with the data filtering