Hello to all, i have an issue with the map on my crm. When i filter with a assigned to i found 253 account. I select them all and then i clic on the maps. But when the maps is loaded it shows me ALL the account without any kind of filter. Is a bug or i can’t actually do it?
Seems like only in the maps, if i try to export it works fine. The module is Accounts, but i can’t actually update at the newest version of the crm, so i have to find a way to fix it.
Sadly i can’t test it, because there are too few accounts, and if i apply a filter i can’t make more then one page. and if i select just the first page, works on mine too, the only problem is when i “select all”.
They don’t use sample data there, unfortunately. But you can easily export from the other demo and import there.
Note that these online demos will refresh every X minutes, so if you see it becoming irresponsive or wiping out your data, you’ll have to start over. But I think it’s hourly, you should have more than enough time unless you have really bad luck.
Thanks for all the hard work. That is disappointing.
You see, the problem is that if you open an Issue on Github, it’s likely not going to advance because there are so many things going on there, and Maps issues are really hard to understand and test, there is so much set up that is necessary, our devs never use it and it wasn’t written by us…
So unless somebody who uses it is able to dive into the code and work on it, I don’t have high hopes…
Hei, i re open this thread. could you just give me a possible tip to where i can searh to fix this bug? is hard for me to understand what the action calls when i clic on maps. thanks
If there is a controller.php file in that module, then usually all the actions are defined there. If there isn’t, then each action probably has its own .php file (the file name is the same as the action name).
But the best way to trace the code is to use a debugger so it takes you to the right place
ye, but i’m jumping from a function to another trying to find the right one. sadly if i try to calls maps on my localhost, it just log me out. So is kinda hard XD
i’ve found the bug. If i select the first 20 accounts. in the $_REQUEST there is the list of the id. If i clic on “select all” regardless if there is a filter or not, in the $_REQUEST the list is empty, so it will go to take all the account instead. So the problem is not on the map module, but the fill of the $_REQUEST if there is an applied filter. Any tips where i can edit the $_REQUEST array?
It looks like you’re seeing this from the perspective of the web server request that happens after you click on the maps.
You’d have to find the place in the code where it’s building up that request, so maybe start from the Javascript (or HTTP submit) on the Maps button, and see if you can trace it from there… but you might also gave to look at the code in the Select buttons…