8p / EightPointsGuzzleBundle

⛽️ Integrates Guzzle 6.x, a PHP HTTP Client, into Symfony
MIT License
440 stars 71 forks source link

Profiler first Responsetextarea is empty #188

Closed dariotilgner closed 6 years ago

dariotilgner commented 6 years ago
Q A
Symfony version 4.0.6
Bundle version 7.3.0
php version 7.2.2

I just have installed your Bundle. On any site which fires a guzzle request the first (also if it is the only) response in the textarea isn't shown. eightpointsguzzlebundleerror I also reinstalled the assets and deleted the cache.

After debugging in my vendor files (shame on me) the error seems to occure from lines 98 and 101 in https://github.com/8p/EightPointsGuzzleBundle/blob/master/src/Resources/views/profiler.html.twig

If I change the .val(..) method call to .text(..) this fixes my problem. Then all textareas are getting filled

gregurco commented 6 years ago

@dariotilgner hello! Thank you for reporting an issue. Today I will try to check.

dariotilgner commented 6 years ago

@gregurco I just got the information from annother project in my company that this problem also occures sometimes(!) in symfony version 3.3.0

gregurco commented 6 years ago

@dariotilgner Do you have possibility to help us and to test the fix? If yes then please add in composer.json:

    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/gregurco/EightPointsGuzzleBundle"
        }
    ],

and run:

composer require eightpoints/guzzle-bundle dev-remove_jquery

Thanks.

dariotilgner commented 6 years ago

@gregurco The fix works fine! :)

gregurco commented 6 years ago

@dariotilgner thank you for testing :) gonna merge it in few days. Track #189

gregurco commented 6 years ago

@dariotilgner close this issue. PR #189 was merged. Thanks you once again :+1: