Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timout/list too large when retrieving contacts in user card modification #3528

Closed
Dartaban opened this issue Sep 15, 2015 · 3 comments
Closed
Labels
Bug This is a bug (something does not work as expected)

Comments

@Dartaban
Copy link

By going on the card of an internal user (/htdocs/user/card.php?id=xx) - action "Change" - and opening the menu "Type" ("Internal" by default), this list all the Contacts/Third Parties of the database.

This can become very heavy when there are thousands of Contacts/Third Parties in the database. We met "error 500" with 12,000 contacts.

The problem is the same in the Calendar module when i want to modify the Sheet Event -> List "Task about Company / Contact".

Does an adaptation of the lists with "autocompletion" or anything else in order to settle this problem could be envisaged ?
Thanks

@rdoursenaud rdoursenaud added the Discussion Some questions or discussions are opened and wait answers of author or other people to be processed label Sep 16, 2015
@eldy eldy added the Works for me / Can't reproduce It seems not possible to reproduce the bug. label Sep 16, 2015
@eldy
Copy link
Member

eldy commented Sep 16, 2015

12000 contacts should not be a problem.
It is just one request that should last few milliseconds and return a page
of 200 Ko.

Which browser and version do you use ?
Which version of Dolibarr ?

2015-09-16 22:16 GMT+02:00 Dartaban notifications@github.com:

By going on the card of an internal user (/htdocs/user/card.php?id=xx) -
action "Change" - and opening the menu "Type" ("Internal" by default), this
list all the Contacts/Third Parties of the database.

This can become very heavy when there are thousands of Contacts/Third
Parties in the database. We met "error 500" with 12,000 contacts.

The problem is the same in the Calendar module when i want to modify the
Sheet Event -> List "Task about Company / Contact".

Does an adaptation of the lists with "autocompletion" or anything else in
order to settle this problem could be envisaged ?
Thanks


Reply to this email directly or view it on GitHub
#3528 (comment).

EMail: eldy@destailleur.fr

Web: http://www.destailleur.fr

Google+: https://plus.google.com/+LaurentDestailleur/
Facebook: https://www.facebook.com/Destailleur.Laurent

Twitter: http://www.twitter.com/eldy10

@Dartaban
Copy link
Author

I'm using FireFox 40.0.3
We have two similars Dolibarr 3.7.1. installed on two servers.
With the first one when i save the "/htdocs/user/card.php?id=6&action=edit" in html" file it is 11 M°
And i have a js alerte (see doc attached).
The second one is behind a proxy. This is where we have the 500 Error. We change the "SecResponseBodyLimit" from 685000 to 2M to solve the problem.
GD
capture d ecran 2015-09-17 a 21 25 49

@rdoursenaud rdoursenaud changed the title Tous les Contacts affichés dans menu déroulant "Type" des fiches utilisateurs Timout/list too large when retrieving contacts in user card modification Oct 12, 2015
@eldy eldy added Bug This is a bug (something does not work as expected) and removed Discussion Some questions or discussions are opened and wait answers of author or other people to be processed Works for me / Can't reproduce It seems not possible to reproduce the bug. version 3.7.1 (unsupported) labels Dec 2, 2018
@eldy
Copy link
Member

eldy commented Dec 2, 2018

I have some reason to think this may be fixed or no more applicable into more recent version. Does this bug still occurs with last stable version ?
If yes, please reopen the ticket and mention the recent version you tried with...

@eldy eldy closed this as completed Dec 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This is a bug (something does not work as expected)
Projects
None yet
Development

No branches or pull requests

2 participants