No bug Invalid form control with name='jform[discount_expiration_options]

More
1 month 10 hours ago - 1 month 10 hours ago #3495 by Dmitrijs Rekuns
Hi Ruud,
I just been faced with an unpleasant issue: when I edit the product, and trying to save the item, nothing happens.
The console shows the error:

Invalid form control with name='jform[discount_expiration_options][discount_expiration_options0][discount_percentage]' cannot be focused.

Joomla 6.1.0, OchSubscrtiptions 5.3.1, php 8.4.1

The discount tab has standard settings:
 

Thanks in advance.
Last edit: 1 month 10 hours ago by Dmitrijs Rekuns.

Please Log in to join the conversation.

More
1 month 52 minutes ago #3497 by Ruud van Lent
Hi Dmitrijs,
can you tell me which script and on which line of that script the error is thrown in the console? Should be part of the error in the console

Please Log in to join the conversation.

More
4 weeks 2 days ago - 4 weeks 2 days ago #3499 by Dmitrijs Rekuns
Hi Ruud,
Unfortunately, there is no additional information in the console. The warning message cannot be expanded with details.

 

The translation:
Invalid form control with name='jform[discount_expiration_options][discount_expiration_options0][discount_percentage]' cannot be focused.
Last edit: 4 weeks 2 days ago by Dmitrijs Rekuns.

Please Log in to join the conversation.

More
4 weeks 2 days ago - 4 weeks 2 days ago #3501 by Dmitrijs Rekuns
btw, I set to PHP 8.3 to check out but it did not help. I set back to PHP 8.4.
Last edit: 4 weeks 2 days ago by Dmitrijs Rekuns.

Please Log in to join the conversation.

More
4 weeks 2 days ago #3502 by Ruud van Lent
What is the skipto script listed in the console?

Please Log in to join the conversation.

More
4 weeks 2 days ago #3503 by Dmitrijs Rekuns
The second notification:
Source Map Error: Request failed with status 404 Resource URL: https://domain/media/vendor/skipto/js/skipto.min.js?4.1.7 Source Map URL: skipto.min.js.map/*@end

I thought it is something related to core files of Joomla. 
firefox-source-docs.mozilla.org/devtools...utm_campaign=default 

Btw, I see this notification on all pages in the Administrator Panel excluding OCHSubs.
 

Please Log in to join the conversation.

More
4 weeks 2 days ago - 4 weeks 2 days ago #3504 by Dmitrijs Rekuns
[domain]/media/vendor/skipto/js/skipto.min.js?4.1.7

/*! skipto - v4.1.7 - 2023-01-13
* github.com/paypal/skipto
* Copyright (c) 2023 PayPal Accessibility Team and University of Illinois; Licensed */
/*@cc_on @*/
/*@if (@_jscript_version >= 5.8) @*/


It seems this is something related to accessibility standards.
 
Last edit: 4 weeks 2 days ago by Dmitrijs Rekuns.

Please Log in to join the conversation.

More
4 weeks 2 days ago - 4 weeks 2 days ago #3505 by Dmitrijs Rekuns
I set CodeMirror instead of TinyMCE and both yellow color notifications disappeared but when save the Product, the same "Invalid form control" error occurs...
Last edit: 4 weeks 2 days ago by Dmitrijs Rekuns.

Please Log in to join the conversation.

More
4 weeks 2 days ago #3511 by Ruud van Lent
You have configured the product to have in discount tab > Expiration Discount(s) = Use Global = yes
can you tell me what you have configured in component global configuration > Discounts / Notifications tab > Expiration Discount(s) = Yes > Discounts?
So what Discounts have you configured there?

Please Log in to join the conversation.

More
4 weeks 2 days ago #3512 by Dmitrijs Rekuns
The screenshots are enclosed.

Thank you.

Please Log in to join the conversation.