[SOLVED] Opening time of modal form

Ask your questions here.
Post Reply
enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

[SOLVED] Opening time of modal form

Post by enishemed »

Hi everyone,

I have an entity and when go to record list and when clicking the Add button to open the modal form, the page opens more than 15 seconds. It is very long time.

Do you have any idea why it is happening. This is the log record.
Attachments
IMG_0182.jpeg
Last edited by enishemed on 20 Dec 2023, 18:46, edited 1 time in total.
User avatar
support
Site Admin
Posts: 6221
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Opening time of modal form

Post by support »

This is strange for form window. Probably you have custom php code or mysql query?
Check mysql log in this time. Probably you have long time query.
enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

Re: Opening time of modal form

Post by enishemed »

Hi Sergey,

You can see my entity structure from the screenshot. As you can see, I have only input fields, numeric fields, date fields and related items. I have the similar structures in other entities but only this entity has problem when opening the modal form.
Attachments
Ekran görüntüsü 2023-12-20 090534.png
User avatar
support
Site Admin
Posts: 6221
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Opening time of modal form

Post by support »

Then it can be temporary issue with server.
enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

Re: Opening time of modal form

Post by enishemed »

No, it has the problem more than one year and it is annoying now.
support wrote: 20 Dec 2023, 12:00 Then it can be temporary issue with server.
Didou12
Posts: 487
Joined: 14 Jan 2023, 14:53
Name: Louis
Location: Montreal, Canada

Re: Opening time of modal form

Post by Didou12 »

have you tested with a mysql query to check if timing is the same ? also, all the tables in the database are good ?
Using Rukovoditel since 2022 --- v3.4 (with extension) in French on PHP 8.2
I keep the French translation up to date
I'm trying to help you (+10 years experience in html, css, php, sql, JS/jquery, python)
User avatar
support
Site Admin
Posts: 6221
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Opening time of modal form

Post by support »

You have Entity field. How many records in dropdown? Is there any dropdowns with lots of options?
enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

Re: Opening time of modal form

Post by enishemed »

I have one entity field in this entity and it has 421 options. But I have the same entity field in other entities and don't have the same problem.
support wrote: 20 Dec 2023, 18:10 You have Entity field. How many records in dropdown? Is there any dropdowns with lots of options?
User avatar
support
Site Admin
Posts: 6221
Joined: 19 Oct 2014, 18:22
Name: Sergey Kharchishin
Location: Russia, Evpatoriya

Re: Opening time of modal form

Post by support »

Try to use Entity Ajax field type.
enishemed
Posts: 651
Joined: 30 Oct 2017, 11:24
Name: Enis Hemedoglu
Location: Istanbul, Turkey
Company Name: SCORE DANISMANLIK
Contact:

Re: Opening time of modal form

Post by enishemed »

Many thanks, that solves my giant problem.

I have had this problem for more than one year, it has a very simple solution.

thanks again Sergey.
support wrote: 20 Dec 2023, 18:30 Try to use Entity Ajax field type.
Post Reply