jirafe 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.autotest +5 -0
- data/.gitignore +23 -0
- data/.rbenv-version +1 -0
- data/.rspec +2 -0
- data/.travis.yml +11 -0
- data/Gemfile +8 -0
- data/LICENSE +13 -0
- data/README.md +104 -0
- data/Rakefile +27 -0
- data/fixtures/responses/application_get_with_cloud_token.yml +40 -0
- data/fixtures/responses/application_get_with_invalid_token.yml +41 -0
- data/fixtures/responses/application_get_with_master_token.yml +784 -0
- data/fixtures/responses/application_get_with_reporting_token.yml +38 -0
- data/fixtures/responses/application_post_with_app_token.yml +38 -0
- data/fixtures/responses/application_post_with_cloud_token.yml +76 -0
- data/fixtures/responses/application_post_with_invalid_token.yml +79 -0
- data/fixtures/responses/application_post_with_master_token.yml +784 -0
- data/fixtures/responses/application_post_with_master_token_blank_name.yml +79 -0
- data/fixtures/responses/application_post_with_master_token_dupe_name.yml +76 -0
- data/fixtures/responses/application_post_with_master_token_no_name.yml +79 -0
- data/fixtures/responses/application_post_with_reporting_token.yml +76 -0
- data/fixtures/responses/application_put_with_cloud_token.yml +68 -0
- data/fixtures/responses/application_put_with_invalid_token.yml +145 -0
- data/fixtures/responses/application_put_with_master_token.yml +68 -0
- data/fixtures/responses/application_put_with_reporting_token.yml +68 -0
- data/fixtures/responses/application_sites_get_with_master_token.yml +38 -0
- data/fixtures/responses/callback_event_post_event.yml +2000 -0
- data/fixtures/responses/callback_event_post_event_fetch_token.yml +1473 -0
- data/fixtures/responses/jirafe_resource_get_status_url.yml +38 -0
- data/fixtures/responses/jirafe_resource_get_status_url_with_query_param.yml +38 -0
- data/fixtures/responses/site_abandon_rate_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_abandoned_average_ordervalue_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_abandoned_carts_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_abandoned_revenue_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_average_order_value_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_bounces_rate_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_cart_segmentation_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_conversion_rate_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_conversions_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_customers_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_dashboard_get_with_master_token.yml +60 -0
- data/fixtures/responses/site_get_with_master_token.yml +73 -0
- data/fixtures/responses/site_keywords_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_orders_status_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_origins_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_period_data_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_post_with_app_token.yml +727 -0
- data/fixtures/responses/site_post_with_master_token.yml +1569 -0
- data/fixtures/responses/site_products_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_referers_get_with_master_token.yml +38 -0
- data/fixtures/responses/site_revenues_average_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_revenues_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_segments_carts_get_with_admin_token.yml +108 -0
- data/fixtures/responses/site_segments_sales_get_with_admin_token.yml +143 -0
- data/fixtures/responses/site_total_carts_get_with_master_token.yml +49 -0
- data/fixtures/responses/site_translations__get_with_master_token.yml +155 -0
- data/fixtures/responses/site_translations_de_get_with_master_token.yml +156 -0
- data/fixtures/responses/site_translations_es_get_with_master_token.yml +155 -0
- data/fixtures/responses/site_translations_fr_get_with_master_token.yml +178 -0
- data/fixtures/responses/site_translations_german_get_with_master_token.yml +156 -0
- data/fixtures/responses/site_translations_get_with_master_token.yml +865 -0
- data/fixtures/responses/site_translations_xx_get_with_master_token.yml +155 -0
- data/fixtures/responses/site_visits_get_with_master_token.yml +49 -0
- data/fixtures/responses/status_get.yml +38 -0
- data/fixtures/responses/status_get_500.yml +31 -0
- data/fixtures/responses/test.yml +7364 -0
- data/fixtures/responses/version_get.yml +38 -0
- data/jirafe.gemspec +29 -0
- data/lib/jirafe.rb +64 -0
- data/lib/jirafe/callback/event.rb +57 -0
- data/lib/jirafe/callback/events/order.rb +48 -0
- data/lib/jirafe/callback/events/refund.rb +32 -0
- data/lib/jirafe/callback/jirafe_callback.rb +50 -0
- data/lib/jirafe/configuration.rb +47 -0
- data/lib/jirafe/error.rb +57 -0
- data/lib/jirafe/resource/application.rb +18 -0
- data/lib/jirafe/resource/jirafe_resource.rb +188 -0
- data/lib/jirafe/resource/site.rb +21 -0
- data/lib/jirafe/resource/sites/abandon_rate.rb +16 -0
- data/lib/jirafe/resource/sites/abandoned_average_order_value.rb +17 -0
- data/lib/jirafe/resource/sites/abandoned_carts.rb +16 -0
- data/lib/jirafe/resource/sites/abandoned_revenue.rb +16 -0
- data/lib/jirafe/resource/sites/average_order_value.rb +16 -0
- data/lib/jirafe/resource/sites/bounces_rate.rb +16 -0
- data/lib/jirafe/resource/sites/cart_segmentation.rb +11 -0
- data/lib/jirafe/resource/sites/conversion_rate.rb +16 -0
- data/lib/jirafe/resource/sites/conversions.rb +17 -0
- data/lib/jirafe/resource/sites/customers.rb +16 -0
- data/lib/jirafe/resource/sites/dashboard.rb +27 -0
- data/lib/jirafe/resource/sites/keywords.rb +11 -0
- data/lib/jirafe/resource/sites/orders_status.rb +15 -0
- data/lib/jirafe/resource/sites/origins.rb +11 -0
- data/lib/jirafe/resource/sites/period_data.rb +16 -0
- data/lib/jirafe/resource/sites/products.rb +12 -0
- data/lib/jirafe/resource/sites/referers.rb +12 -0
- data/lib/jirafe/resource/sites/revenues.rb +16 -0
- data/lib/jirafe/resource/sites/revenues_average.rb +16 -0
- data/lib/jirafe/resource/sites/segments_carts.rb +14 -0
- data/lib/jirafe/resource/sites/segments_sales.rb +14 -0
- data/lib/jirafe/resource/sites/total_carts.rb +16 -0
- data/lib/jirafe/resource/sites/translations.rb +18 -0
- data/lib/jirafe/resource/sites/visitors_interest.rb +14 -0
- data/lib/jirafe/resource/sites/visits.rb +16 -0
- data/lib/jirafe/resource/status.rb +19 -0
- data/lib/jirafe/resource/sync_service.rb +1 -0
- data/lib/jirafe/resource/time_series.rb +29 -0
- data/lib/jirafe/resource/user.rb +32 -0
- data/lib/jirafe/resource/version.rb +9 -0
- data/spec/jirafe/callback/event_spec.rb +85 -0
- data/spec/jirafe/configuration_spec.rb +150 -0
- data/spec/jirafe/jirafe_spec.rb +23 -0
- data/spec/jirafe/resource/application_spec.rb +220 -0
- data/spec/jirafe/resource/jirafe_resource_spec.rb +188 -0
- data/spec/jirafe/resource/site_spec.rb +61 -0
- data/spec/jirafe/resource/sites/abandon_rate_spec.rb +11 -0
- data/spec/jirafe/resource/sites/abandoned_average_order_value_spec.rb +11 -0
- data/spec/jirafe/resource/sites/abandoned_carts_spec.rb +11 -0
- data/spec/jirafe/resource/sites/abandoned_revenue_spec.rb +11 -0
- data/spec/jirafe/resource/sites/average_order_value_spec.rb +11 -0
- data/spec/jirafe/resource/sites/bounces_rate_spec.rb +11 -0
- data/spec/jirafe/resource/sites/cart_segmentation_spec.rb +11 -0
- data/spec/jirafe/resource/sites/conversion_rate_spec.rb +11 -0
- data/spec/jirafe/resource/sites/conversions_spec.rb +11 -0
- data/spec/jirafe/resource/sites/customers_spec.rb +11 -0
- data/spec/jirafe/resource/sites/dashboard_spec.rb +29 -0
- data/spec/jirafe/resource/sites/keywords_spec.rb +11 -0
- data/spec/jirafe/resource/sites/orders_status_spec.rb +34 -0
- data/spec/jirafe/resource/sites/origins_spec.rb +11 -0
- data/spec/jirafe/resource/sites/period_data_spec.rb +22 -0
- data/spec/jirafe/resource/sites/products_spec.rb +11 -0
- data/spec/jirafe/resource/sites/referers_spec.rb +11 -0
- data/spec/jirafe/resource/sites/revenues_average_spec.rb +11 -0
- data/spec/jirafe/resource/sites/revenues_spec.rb +11 -0
- data/spec/jirafe/resource/sites/segments_carts_spec.rb +29 -0
- data/spec/jirafe/resource/sites/segments_sales_spec.rb +29 -0
- data/spec/jirafe/resource/sites/total_carts_spec.rb +11 -0
- data/spec/jirafe/resource/sites/translations_spec.rb +76 -0
- data/spec/jirafe/resource/sites/visitors_interest_spec.rb +8 -0
- data/spec/jirafe/resource/sites/visits_spec.rb +11 -0
- data/spec/jirafe/resource/status_spec.rb +31 -0
- data/spec/jirafe/resource/version_spec.rb +15 -0
- data/spec/spec_helper.rb +58 -0
- data/spec/support/callback_server.rb +11 -0
- data/spec/support/response_helper.rb +31 -0
- data/spec/support/shared_examples/empty_resource.rb +17 -0
- data/spec/support/shared_examples/time_series.rb +31 -0
- data/spec/test_configuration.rb +15 -0
- metadata +360 -0
@@ -0,0 +1,1569 @@
|
|
1
|
+
---
|
2
|
+
http_interactions:
|
3
|
+
- request:
|
4
|
+
method: post
|
5
|
+
uri: http://api.jirafe.dev/v1/applications?token=user_master_token
|
6
|
+
body:
|
7
|
+
encoding: US-ASCII
|
8
|
+
string: name=my%20new%20app&url=
|
9
|
+
headers: {}
|
10
|
+
response:
|
11
|
+
status:
|
12
|
+
code: 200
|
13
|
+
message: OK
|
14
|
+
headers:
|
15
|
+
Server:
|
16
|
+
- nginx/1.2.2
|
17
|
+
Content-Type:
|
18
|
+
- application/json
|
19
|
+
Transfer-Encoding:
|
20
|
+
- chunked
|
21
|
+
Connection:
|
22
|
+
- keep-alive
|
23
|
+
Keep-Alive:
|
24
|
+
- timeout=10
|
25
|
+
X-Powered-By:
|
26
|
+
- PHP/5.3.15
|
27
|
+
Cache-Control:
|
28
|
+
- no-cache
|
29
|
+
Date:
|
30
|
+
- Wed, 05 Sep 2012 15:49:22 GMT
|
31
|
+
X-Debug-Token:
|
32
|
+
- 5047748247b00
|
33
|
+
body:
|
34
|
+
encoding: US-ASCII
|
35
|
+
string: ! '{"app_id":"17","name":"my new app","token":"3f39cfd4ab86a40feee8378248dfde9d"}'
|
36
|
+
http_version:
|
37
|
+
recorded_at: Wed, 05 Sep 2012 15:49:22 GMT
|
38
|
+
- request:
|
39
|
+
method: post
|
40
|
+
uri: http://api.jirafe.dev/v1/applications/sites?token=user_master_token
|
41
|
+
body:
|
42
|
+
encoding: US-ASCII
|
43
|
+
string: description=my%20new%20site&store_api_url=
|
44
|
+
headers: {}
|
45
|
+
response:
|
46
|
+
status:
|
47
|
+
code: 405
|
48
|
+
message: Method Not Allowed
|
49
|
+
headers:
|
50
|
+
Server:
|
51
|
+
- nginx/1.2.2
|
52
|
+
Date:
|
53
|
+
- Wed, 05 Sep 2012 16:08:13 GMT
|
54
|
+
Content-Type:
|
55
|
+
- text/html; charset=UTF-8
|
56
|
+
Transfer-Encoding:
|
57
|
+
- chunked
|
58
|
+
Connection:
|
59
|
+
- keep-alive
|
60
|
+
Keep-Alive:
|
61
|
+
- timeout=10
|
62
|
+
X-Powered-By:
|
63
|
+
- PHP/5.3.15
|
64
|
+
Allow:
|
65
|
+
- PUT, GET, HEAD
|
66
|
+
Cache-Control:
|
67
|
+
- no-cache
|
68
|
+
X-Debug-Token:
|
69
|
+
- 504778ed6beae
|
70
|
+
body:
|
71
|
+
encoding: US-ASCII
|
72
|
+
string: ! "<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\"
|
73
|
+
content=\"text/html; charset=UTF-8\"/>\n <meta name=\"robots\" content=\"noindex,nofollow\"
|
74
|
+
/>\n <title> No route found for "POST /v1/applications/sites":
|
75
|
+
Method Not Allowed (Allow: PUT, GET, HEAD) (405 Method Not Allowed)\n</title>\n
|
76
|
+
\ <link href=\"/bundles/framework/css/exception_layout.css\" rel=\"stylesheet\"
|
77
|
+
type=\"text/css\" media=\"all\" />\n <link href=\"/bundles/framework/css/exception.css\"
|
78
|
+
rel=\"stylesheet\" type=\"text/css\" media=\"all\" />\n </head>\n <body>\n
|
79
|
+
\ <div id=\"content\">\n <div class=\"header clear_fix\">\n
|
80
|
+
\ <div class=\"header_logo\">\n <img src=\"/bundles/framework/images/logo_symfony.gif\"
|
81
|
+
alt=\"Symfony\" />\n </div>\n\n <div class=\"search\">\n
|
82
|
+
\ <form method=\"get\" action=\"http://symfony.com/search\">\n
|
83
|
+
\ <div class=\"form_row\">\n\n <label
|
84
|
+
for=\"search_id\">\n <img src=\"/bundles/framework/images/grey_magnifier.png\"
|
85
|
+
alt=\"Search on Symfony website\" />\n </label>\n\n <input
|
86
|
+
name=\"q\" id=\"search_id\" type=\"search\" placeholder=\"Search on Symfony
|
87
|
+
website\" />\n\n <button type=\"submit\">\n <span
|
88
|
+
class=\"border_l\">\n <span class=\"border_r\">\n
|
89
|
+
\ <span class=\"btn_bg\">OK</span>\n </span>\n
|
90
|
+
\ </span>\n </button>\n </div>\n
|
91
|
+
\ </form>\n </div>\n </div>\n\n
|
92
|
+
\ <div class=\"sf-exceptionreset\">\n\n <div class=\"block_exception\">\n
|
93
|
+
\ <div class=\"block_exception_detected clear_fix\">\n <div
|
94
|
+
class=\"illustration_exception\">\n <img alt=\"Exception detected!\"
|
95
|
+
src=\"/bundles/framework/images/exception_detected.gif\"/>\n </div>\n
|
96
|
+
\ <div class=\"text_exception\">\n\n <div class=\"open_quote\">\n
|
97
|
+
\ <img alt=\"\" src=\"/bundles/framework/images/open_quote.gif\"/>\n
|
98
|
+
\ </div>\n\n <h1>\n No route
|
99
|
+
found for "POST /v1/applications/sites": Method Not Allowed (Allow:
|
100
|
+
PUT, GET, HEAD)\n </h1>\n\n <div>\n <strong>405</strong>
|
101
|
+
Method Not Allowed - <abbr title=\"Symfony\\Component\\HttpKernel\\Exception\\MethodNotAllowedHttpException\">MethodNotAllowedHttpException</abbr>\n
|
102
|
+
\ </div>\n\n <div
|
103
|
+
class=\"linked\"><span><strong>1</strong> linked Exception:</span>\n <ul>\n
|
104
|
+
\ <li>\n <abbr
|
105
|
+
title=\"Symfony\\Component\\Routing\\Exception\\MethodNotAllowedException\">MethodNotAllowedException</abbr>
|
106
|
+
<a href=\"#traces_link_1\" onclick=\"toggle('traces_1', 'traces'); switchIcons('icon_traces_1_open',
|
107
|
+
'icon_traces_1_close');\">»</a>\n </li>\n
|
108
|
+
\ </ul>\n </div>\n
|
109
|
+
\ \n <div class=\"close_quote\">\n <img
|
110
|
+
alt=\"\" src=\"/bundles/framework/images/close_quote.gif\"/>\n </div>\n\n
|
111
|
+
\ </div>\n </div>\n </div>\n\n <div class=\"block\">\n
|
112
|
+
\ <h2>\n <span><small>[2/2]</small></span>\n <abbr
|
113
|
+
title=\"Symfony\\Component\\HttpKernel\\Exception\\MethodNotAllowedHttpException\">MethodNotAllowedHttpException</abbr>:
|
114
|
+
No route found for "POST /v1/applications/sites": Method Not Allowed
|
115
|
+
(Allow: PUT, GET, HEAD) \n <a href=\"#\" onclick=\"toggle('traces_0',
|
116
|
+
'traces'); switchIcons('icon_traces_0_open', 'icon_traces_0_close'); return
|
117
|
+
false;\"><img class=\"toggle\" id=\"icon_traces_0_close\" alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\"
|
118
|
+
style=\"visibility: hidden\" /><img class=\"toggle\" id=\"icon_traces_0_open\"
|
119
|
+
alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\" style=\"visibility:
|
120
|
+
display; margin-left: -18px\" /></a> </h2>\n \n <a id=\"traces_link_0\"></a>\n
|
121
|
+
\ <ol class=\"traces list_exception\" id=\"traces_0\" style=\"display: none\">\n
|
122
|
+
\ <li>\n \n \n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/EventListener/RouterListener.php
|
123
|
+
at line 87 \n <a href=\"#\" onclick=\"toggle('trace_0_0'); switchIcons('icon_0_0_open',
|
124
|
+
'icon_0_0_close'); return false;\"><img class=\"toggle\" id=\"icon_0_0_close\"
|
125
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
126
|
+
display\" /><img class=\"toggle\" id=\"icon_0_0_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
127
|
+
style=\"visibility: hidden; margin-left: -18px\" /></a> <div id=\"trace_0_0\"
|
128
|
+
style=\"display: block\" class=\"trace\">\n <ol start=\"84\"><li><code> } catch (<span
|
129
|
+
style=\"color: #0000BB\">MethodNotAllowedException $e</span><span style=\"color:
|
130
|
+
#007700\">) {</span></code></li>\n<li><code> <span
|
131
|
+
style=\"color: #0000BB\">$message </span><span style=\"color: #007700\">= </span><span
|
132
|
+
style=\"color: #0000BB\">sprintf</span><span style=\"color: #007700\">(</span><span
|
133
|
+
style=\"color: #DD0000\">'No route found for \"%s %s\": Method Not Allowed (Allow: %s)'</span><span
|
134
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$request</span><span
|
135
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getMethod</span><span
|
136
|
+
style=\"color: #007700\">(), </span><span style=\"color: #0000BB\">$request</span><span
|
137
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getPathInfo</span><span
|
138
|
+
style=\"color: #007700\">(), </span><span style=\"color: #0000BB\">strtoupper</span><span
|
139
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">implode</span><span
|
140
|
+
style=\"color: #007700\">(</span><span style=\"color: #DD0000\">', '</span><span
|
141
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$e</span><span
|
142
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getAllowedMethods</span><span
|
143
|
+
style=\"color: #007700\">())));</span></code></li>\n<li><code></code></li>\n<li
|
144
|
+
class=\"selected\"><code> throw new <span
|
145
|
+
style=\"color: #0000BB\">MethodNotAllowedHttpException</span><span style=\"color:
|
146
|
+
#007700\">(</span><span style=\"color: #0000BB\">$e</span><span style=\"color:
|
147
|
+
#007700\">-></span><span style=\"color: #0000BB\">getAllowedMethods</span><span
|
148
|
+
style=\"color: #007700\">(), </span><span style=\"color: #0000BB\">$message</span><span
|
149
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$e</span><span
|
150
|
+
style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> if (<span
|
151
|
+
style=\"color: #0000BB\">HttpKernelInterface</span><span style=\"color: #007700\">::</span><span
|
152
|
+
style=\"color: #0000BB\">MASTER_REQUEST </span><span style=\"color: #007700\">=== </span><span
|
153
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
154
|
+
style=\"color: #0000BB\">getRequestType</span><span style=\"color: #007700\">()) {</span></code></li></ol>\n
|
155
|
+
\ </div>\n </li>\n <li>\n at\n
|
156
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>\n
|
157
|
+
\ ->onKernelRequest\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
158
|
+
\ </li>\n <li>\n at\n <strong>\n
|
159
|
+
\ <abbr title=\"\"></abbr>\n call_user_func\n </strong>\n
|
160
|
+
\ (<em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
161
|
+
'onKernelRequest'), <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
162
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php
|
163
|
+
at line 82 \n <a href=\"#\" onclick=\"toggle('trace_0_2'); switchIcons('icon_0_2_open',
|
164
|
+
'icon_0_2_close'); return false;\"><img class=\"toggle\" id=\"icon_0_2_close\"
|
165
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
166
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_2_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
167
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_2\"
|
168
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"79\"><li><code></code></li>\n<li><code> <span
|
169
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
170
|
+
style=\"color: #0000BB\">called</span><span style=\"color: #007700\">[</span><span
|
171
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">.</span><span
|
172
|
+
style=\"color: #DD0000\">'.'</span><span style=\"color: #007700\">.</span><span
|
173
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">[</span><span
|
174
|
+
style=\"color: #DD0000\">'pretty'</span><span style=\"color: #007700\">]] = </span><span
|
175
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li
|
176
|
+
class=\"selected\"><code> <span
|
177
|
+
style=\"color: #0000BB\">call_user_func</span><span style=\"color: #007700\">(</span><span
|
178
|
+
style=\"color: #0000BB\">$listener</span><span style=\"color: #007700\">, </span><span
|
179
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
180
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
181
|
+
style=\"color: #0000BB\">isPropagationStopped</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> if (<span
|
182
|
+
style=\"color: #0000BB\">null </span><span style=\"color: #007700\">!== </span><span
|
183
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
184
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">) {</span></code></li></ol>\n
|
185
|
+
\ </div>\n </li>\n <li>\n at\n
|
186
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\Debug\\TraceableEventDispatcher\">TraceableEventDispatcher</abbr>\n
|
187
|
+
\ ->doDispatch\n </strong>\n (<em>array</em>(<em>array</em>(<em>object</em>(<abbr
|
188
|
+
title=\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\">ProfilerListener</abbr>),
|
189
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
190
|
+
'onEarlyKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener\">SessionListener</abbr>),
|
191
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Component\\Security\\Http\\Firewall\">Firewall</abbr>),
|
192
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
193
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"FOS\\RestBundle\\EventListener\\BodyListener\">BodyListener</abbr>),
|
194
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\RequestLogListener\">RequestLogListener</abbr>),
|
195
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Templating\\Helper\\MenuHelper\">MenuHelper</abbr>),
|
196
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\ChangeLocaleKernelRequestListener\">ChangeLocaleKernelRequestListener</abbr>),
|
197
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\SaveAppIdInCookieKernelRequestListener\">SaveAppIdInCookieKernelRequestListener</abbr>),
|
198
|
+
'onKernelRequest')), 'kernel.request', <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
199
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php
|
200
|
+
at line 49 \n <a href=\"#\" onclick=\"toggle('trace_0_3'); switchIcons('icon_0_3_open',
|
201
|
+
'icon_0_3_close'); return false;\"><img class=\"toggle\" id=\"icon_0_3_close\"
|
202
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
203
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_3_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
204
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_3\"
|
205
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"46\"><li><code> <span
|
206
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
207
|
+
style=\"color: #0000BB\">Event</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
208
|
+
class=\"selected\"><code> <span
|
209
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
210
|
+
style=\"color: #0000BB\">doDispatch</span><span style=\"color: #007700\">(</span><span
|
211
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
212
|
+
style=\"color: #0000BB\">getListeners</span><span style=\"color: #007700\">(</span><span
|
213
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">), </span><span
|
214
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
215
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
216
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
217
|
+
\ <li>\n at\n <strong>\n <abbr
|
218
|
+
title=\"Symfony\\Component\\EventDispatcher\\EventDispatcher\">EventDispatcher</abbr>\n
|
219
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
220
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
221
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php
|
222
|
+
at line 145 \n <a href=\"#\" onclick=\"toggle('trace_0_4'); switchIcons('icon_0_4_open',
|
223
|
+
'icon_0_4_close'); return false;\"><img class=\"toggle\" id=\"icon_0_4_close\"
|
224
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
225
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_4_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
226
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_4\"
|
227
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"142\"><li><code> {</code></li>\n<li><code> <span
|
228
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
229
|
+
style=\"color: #0000BB\">lazyLoad</span><span style=\"color: #007700\">(</span><span
|
230
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li
|
231
|
+
class=\"selected\"><code> <span
|
232
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
233
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
234
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
235
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
236
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
237
|
+
\ <li>\n at\n <strong>\n <abbr
|
238
|
+
title=\"Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher\">ContainerAwareEventDispatcher</abbr>\n
|
239
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
240
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
241
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
242
|
+
at line 98 \n <a href=\"#\" onclick=\"toggle('trace_0_5'); switchIcons('icon_0_5_open',
|
243
|
+
'icon_0_5_close'); return false;\"><img class=\"toggle\" id=\"icon_0_5_close\"
|
244
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
245
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_5_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
246
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_5\"
|
247
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"95\"><li><code> {</code></li>\n<li><code> <span
|
248
|
+
style=\"color: #FF8000\">// request</span></code></li>\n<li><code> <span
|
249
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
250
|
+
style=\"color: #0000BB\">GetResponseEvent</span><span style=\"color: #007700\">(</span><span
|
251
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">, </span><span
|
252
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
253
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
254
|
+
class=\"selected\"><code> <span
|
255
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
256
|
+
style=\"color: #0000BB\">dispatcher</span><span style=\"color: #007700\">-></span><span
|
257
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
258
|
+
style=\"color: #0000BB\">KernelEvents</span><span style=\"color: #007700\">::</span><span
|
259
|
+
style=\"color: #0000BB\">REQUEST</span><span style=\"color: #007700\">, </span><span
|
260
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
261
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
262
|
+
style=\"color: #0000BB\">hasResponse</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> return <span
|
263
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
264
|
+
style=\"color: #0000BB\">filterResponse</span><span style=\"color: #007700\">(</span><span
|
265
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
266
|
+
style=\"color: #0000BB\">getResponse</span><span style=\"color: #007700\">(), </span><span
|
267
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
268
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li></ol>\n
|
269
|
+
\ </div>\n </li>\n <li>\n at\n
|
270
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
271
|
+
\ ->handleRaw\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
272
|
+
'1')\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
273
|
+
at line 71 \n <a href=\"#\" onclick=\"toggle('trace_0_6'); switchIcons('icon_0_6_open',
|
274
|
+
'icon_0_6_close'); return false;\"><img class=\"toggle\" id=\"icon_0_6_close\"
|
275
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
276
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_6_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
277
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_6\"
|
278
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"68\"><li><code> <span
|
279
|
+
style=\"color: #007700\">public function </span><span style=\"color:
|
280
|
+
#0000BB\">handle</span><span style=\"color: #007700\">(</span><span style=\"color:
|
281
|
+
#0000BB\">Request $request</span><span style=\"color: #007700\">, </span><span
|
282
|
+
style=\"color: #0000BB\">$type </span><span style=\"color: #007700\">= </span><span
|
283
|
+
style=\"color: #0000BB\">HttpKernelInterface</span><span style=\"color: #007700\">::</span><span
|
284
|
+
style=\"color: #0000BB\">MASTER_REQUEST</span><span style=\"color: #007700\">, </span><span
|
285
|
+
style=\"color: #0000BB\">$catch </span><span style=\"color: #007700\">= </span><span
|
286
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">)</span></code></li>\n<li><code> {</code></li>\n<li><code> try {</code></li>\n<li
|
287
|
+
class=\"selected\"><code> return <span
|
288
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
289
|
+
style=\"color: #0000BB\">handleRaw</span><span style=\"color: #007700\">(</span><span
|
290
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
291
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
292
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> if (<span
|
293
|
+
style=\"color: #0000BB\">false </span><span style=\"color: #007700\">=== </span><span
|
294
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> throw <span
|
295
|
+
style=\"color: #0000BB\">$e</span><span style=\"color: #007700\">;</span></code></li></ol>\n
|
296
|
+
\ </div>\n </li>\n <li>\n at\n
|
297
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
298
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
299
|
+
'1', <em>true</em>)\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
|
300
|
+
at line 47 \n <a href=\"#\" onclick=\"toggle('trace_0_7'); switchIcons('icon_0_7_open',
|
301
|
+
'icon_0_7_close'); return false;\"><img class=\"toggle\" id=\"icon_0_7_close\"
|
302
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
303
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_7_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
304
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_7\"
|
305
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"44\"><li><code> <span
|
306
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
307
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
308
|
+
style=\"color: #0000BB\">set</span><span style=\"color: #007700\">(</span><span
|
309
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">, </span><span
|
310
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
311
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> try {</code></li>\n<li
|
312
|
+
class=\"selected\"><code> <span
|
313
|
+
style=\"color: #0000BB\">$response </span><span style=\"color: #007700\">= </span><span
|
314
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
315
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
316
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
317
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
318
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
319
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> <span
|
320
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
321
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
322
|
+
style=\"color: #0000BB\">leaveScope</span><span style=\"color: #007700\">(</span><span
|
323
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li></ol>\n
|
324
|
+
\ </div>\n </li>\n <li>\n at\n
|
325
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\HttpKernel\">HttpKernel</abbr>\n
|
326
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
327
|
+
'1', <em>true</em>)\n\n <br />\n in <abbr title=\"/Users/schubert/workspace/jirafe/api/app/\">kernel.root_dir</abbr>/bootstrap.php.cache
|
328
|
+
at line 547 \n <a href=\"#\" onclick=\"toggle('trace_0_8'); switchIcons('icon_0_8_open',
|
329
|
+
'icon_0_8_close'); return false;\"><img class=\"toggle\" id=\"icon_0_8_close\"
|
330
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
331
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_8_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
332
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_8\"
|
333
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"544\"><li><code> <span
|
334
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
335
|
+
style=\"color: #0000BB\">boot</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
336
|
+
class=\"selected\"><code> return <span
|
337
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
338
|
+
style=\"color: #0000BB\">getHttpKernel</span><span style=\"color: #007700\">()-></span><span
|
339
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
340
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
341
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
342
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> </code></li></ol>\n
|
343
|
+
\ </div>\n </li>\n <li>\n at\n
|
344
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\Kernel\">Kernel</abbr>\n
|
345
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>))\n\n
|
346
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/web/app_dev.php at
|
347
|
+
line 17 \n <a href=\"#\" onclick=\"toggle('trace_0_9'); switchIcons('icon_0_9_open',
|
348
|
+
'icon_0_9_close'); return false;\"><img class=\"toggle\" id=\"icon_0_9_close\"
|
349
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
350
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_9_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
351
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_9\"
|
352
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"14\"><li><code>use <span
|
353
|
+
style=\"color: #0000BB\">Symfony</span><span style=\"color: #007700\">\\</span><span
|
354
|
+
style=\"color: #0000BB\">Component</span><span style=\"color: #007700\">\\</span><span
|
355
|
+
style=\"color: #0000BB\">HttpFoundation</span><span style=\"color: #007700\">\\</span><span
|
356
|
+
style=\"color: #0000BB\">Request</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li><code><span
|
357
|
+
style=\"color: #0000BB\">$kernel </span><span style=\"color: #007700\">= new </span><span
|
358
|
+
style=\"color: #0000BB\">AppKernel</span><span style=\"color: #007700\">(</span><span
|
359
|
+
style=\"color: #DD0000\">'dev'</span><span style=\"color: #007700\">, </span><span
|
360
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
361
|
+
class=\"selected\"><code><span style=\"color: #0000BB\">$kernel</span><span
|
362
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">handle</span><span
|
363
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">Request</span><span
|
364
|
+
style=\"color: #007700\">::</span><span style=\"color: #0000BB\">createFromGlobals</span><span
|
365
|
+
style=\"color: #007700\">())-></span><span style=\"color: #0000BB\">send</span><span
|
366
|
+
style=\"color: #007700\">();</span></code></li>\n<li><code>\n</code></li></ol>\n
|
367
|
+
\ </div>\n </li>\n </ol>\n</div>\n <div
|
368
|
+
class=\"block\">\n <h2>\n <span><small>[1/2]</small></span>\n
|
369
|
+
\ <abbr title=\"Symfony\\Component\\Routing\\Exception\\MethodNotAllowedException\">MethodNotAllowedException</abbr>:
|
370
|
+
\n <a href=\"#\" onclick=\"toggle('traces_1', 'traces');
|
371
|
+
switchIcons('icon_traces_1_open', 'icon_traces_1_close'); return false;\"><img
|
372
|
+
class=\"toggle\" id=\"icon_traces_1_close\" alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\"
|
373
|
+
style=\"visibility: hidden\" /><img class=\"toggle\" id=\"icon_traces_1_open\"
|
374
|
+
alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\" style=\"visibility:
|
375
|
+
display; margin-left: -18px\" /></a> </h2>\n \n <a id=\"traces_link_1\"></a>\n
|
376
|
+
\ <ol class=\"traces list_exception\" id=\"traces_1\" style=\"display: none\">\n
|
377
|
+
\ <li>\n \n \n in <abbr title=\"/Users/schubert/workspace/jirafe/api/app/\">kernel.root_dir</abbr>/cache/dev/appdevUrlMatcher.php
|
378
|
+
at line 752 \n <a href=\"#\" onclick=\"toggle('trace_1_0'); switchIcons('icon_1_0_open',
|
379
|
+
'icon_1_0_close'); return false;\"><img class=\"toggle\" id=\"icon_1_0_close\"
|
380
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
381
|
+
display\" /><img class=\"toggle\" id=\"icon_1_0_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
382
|
+
style=\"visibility: hidden; margin-left: -18px\" /></a> <div id=\"trace_1_0\"
|
383
|
+
style=\"display: block\" class=\"trace\">\n <ol start=\"749\"><li><code></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
384
|
+
class=\"selected\"><code> throw <span
|
385
|
+
style=\"color: #0000BB\">0 </span><span style=\"color: #007700\">< </span><span
|
386
|
+
style=\"color: #0000BB\">count</span><span style=\"color: #007700\">(</span><span
|
387
|
+
style=\"color: #0000BB\">$allow</span><span style=\"color: #007700\">) ? new </span><span
|
388
|
+
style=\"color: #0000BB\">MethodNotAllowedException</span><span style=\"color:
|
389
|
+
#007700\">(</span><span style=\"color: #0000BB\">array_unique</span><span
|
390
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">$allow</span><span
|
391
|
+
style=\"color: #007700\">)) : new </span><span style=\"color:
|
392
|
+
#0000BB\">ResourceNotFoundException</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code>}</code></li>\n<li><code>\n</code></li></ol>\n
|
393
|
+
\ </div>\n </li>\n <li>\n at\n
|
394
|
+
\ <strong>\n <abbr title=\"appdevUrlMatcher\">appdevUrlMatcher</abbr>\n
|
395
|
+
\ ->match\n </strong>\n ('/v1/applications/sites')\n\n <br
|
396
|
+
/>\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/Routing/Router.php
|
397
|
+
at line 195 \n <a href=\"#\" onclick=\"toggle('trace_1_1'); switchIcons('icon_1_1_open',
|
398
|
+
'icon_1_1_close'); return false;\"><img class=\"toggle\" id=\"icon_1_1_close\"
|
399
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
400
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_1_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
401
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_1\"
|
402
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"192\"><li><code> */</code></li>\n<li><code> <span
|
403
|
+
style=\"color: #007700\">public function </span><span style=\"color:
|
404
|
+
#0000BB\">match</span><span style=\"color: #007700\">(</span><span style=\"color:
|
405
|
+
#0000BB\">$url</span><span style=\"color: #007700\">)</span></code></li>\n<li><code> {</code></li>\n<li
|
406
|
+
class=\"selected\"><code> return <span
|
407
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
408
|
+
style=\"color: #0000BB\">getMatcher</span><span style=\"color: #007700\">()-></span><span
|
409
|
+
style=\"color: #0000BB\">match</span><span style=\"color: #007700\">(</span><span
|
410
|
+
style=\"color: #0000BB\">$url</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
411
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
412
|
+
\ <li>\n at\n <strong>\n <abbr
|
413
|
+
title=\"Symfony\\Component\\Routing\\Router\">Router</abbr>\n ->match\n
|
414
|
+
\ </strong>\n ('/v1/applications/sites')\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/EventListener/RouterListener.php
|
415
|
+
at line 73 \n <a href=\"#\" onclick=\"toggle('trace_1_2'); switchIcons('icon_1_2_open',
|
416
|
+
'icon_1_2_close'); return false;\"><img class=\"toggle\" id=\"icon_1_2_close\"
|
417
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
418
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_2_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
419
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_2\"
|
420
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"70\"><li><code></code></li>\n<li><code> <span
|
421
|
+
style=\"color: #FF8000\">// add attributes based on the path info (routing)</span></code></li>\n<li><code> <span
|
422
|
+
style=\"color: #007700\">try {</span></code></li>\n<li class=\"selected\"><code> <span
|
423
|
+
style=\"color: #0000BB\">$parameters </span><span style=\"color: #007700\">= </span><span
|
424
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
425
|
+
style=\"color: #0000BB\">router</span><span style=\"color: #007700\">-></span><span
|
426
|
+
style=\"color: #0000BB\">match</span><span style=\"color: #007700\">(</span><span
|
427
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">-></span><span
|
428
|
+
style=\"color: #0000BB\">getPathInfo</span><span style=\"color: #007700\">());</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
429
|
+
style=\"color: #0000BB\">null </span><span style=\"color: #007700\">!== </span><span
|
430
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
431
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> <span
|
432
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
433
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">-></span><span
|
434
|
+
style=\"color: #0000BB\">info</span><span style=\"color: #007700\">(</span><span
|
435
|
+
style=\"color: #0000BB\">sprintf</span><span style=\"color: #007700\">(</span><span
|
436
|
+
style=\"color: #DD0000\">'Matched route \"%s\" (parameters: %s)'</span><span
|
437
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$parameters</span><span
|
438
|
+
style=\"color: #007700\">[</span><span style=\"color: #DD0000\">'_route'</span><span
|
439
|
+
style=\"color: #007700\">], </span><span style=\"color: #0000BB\">$this</span><span
|
440
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">parametersToString</span><span
|
441
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">$parameters</span><span
|
442
|
+
style=\"color: #007700\">)));</span></code></li></ol>\n </div>\n </li>\n
|
443
|
+
\ <li>\n at\n <strong>\n <abbr
|
444
|
+
title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>\n
|
445
|
+
\ ->onKernelRequest\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
446
|
+
\ </li>\n <li>\n at\n <strong>\n
|
447
|
+
\ <abbr title=\"\"></abbr>\n call_user_func\n </strong>\n
|
448
|
+
\ (<em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
449
|
+
'onKernelRequest'), <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
450
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php
|
451
|
+
at line 82 \n <a href=\"#\" onclick=\"toggle('trace_1_4'); switchIcons('icon_1_4_open',
|
452
|
+
'icon_1_4_close'); return false;\"><img class=\"toggle\" id=\"icon_1_4_close\"
|
453
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
454
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_4_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
455
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_4\"
|
456
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"79\"><li><code></code></li>\n<li><code> <span
|
457
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
458
|
+
style=\"color: #0000BB\">called</span><span style=\"color: #007700\">[</span><span
|
459
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">.</span><span
|
460
|
+
style=\"color: #DD0000\">'.'</span><span style=\"color: #007700\">.</span><span
|
461
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">[</span><span
|
462
|
+
style=\"color: #DD0000\">'pretty'</span><span style=\"color: #007700\">]] = </span><span
|
463
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li
|
464
|
+
class=\"selected\"><code> <span
|
465
|
+
style=\"color: #0000BB\">call_user_func</span><span style=\"color: #007700\">(</span><span
|
466
|
+
style=\"color: #0000BB\">$listener</span><span style=\"color: #007700\">, </span><span
|
467
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
468
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
469
|
+
style=\"color: #0000BB\">isPropagationStopped</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> if (<span
|
470
|
+
style=\"color: #0000BB\">null </span><span style=\"color: #007700\">!== </span><span
|
471
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
472
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">) {</span></code></li></ol>\n
|
473
|
+
\ </div>\n </li>\n <li>\n at\n
|
474
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\Debug\\TraceableEventDispatcher\">TraceableEventDispatcher</abbr>\n
|
475
|
+
\ ->doDispatch\n </strong>\n (<em>array</em>(<em>array</em>(<em>object</em>(<abbr
|
476
|
+
title=\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\">ProfilerListener</abbr>),
|
477
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
478
|
+
'onEarlyKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener\">SessionListener</abbr>),
|
479
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Component\\Security\\Http\\Firewall\">Firewall</abbr>),
|
480
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
481
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"FOS\\RestBundle\\EventListener\\BodyListener\">BodyListener</abbr>),
|
482
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\RequestLogListener\">RequestLogListener</abbr>),
|
483
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Templating\\Helper\\MenuHelper\">MenuHelper</abbr>),
|
484
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\ChangeLocaleKernelRequestListener\">ChangeLocaleKernelRequestListener</abbr>),
|
485
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\SaveAppIdInCookieKernelRequestListener\">SaveAppIdInCookieKernelRequestListener</abbr>),
|
486
|
+
'onKernelRequest')), 'kernel.request', <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
487
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php
|
488
|
+
at line 49 \n <a href=\"#\" onclick=\"toggle('trace_1_5'); switchIcons('icon_1_5_open',
|
489
|
+
'icon_1_5_close'); return false;\"><img class=\"toggle\" id=\"icon_1_5_close\"
|
490
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
491
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_5_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
492
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_5\"
|
493
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"46\"><li><code> <span
|
494
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
495
|
+
style=\"color: #0000BB\">Event</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
496
|
+
class=\"selected\"><code> <span
|
497
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
498
|
+
style=\"color: #0000BB\">doDispatch</span><span style=\"color: #007700\">(</span><span
|
499
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
500
|
+
style=\"color: #0000BB\">getListeners</span><span style=\"color: #007700\">(</span><span
|
501
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">), </span><span
|
502
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
503
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
504
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
505
|
+
\ <li>\n at\n <strong>\n <abbr
|
506
|
+
title=\"Symfony\\Component\\EventDispatcher\\EventDispatcher\">EventDispatcher</abbr>\n
|
507
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
508
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
509
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php
|
510
|
+
at line 145 \n <a href=\"#\" onclick=\"toggle('trace_1_6'); switchIcons('icon_1_6_open',
|
511
|
+
'icon_1_6_close'); return false;\"><img class=\"toggle\" id=\"icon_1_6_close\"
|
512
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
513
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_6_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
514
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_6\"
|
515
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"142\"><li><code> {</code></li>\n<li><code> <span
|
516
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
517
|
+
style=\"color: #0000BB\">lazyLoad</span><span style=\"color: #007700\">(</span><span
|
518
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li
|
519
|
+
class=\"selected\"><code> <span
|
520
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
521
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
522
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
523
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
524
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
525
|
+
\ <li>\n at\n <strong>\n <abbr
|
526
|
+
title=\"Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher\">ContainerAwareEventDispatcher</abbr>\n
|
527
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
528
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
529
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
530
|
+
at line 98 \n <a href=\"#\" onclick=\"toggle('trace_1_7'); switchIcons('icon_1_7_open',
|
531
|
+
'icon_1_7_close'); return false;\"><img class=\"toggle\" id=\"icon_1_7_close\"
|
532
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
533
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_7_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
534
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_7\"
|
535
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"95\"><li><code> {</code></li>\n<li><code> <span
|
536
|
+
style=\"color: #FF8000\">// request</span></code></li>\n<li><code> <span
|
537
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
538
|
+
style=\"color: #0000BB\">GetResponseEvent</span><span style=\"color: #007700\">(</span><span
|
539
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">, </span><span
|
540
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
541
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
542
|
+
class=\"selected\"><code> <span
|
543
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
544
|
+
style=\"color: #0000BB\">dispatcher</span><span style=\"color: #007700\">-></span><span
|
545
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
546
|
+
style=\"color: #0000BB\">KernelEvents</span><span style=\"color: #007700\">::</span><span
|
547
|
+
style=\"color: #0000BB\">REQUEST</span><span style=\"color: #007700\">, </span><span
|
548
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
549
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
550
|
+
style=\"color: #0000BB\">hasResponse</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> return <span
|
551
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
552
|
+
style=\"color: #0000BB\">filterResponse</span><span style=\"color: #007700\">(</span><span
|
553
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
554
|
+
style=\"color: #0000BB\">getResponse</span><span style=\"color: #007700\">(), </span><span
|
555
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
556
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li></ol>\n
|
557
|
+
\ </div>\n </li>\n <li>\n at\n
|
558
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
559
|
+
\ ->handleRaw\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
560
|
+
'1')\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
561
|
+
at line 71 \n <a href=\"#\" onclick=\"toggle('trace_1_8'); switchIcons('icon_1_8_open',
|
562
|
+
'icon_1_8_close'); return false;\"><img class=\"toggle\" id=\"icon_1_8_close\"
|
563
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
564
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_8_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
565
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_8\"
|
566
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"68\"><li><code> <span
|
567
|
+
style=\"color: #007700\">public function </span><span style=\"color:
|
568
|
+
#0000BB\">handle</span><span style=\"color: #007700\">(</span><span style=\"color:
|
569
|
+
#0000BB\">Request $request</span><span style=\"color: #007700\">, </span><span
|
570
|
+
style=\"color: #0000BB\">$type </span><span style=\"color: #007700\">= </span><span
|
571
|
+
style=\"color: #0000BB\">HttpKernelInterface</span><span style=\"color: #007700\">::</span><span
|
572
|
+
style=\"color: #0000BB\">MASTER_REQUEST</span><span style=\"color: #007700\">, </span><span
|
573
|
+
style=\"color: #0000BB\">$catch </span><span style=\"color: #007700\">= </span><span
|
574
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">)</span></code></li>\n<li><code> {</code></li>\n<li><code> try {</code></li>\n<li
|
575
|
+
class=\"selected\"><code> return <span
|
576
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
577
|
+
style=\"color: #0000BB\">handleRaw</span><span style=\"color: #007700\">(</span><span
|
578
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
579
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
580
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> if (<span
|
581
|
+
style=\"color: #0000BB\">false </span><span style=\"color: #007700\">=== </span><span
|
582
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> throw <span
|
583
|
+
style=\"color: #0000BB\">$e</span><span style=\"color: #007700\">;</span></code></li></ol>\n
|
584
|
+
\ </div>\n </li>\n <li>\n at\n
|
585
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
586
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
587
|
+
'1', <em>true</em>)\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
|
588
|
+
at line 47 \n <a href=\"#\" onclick=\"toggle('trace_1_9'); switchIcons('icon_1_9_open',
|
589
|
+
'icon_1_9_close'); return false;\"><img class=\"toggle\" id=\"icon_1_9_close\"
|
590
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
591
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_9_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
592
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_9\"
|
593
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"44\"><li><code> <span
|
594
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
595
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
596
|
+
style=\"color: #0000BB\">set</span><span style=\"color: #007700\">(</span><span
|
597
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">, </span><span
|
598
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
599
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> try {</code></li>\n<li
|
600
|
+
class=\"selected\"><code> <span
|
601
|
+
style=\"color: #0000BB\">$response </span><span style=\"color: #007700\">= </span><span
|
602
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
603
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
604
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
605
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
606
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
607
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> <span
|
608
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
609
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
610
|
+
style=\"color: #0000BB\">leaveScope</span><span style=\"color: #007700\">(</span><span
|
611
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li></ol>\n
|
612
|
+
\ </div>\n </li>\n <li>\n at\n
|
613
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\HttpKernel\">HttpKernel</abbr>\n
|
614
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
615
|
+
'1', <em>true</em>)\n\n <br />\n in <abbr title=\"/Users/schubert/workspace/jirafe/api/app/\">kernel.root_dir</abbr>/bootstrap.php.cache
|
616
|
+
at line 547 \n <a href=\"#\" onclick=\"toggle('trace_1_10'); switchIcons('icon_1_10_open',
|
617
|
+
'icon_1_10_close'); return false;\"><img class=\"toggle\" id=\"icon_1_10_close\"
|
618
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
619
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_10_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
620
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_10\"
|
621
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"544\"><li><code> <span
|
622
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
623
|
+
style=\"color: #0000BB\">boot</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
624
|
+
class=\"selected\"><code> return <span
|
625
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
626
|
+
style=\"color: #0000BB\">getHttpKernel</span><span style=\"color: #007700\">()-></span><span
|
627
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
628
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
629
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
630
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> </code></li></ol>\n
|
631
|
+
\ </div>\n </li>\n <li>\n at\n
|
632
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\Kernel\">Kernel</abbr>\n
|
633
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>))\n\n
|
634
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/web/app_dev.php at
|
635
|
+
line 17 \n <a href=\"#\" onclick=\"toggle('trace_1_11'); switchIcons('icon_1_11_open',
|
636
|
+
'icon_1_11_close'); return false;\"><img class=\"toggle\" id=\"icon_1_11_close\"
|
637
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
638
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_11_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
639
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_11\"
|
640
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"14\"><li><code>use <span
|
641
|
+
style=\"color: #0000BB\">Symfony</span><span style=\"color: #007700\">\\</span><span
|
642
|
+
style=\"color: #0000BB\">Component</span><span style=\"color: #007700\">\\</span><span
|
643
|
+
style=\"color: #0000BB\">HttpFoundation</span><span style=\"color: #007700\">\\</span><span
|
644
|
+
style=\"color: #0000BB\">Request</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li><code><span
|
645
|
+
style=\"color: #0000BB\">$kernel </span><span style=\"color: #007700\">= new </span><span
|
646
|
+
style=\"color: #0000BB\">AppKernel</span><span style=\"color: #007700\">(</span><span
|
647
|
+
style=\"color: #DD0000\">'dev'</span><span style=\"color: #007700\">, </span><span
|
648
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
649
|
+
class=\"selected\"><code><span style=\"color: #0000BB\">$kernel</span><span
|
650
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">handle</span><span
|
651
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">Request</span><span
|
652
|
+
style=\"color: #007700\">::</span><span style=\"color: #0000BB\">createFromGlobals</span><span
|
653
|
+
style=\"color: #007700\">())-></span><span style=\"color: #0000BB\">send</span><span
|
654
|
+
style=\"color: #007700\">();</span></code></li>\n<li><code>\n</code></li></ol>\n
|
655
|
+
\ </div>\n </li>\n </ol>\n</div>\n \n <div
|
656
|
+
class=\"block\">\n <div class=\"logs clear_fix\">\n <h2>\n
|
657
|
+
\ Logs \n <a href=\"#\" onclick=\"toggle('logs');
|
658
|
+
switchIcons('icon_logs_open', 'icon_logs_close'); return false;\"><img class=\"toggle\"
|
659
|
+
id=\"icon_logs_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
660
|
+
style=\"visibility: hidden\" /><img class=\"toggle\" id=\"icon_logs_close\"
|
661
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
662
|
+
visible; margin-left: -18px\" /></a></h2>\n <div
|
663
|
+
class=\"error_count\">\n <span>\n 1
|
664
|
+
error\n </span>\n </div>\n \n
|
665
|
+
\ </div>\n\n <div id=\"logs\">\n <ol class=\"traces
|
666
|
+
logs\">\n <li>\n Notified event "kernel.request"
|
667
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelRequest".\n
|
668
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
669
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onEarlyKernelRequest".\n
|
670
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
671
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener::onKernelRequest".\n
|
672
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
673
|
+
to listener "Symfony\\Component\\Security\\Http\\Firewall::onKernelRequest".\n
|
674
|
+
\ </li>\n <li>\n SELECT\n t.token,\n
|
675
|
+
\ a.application_id, a.name AS app_name, a.platform_type, a.platform_version,\n
|
676
|
+
\ a.platform_admin_username, a.plugin_version,\n u.user_id,
|
677
|
+
u.name AS user_name, u.surname, u.email, u.password, u.salt,\n u.is_confirmed,
|
678
|
+
u.is_hosted_user, u.confirmation_token\n FROM tokens AS t\n LEFT
|
679
|
+
JOIN applications AS a ON a.application_id = t.application_id\n LEFT
|
680
|
+
JOIN users AS u ON u.user_id = t.user_id\n WHERE t.token = :token\n
|
681
|
+
\ LIMIT 1 ({"token":"user_master_token"})\n </li>\n
|
682
|
+
\ <li>\n SELECT\n t.token,\n a.application_id,
|
683
|
+
a.name, a.platform_type, a.platform_version,\n a.platform_admin_username,
|
684
|
+
a.plugin_version,\n u.user_id\n FROM tokens AS t\n INNER
|
685
|
+
JOIN applications AS a ON a.application_id = t.application_id\n INNER
|
686
|
+
JOIN users AS u ON u.user_id = t.user_id\n WHERE t.user_id = :user_id
|
687
|
+
({"user_id":1})\n </li>\n <li>\n Notified
|
688
|
+
event "kernel.request" to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onKernelRequest".\n
|
689
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
690
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\ExceptionListener::onKernelException".\n
|
691
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
692
|
+
to listener "Symfony\\Component\\Security\\Http\\Firewall\\ExceptionListener::onKernelException".\n
|
693
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
694
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelException".\n
|
695
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
696
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener::onKernelException".\n
|
697
|
+
\ </li>\n <li class=\"error\">\n Symfony\\Component\\HttpKernel\\Exception\\MethodNotAllowedHttpException:
|
698
|
+
No route found for "POST /v1/applications/sites": Method Not Allowed
|
699
|
+
(Allow: PUT, GET, HEAD) (uncaught exception) at /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/EventListener/RouterListener.php
|
700
|
+
line 87\n </li>\n <li>\n Notified event "kernel.request"
|
701
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelRequest".\n
|
702
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
703
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onEarlyKernelRequest".\n
|
704
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
705
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener::onKernelRequest".\n
|
706
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
707
|
+
to listener "Symfony\\Component\\Security\\Http\\Firewall::onKernelRequest".\n
|
708
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
709
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onKernelRequest".\n
|
710
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
711
|
+
to listener "FOS\\RestBundle\\EventListener\\BodyListener::onKernelRequest".\n
|
712
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
713
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\RequestLogListener::onKernelRequest".\n
|
714
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
715
|
+
to listener "Jirafe\\Bundle\\DashboardBundle\\Templating\\Helper\\MenuHelper::onKernelRequest".\n
|
716
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
717
|
+
to listener "Jirafe\\Bundle\\DashboardBundle\\Listener\\ChangeLocaleKernelRequestListener::onKernelRequest".\n
|
718
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
719
|
+
to listener "Jirafe\\Bundle\\DashboardBundle\\Listener\\SaveAppIdInCookieKernelRequestListener::onKernelRequest".\n
|
720
|
+
\ </li>\n <li>\n Notified event "kernel.controller"
|
721
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RequestDataCollector::onKernelController".\n
|
722
|
+
\ </li>\n </ol>\n </div>\n\n </div>\n \n \n</div>\n\n<script
|
723
|
+
type=\"text/javascript\">//<![CDATA[\n function toggle(id, clazz) {\n var
|
724
|
+
el = document.getElementById(id),\n current = el.style.display,\n
|
725
|
+
\ i;\n\n if (clazz) {\n var tags = document.getElementsByTagName('*');\n
|
726
|
+
\ for (i = tags.length - 1; i >= 0 ; i--) {\n if
|
727
|
+
(tags[i].className === clazz) {\n tags[i].style.display
|
728
|
+
= 'none';\n }\n }\n }\n\n el.style.display
|
729
|
+
= current === 'none' ? 'block' : 'none';\n }\n\n function switchIcons(id1,
|
730
|
+
id2) {\n var icon1, icon2, visibility1, visibility2;\n\n icon1
|
731
|
+
= document.getElementById(id1);\n icon2 = document.getElementById(id2);\n\n
|
732
|
+
\ visibility1 = icon1.style.visibility;\n visibility2 = icon2.style.visibility;\n\n
|
733
|
+
\ icon1.style.visibility = visibility2;\n icon2.style.visibility
|
734
|
+
= visibility1;\n }\n//]]></script>\n </div>\n \n<div id=\"sfwdt504778ed6beae\"
|
735
|
+
style=\"display: none\"></div><script type=\"text/javascript\">/*<![CDATA[*/
|
736
|
+
\ (function () { var wdt, xhr; wdt = document.getElementById('sfwdt504778ed6beae');
|
737
|
+
\ if (window.XMLHttpRequest) { xhr = new XMLHttpRequest();
|
738
|
+
\ } else { xhr = new ActiveXObject('Microsoft.XMLHTTP');
|
739
|
+
\ } xhr.open('GET', '/_wdt/504778ed6beae', true); xhr.setRequestHeader('X-Requested-With',
|
740
|
+
'XMLHttpRequest'); xhr.onreadystatechange = function(state) { if
|
741
|
+
(4 === xhr.readyState && 200 === xhr.status && -1 !== xhr.responseText.indexOf('sf-toolbarreset'))
|
742
|
+
{ wdt.innerHTML = xhr.responseText; wdt.style.display
|
743
|
+
= 'block'; } }; xhr.send(''); })();/*]]>*/</script>\n</body>\n</html>\n"
|
744
|
+
http_version:
|
745
|
+
recorded_at: Wed, 05 Sep 2012 16:08:13 GMT
|
746
|
+
- request:
|
747
|
+
method: post
|
748
|
+
uri: http://api.jirafe.dev/v1applications/sites?token=user_master_token
|
749
|
+
body:
|
750
|
+
encoding: US-ASCII
|
751
|
+
string: description=my%20new%20site&store_api_url=
|
752
|
+
headers: {}
|
753
|
+
response:
|
754
|
+
status:
|
755
|
+
code: 404
|
756
|
+
message: Not Found
|
757
|
+
headers:
|
758
|
+
Server:
|
759
|
+
- nginx/1.2.2
|
760
|
+
Date:
|
761
|
+
- Wed, 05 Sep 2012 18:34:46 GMT
|
762
|
+
Content-Type:
|
763
|
+
- text/html; charset=UTF-8
|
764
|
+
Transfer-Encoding:
|
765
|
+
- chunked
|
766
|
+
Connection:
|
767
|
+
- keep-alive
|
768
|
+
Keep-Alive:
|
769
|
+
- timeout=10
|
770
|
+
X-Powered-By:
|
771
|
+
- PHP/5.3.15
|
772
|
+
Set-Cookie:
|
773
|
+
- PHPSESSID=hd65t9ar0lvrgtueggs516p0p5; expires=Wed, 05-Sep-2012 19:34:46 GMT;
|
774
|
+
path=/; domain=.jirafe.local
|
775
|
+
Cache-Control:
|
776
|
+
- no-cache
|
777
|
+
X-Debug-Token:
|
778
|
+
- 50479b461a84e
|
779
|
+
body:
|
780
|
+
encoding: US-ASCII
|
781
|
+
string: ! "<!DOCTYPE html>\n<html>\n <head>\n <meta http-equiv=\"Content-Type\"
|
782
|
+
content=\"text/html; charset=UTF-8\"/>\n <meta name=\"robots\" content=\"noindex,nofollow\"
|
783
|
+
/>\n <title> No route found for "POST /v1applications/sites"
|
784
|
+
(404 Not Found)\n</title>\n <link href=\"/bundles/framework/css/exception_layout.css\"
|
785
|
+
rel=\"stylesheet\" type=\"text/css\" media=\"all\" />\n <link href=\"/bundles/framework/css/exception.css\"
|
786
|
+
rel=\"stylesheet\" type=\"text/css\" media=\"all\" />\n </head>\n <body>\n
|
787
|
+
\ <div id=\"content\">\n <div class=\"header clear_fix\">\n
|
788
|
+
\ <div class=\"header_logo\">\n <img src=\"/bundles/framework/images/logo_symfony.gif\"
|
789
|
+
alt=\"Symfony\" />\n </div>\n\n <div class=\"search\">\n
|
790
|
+
\ <form method=\"get\" action=\"http://symfony.com/search\">\n
|
791
|
+
\ <div class=\"form_row\">\n\n <label
|
792
|
+
for=\"search_id\">\n <img src=\"/bundles/framework/images/grey_magnifier.png\"
|
793
|
+
alt=\"Search on Symfony website\" />\n </label>\n\n <input
|
794
|
+
name=\"q\" id=\"search_id\" type=\"search\" placeholder=\"Search on Symfony
|
795
|
+
website\" />\n\n <button type=\"submit\">\n <span
|
796
|
+
class=\"border_l\">\n <span class=\"border_r\">\n
|
797
|
+
\ <span class=\"btn_bg\">OK</span>\n </span>\n
|
798
|
+
\ </span>\n </button>\n </div>\n
|
799
|
+
\ </form>\n </div>\n </div>\n\n
|
800
|
+
\ <div class=\"sf-exceptionreset\">\n\n <div class=\"block_exception\">\n
|
801
|
+
\ <div class=\"block_exception_detected clear_fix\">\n <div
|
802
|
+
class=\"illustration_exception\">\n <img alt=\"Exception detected!\"
|
803
|
+
src=\"/bundles/framework/images/exception_detected.gif\"/>\n </div>\n
|
804
|
+
\ <div class=\"text_exception\">\n\n <div class=\"open_quote\">\n
|
805
|
+
\ <img alt=\"\" src=\"/bundles/framework/images/open_quote.gif\"/>\n
|
806
|
+
\ </div>\n\n <h1>\n No route
|
807
|
+
found for "POST /v1applications/sites"\n </h1>\n\n
|
808
|
+
\ <div>\n <strong>404</strong> Not Found
|
809
|
+
- <abbr title=\"Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException\">NotFoundHttpException</abbr>\n
|
810
|
+
\ </div>\n\n <div
|
811
|
+
class=\"linked\"><span><strong>1</strong> linked Exception:</span>\n <ul>\n
|
812
|
+
\ <li>\n <abbr
|
813
|
+
title=\"Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException\">ResourceNotFoundException</abbr>
|
814
|
+
<a href=\"#traces_link_1\" onclick=\"toggle('traces_1', 'traces'); switchIcons('icon_traces_1_open',
|
815
|
+
'icon_traces_1_close');\">»</a>\n </li>\n
|
816
|
+
\ </ul>\n </div>\n
|
817
|
+
\ \n <div class=\"close_quote\">\n <img
|
818
|
+
alt=\"\" src=\"/bundles/framework/images/close_quote.gif\"/>\n </div>\n\n
|
819
|
+
\ </div>\n </div>\n </div>\n\n <div class=\"block\">\n
|
820
|
+
\ <h2>\n <span><small>[2/2]</small></span>\n <abbr
|
821
|
+
title=\"Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException\">NotFoundHttpException</abbr>:
|
822
|
+
No route found for "POST /v1applications/sites" \n <a
|
823
|
+
href=\"#\" onclick=\"toggle('traces_0', 'traces'); switchIcons('icon_traces_0_open',
|
824
|
+
'icon_traces_0_close'); return false;\"><img class=\"toggle\" id=\"icon_traces_0_close\"
|
825
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
826
|
+
hidden\" /><img class=\"toggle\" id=\"icon_traces_0_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
827
|
+
style=\"visibility: display; margin-left: -18px\" /></a> </h2>\n \n
|
828
|
+
\ <a id=\"traces_link_0\"></a>\n <ol class=\"traces list_exception\"
|
829
|
+
id=\"traces_0\" style=\"display: none\">\n <li>\n \n
|
830
|
+
\ \n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/EventListener/RouterListener.php
|
831
|
+
at line 83 \n <a href=\"#\" onclick=\"toggle('trace_0_0'); switchIcons('icon_0_0_open',
|
832
|
+
'icon_0_0_close'); return false;\"><img class=\"toggle\" id=\"icon_0_0_close\"
|
833
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
834
|
+
display\" /><img class=\"toggle\" id=\"icon_0_0_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
835
|
+
style=\"visibility: hidden; margin-left: -18px\" /></a> <div id=\"trace_0_0\"
|
836
|
+
style=\"display: block\" class=\"trace\">\n <ol start=\"80\"><li><code> } catch (<span
|
837
|
+
style=\"color: #0000BB\">ResourceNotFoundException $e</span><span style=\"color:
|
838
|
+
#007700\">) {</span></code></li>\n<li><code> <span
|
839
|
+
style=\"color: #0000BB\">$message </span><span style=\"color: #007700\">= </span><span
|
840
|
+
style=\"color: #0000BB\">sprintf</span><span style=\"color: #007700\">(</span><span
|
841
|
+
style=\"color: #DD0000\">'No route found for \"%s %s\"'</span><span
|
842
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$request</span><span
|
843
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getMethod</span><span
|
844
|
+
style=\"color: #007700\">(), </span><span style=\"color: #0000BB\">$request</span><span
|
845
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getPathInfo</span><span
|
846
|
+
style=\"color: #007700\">());</span></code></li>\n<li><code></code></li>\n<li
|
847
|
+
class=\"selected\"><code> throw new <span
|
848
|
+
style=\"color: #0000BB\">NotFoundHttpException</span><span style=\"color:
|
849
|
+
#007700\">(</span><span style=\"color: #0000BB\">$message</span><span style=\"color:
|
850
|
+
#007700\">, </span><span style=\"color: #0000BB\">$e</span><span style=\"color:
|
851
|
+
#007700\">);</span></code></li>\n<li><code> } catch (<span
|
852
|
+
style=\"color: #0000BB\">MethodNotAllowedException $e</span><span style=\"color:
|
853
|
+
#007700\">) {</span></code></li>\n<li><code> <span
|
854
|
+
style=\"color: #0000BB\">$message </span><span style=\"color: #007700\">= </span><span
|
855
|
+
style=\"color: #0000BB\">sprintf</span><span style=\"color: #007700\">(</span><span
|
856
|
+
style=\"color: #DD0000\">'No route found for \"%s %s\": Method Not Allowed (Allow: %s)'</span><span
|
857
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$request</span><span
|
858
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getMethod</span><span
|
859
|
+
style=\"color: #007700\">(), </span><span style=\"color: #0000BB\">$request</span><span
|
860
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getPathInfo</span><span
|
861
|
+
style=\"color: #007700\">(), </span><span style=\"color: #0000BB\">strtoupper</span><span
|
862
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">implode</span><span
|
863
|
+
style=\"color: #007700\">(</span><span style=\"color: #DD0000\">', '</span><span
|
864
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$e</span><span
|
865
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">getAllowedMethods</span><span
|
866
|
+
style=\"color: #007700\">())));</span></code></li>\n<li><code></code></li></ol>\n
|
867
|
+
\ </div>\n </li>\n <li>\n at\n
|
868
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>\n
|
869
|
+
\ ->onKernelRequest\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
870
|
+
\ </li>\n <li>\n at\n <strong>\n
|
871
|
+
\ <abbr title=\"\"></abbr>\n call_user_func\n </strong>\n
|
872
|
+
\ (<em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
873
|
+
'onKernelRequest'), <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
874
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php
|
875
|
+
at line 82 \n <a href=\"#\" onclick=\"toggle('trace_0_2'); switchIcons('icon_0_2_open',
|
876
|
+
'icon_0_2_close'); return false;\"><img class=\"toggle\" id=\"icon_0_2_close\"
|
877
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
878
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_2_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
879
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_2\"
|
880
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"79\"><li><code></code></li>\n<li><code> <span
|
881
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
882
|
+
style=\"color: #0000BB\">called</span><span style=\"color: #007700\">[</span><span
|
883
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">.</span><span
|
884
|
+
style=\"color: #DD0000\">'.'</span><span style=\"color: #007700\">.</span><span
|
885
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">[</span><span
|
886
|
+
style=\"color: #DD0000\">'pretty'</span><span style=\"color: #007700\">]] = </span><span
|
887
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li
|
888
|
+
class=\"selected\"><code> <span
|
889
|
+
style=\"color: #0000BB\">call_user_func</span><span style=\"color: #007700\">(</span><span
|
890
|
+
style=\"color: #0000BB\">$listener</span><span style=\"color: #007700\">, </span><span
|
891
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
892
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
893
|
+
style=\"color: #0000BB\">isPropagationStopped</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> if (<span
|
894
|
+
style=\"color: #0000BB\">null </span><span style=\"color: #007700\">!== </span><span
|
895
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
896
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">) {</span></code></li></ol>\n
|
897
|
+
\ </div>\n </li>\n <li>\n at\n
|
898
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\Debug\\TraceableEventDispatcher\">TraceableEventDispatcher</abbr>\n
|
899
|
+
\ ->doDispatch\n </strong>\n (<em>array</em>(<em>array</em>(<em>object</em>(<abbr
|
900
|
+
title=\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\">ProfilerListener</abbr>),
|
901
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
902
|
+
'onEarlyKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener\">SessionListener</abbr>),
|
903
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Component\\Security\\Http\\Firewall\">Firewall</abbr>),
|
904
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
905
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"FOS\\RestBundle\\EventListener\\BodyListener\">BodyListener</abbr>),
|
906
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\RequestLogListener\">RequestLogListener</abbr>),
|
907
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Templating\\Helper\\MenuHelper\">MenuHelper</abbr>),
|
908
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\ChangeLocaleKernelRequestListener\">ChangeLocaleKernelRequestListener</abbr>),
|
909
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\SaveAppIdInCookieKernelRequestListener\">SaveAppIdInCookieKernelRequestListener</abbr>),
|
910
|
+
'onKernelRequest')), 'kernel.request', <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
911
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php
|
912
|
+
at line 49 \n <a href=\"#\" onclick=\"toggle('trace_0_3'); switchIcons('icon_0_3_open',
|
913
|
+
'icon_0_3_close'); return false;\"><img class=\"toggle\" id=\"icon_0_3_close\"
|
914
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
915
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_3_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
916
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_3\"
|
917
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"46\"><li><code> <span
|
918
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
919
|
+
style=\"color: #0000BB\">Event</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
920
|
+
class=\"selected\"><code> <span
|
921
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
922
|
+
style=\"color: #0000BB\">doDispatch</span><span style=\"color: #007700\">(</span><span
|
923
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
924
|
+
style=\"color: #0000BB\">getListeners</span><span style=\"color: #007700\">(</span><span
|
925
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">), </span><span
|
926
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
927
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
928
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
929
|
+
\ <li>\n at\n <strong>\n <abbr
|
930
|
+
title=\"Symfony\\Component\\EventDispatcher\\EventDispatcher\">EventDispatcher</abbr>\n
|
931
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
932
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
933
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php
|
934
|
+
at line 145 \n <a href=\"#\" onclick=\"toggle('trace_0_4'); switchIcons('icon_0_4_open',
|
935
|
+
'icon_0_4_close'); return false;\"><img class=\"toggle\" id=\"icon_0_4_close\"
|
936
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
937
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_4_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
938
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_4\"
|
939
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"142\"><li><code> {</code></li>\n<li><code> <span
|
940
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
941
|
+
style=\"color: #0000BB\">lazyLoad</span><span style=\"color: #007700\">(</span><span
|
942
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li
|
943
|
+
class=\"selected\"><code> <span
|
944
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
945
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
946
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
947
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
948
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
949
|
+
\ <li>\n at\n <strong>\n <abbr
|
950
|
+
title=\"Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher\">ContainerAwareEventDispatcher</abbr>\n
|
951
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
952
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
953
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
954
|
+
at line 98 \n <a href=\"#\" onclick=\"toggle('trace_0_5'); switchIcons('icon_0_5_open',
|
955
|
+
'icon_0_5_close'); return false;\"><img class=\"toggle\" id=\"icon_0_5_close\"
|
956
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
957
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_5_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
958
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_5\"
|
959
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"95\"><li><code> {</code></li>\n<li><code> <span
|
960
|
+
style=\"color: #FF8000\">// request</span></code></li>\n<li><code> <span
|
961
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
962
|
+
style=\"color: #0000BB\">GetResponseEvent</span><span style=\"color: #007700\">(</span><span
|
963
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">, </span><span
|
964
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
965
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
966
|
+
class=\"selected\"><code> <span
|
967
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
968
|
+
style=\"color: #0000BB\">dispatcher</span><span style=\"color: #007700\">-></span><span
|
969
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
970
|
+
style=\"color: #0000BB\">KernelEvents</span><span style=\"color: #007700\">::</span><span
|
971
|
+
style=\"color: #0000BB\">REQUEST</span><span style=\"color: #007700\">, </span><span
|
972
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
973
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
974
|
+
style=\"color: #0000BB\">hasResponse</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> return <span
|
975
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
976
|
+
style=\"color: #0000BB\">filterResponse</span><span style=\"color: #007700\">(</span><span
|
977
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
978
|
+
style=\"color: #0000BB\">getResponse</span><span style=\"color: #007700\">(), </span><span
|
979
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
980
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li></ol>\n
|
981
|
+
\ </div>\n </li>\n <li>\n at\n
|
982
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
983
|
+
\ ->handleRaw\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
984
|
+
'1')\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
985
|
+
at line 71 \n <a href=\"#\" onclick=\"toggle('trace_0_6'); switchIcons('icon_0_6_open',
|
986
|
+
'icon_0_6_close'); return false;\"><img class=\"toggle\" id=\"icon_0_6_close\"
|
987
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
988
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_6_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
989
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_6\"
|
990
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"68\"><li><code> <span
|
991
|
+
style=\"color: #007700\">public function </span><span style=\"color:
|
992
|
+
#0000BB\">handle</span><span style=\"color: #007700\">(</span><span style=\"color:
|
993
|
+
#0000BB\">Request $request</span><span style=\"color: #007700\">, </span><span
|
994
|
+
style=\"color: #0000BB\">$type </span><span style=\"color: #007700\">= </span><span
|
995
|
+
style=\"color: #0000BB\">HttpKernelInterface</span><span style=\"color: #007700\">::</span><span
|
996
|
+
style=\"color: #0000BB\">MASTER_REQUEST</span><span style=\"color: #007700\">, </span><span
|
997
|
+
style=\"color: #0000BB\">$catch </span><span style=\"color: #007700\">= </span><span
|
998
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">)</span></code></li>\n<li><code> {</code></li>\n<li><code> try {</code></li>\n<li
|
999
|
+
class=\"selected\"><code> return <span
|
1000
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1001
|
+
style=\"color: #0000BB\">handleRaw</span><span style=\"color: #007700\">(</span><span
|
1002
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
1003
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
1004
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> if (<span
|
1005
|
+
style=\"color: #0000BB\">false </span><span style=\"color: #007700\">=== </span><span
|
1006
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> throw <span
|
1007
|
+
style=\"color: #0000BB\">$e</span><span style=\"color: #007700\">;</span></code></li></ol>\n
|
1008
|
+
\ </div>\n </li>\n <li>\n at\n
|
1009
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
1010
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
1011
|
+
'1', <em>true</em>)\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
|
1012
|
+
at line 47 \n <a href=\"#\" onclick=\"toggle('trace_0_7'); switchIcons('icon_0_7_open',
|
1013
|
+
'icon_0_7_close'); return false;\"><img class=\"toggle\" id=\"icon_0_7_close\"
|
1014
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1015
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_7_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1016
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_7\"
|
1017
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"44\"><li><code> <span
|
1018
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1019
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
1020
|
+
style=\"color: #0000BB\">set</span><span style=\"color: #007700\">(</span><span
|
1021
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">, </span><span
|
1022
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
1023
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> try {</code></li>\n<li
|
1024
|
+
class=\"selected\"><code> <span
|
1025
|
+
style=\"color: #0000BB\">$response </span><span style=\"color: #007700\">= </span><span
|
1026
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
1027
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
1028
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
1029
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
1030
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
1031
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> <span
|
1032
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1033
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
1034
|
+
style=\"color: #0000BB\">leaveScope</span><span style=\"color: #007700\">(</span><span
|
1035
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li></ol>\n
|
1036
|
+
\ </div>\n </li>\n <li>\n at\n
|
1037
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\HttpKernel\">HttpKernel</abbr>\n
|
1038
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
1039
|
+
'1', <em>true</em>)\n\n <br />\n in <abbr title=\"/Users/schubert/workspace/jirafe/api/app/\">kernel.root_dir</abbr>/bootstrap.php.cache
|
1040
|
+
at line 547 \n <a href=\"#\" onclick=\"toggle('trace_0_8'); switchIcons('icon_0_8_open',
|
1041
|
+
'icon_0_8_close'); return false;\"><img class=\"toggle\" id=\"icon_0_8_close\"
|
1042
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1043
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_8_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1044
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_8\"
|
1045
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"544\"><li><code> <span
|
1046
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1047
|
+
style=\"color: #0000BB\">boot</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
1048
|
+
class=\"selected\"><code> return <span
|
1049
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1050
|
+
style=\"color: #0000BB\">getHttpKernel</span><span style=\"color: #007700\">()-></span><span
|
1051
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
1052
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
1053
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
1054
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> </code></li></ol>\n
|
1055
|
+
\ </div>\n </li>\n <li>\n at\n
|
1056
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\Kernel\">Kernel</abbr>\n
|
1057
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>))\n\n
|
1058
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/web/app_dev.php at
|
1059
|
+
line 17 \n <a href=\"#\" onclick=\"toggle('trace_0_9'); switchIcons('icon_0_9_open',
|
1060
|
+
'icon_0_9_close'); return false;\"><img class=\"toggle\" id=\"icon_0_9_close\"
|
1061
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1062
|
+
hidden\" /><img class=\"toggle\" id=\"icon_0_9_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1063
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_0_9\"
|
1064
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"14\"><li><code>use <span
|
1065
|
+
style=\"color: #0000BB\">Symfony</span><span style=\"color: #007700\">\\</span><span
|
1066
|
+
style=\"color: #0000BB\">Component</span><span style=\"color: #007700\">\\</span><span
|
1067
|
+
style=\"color: #0000BB\">HttpFoundation</span><span style=\"color: #007700\">\\</span><span
|
1068
|
+
style=\"color: #0000BB\">Request</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li><code><span
|
1069
|
+
style=\"color: #0000BB\">$kernel </span><span style=\"color: #007700\">= new </span><span
|
1070
|
+
style=\"color: #0000BB\">AppKernel</span><span style=\"color: #007700\">(</span><span
|
1071
|
+
style=\"color: #DD0000\">'dev'</span><span style=\"color: #007700\">, </span><span
|
1072
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
1073
|
+
class=\"selected\"><code><span style=\"color: #0000BB\">$kernel</span><span
|
1074
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">handle</span><span
|
1075
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">Request</span><span
|
1076
|
+
style=\"color: #007700\">::</span><span style=\"color: #0000BB\">createFromGlobals</span><span
|
1077
|
+
style=\"color: #007700\">())-></span><span style=\"color: #0000BB\">send</span><span
|
1078
|
+
style=\"color: #007700\">();</span></code></li>\n<li><code>\n</code></li></ol>\n
|
1079
|
+
\ </div>\n </li>\n </ol>\n</div>\n <div
|
1080
|
+
class=\"block\">\n <h2>\n <span><small>[1/2]</small></span>\n
|
1081
|
+
\ <abbr title=\"Symfony\\Component\\Routing\\Exception\\ResourceNotFoundException\">ResourceNotFoundException</abbr>:
|
1082
|
+
\n <a href=\"#\" onclick=\"toggle('traces_1', 'traces');
|
1083
|
+
switchIcons('icon_traces_1_open', 'icon_traces_1_close'); return false;\"><img
|
1084
|
+
class=\"toggle\" id=\"icon_traces_1_close\" alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\"
|
1085
|
+
style=\"visibility: hidden\" /><img class=\"toggle\" id=\"icon_traces_1_open\"
|
1086
|
+
alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\" style=\"visibility:
|
1087
|
+
display; margin-left: -18px\" /></a> </h2>\n \n <a id=\"traces_link_1\"></a>\n
|
1088
|
+
\ <ol class=\"traces list_exception\" id=\"traces_1\" style=\"display: none\">\n
|
1089
|
+
\ <li>\n \n \n in <abbr title=\"/Users/schubert/workspace/jirafe/api/app/\">kernel.root_dir</abbr>/cache/dev/appdevUrlMatcher.php
|
1090
|
+
at line 752 \n <a href=\"#\" onclick=\"toggle('trace_1_0'); switchIcons('icon_1_0_open',
|
1091
|
+
'icon_1_0_close'); return false;\"><img class=\"toggle\" id=\"icon_1_0_close\"
|
1092
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1093
|
+
display\" /><img class=\"toggle\" id=\"icon_1_0_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1094
|
+
style=\"visibility: hidden; margin-left: -18px\" /></a> <div id=\"trace_1_0\"
|
1095
|
+
style=\"display: block\" class=\"trace\">\n <ol start=\"749\"><li><code></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
1096
|
+
class=\"selected\"><code> throw <span
|
1097
|
+
style=\"color: #0000BB\">0 </span><span style=\"color: #007700\">< </span><span
|
1098
|
+
style=\"color: #0000BB\">count</span><span style=\"color: #007700\">(</span><span
|
1099
|
+
style=\"color: #0000BB\">$allow</span><span style=\"color: #007700\">) ? new </span><span
|
1100
|
+
style=\"color: #0000BB\">MethodNotAllowedException</span><span style=\"color:
|
1101
|
+
#007700\">(</span><span style=\"color: #0000BB\">array_unique</span><span
|
1102
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">$allow</span><span
|
1103
|
+
style=\"color: #007700\">)) : new </span><span style=\"color:
|
1104
|
+
#0000BB\">ResourceNotFoundException</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code>}</code></li>\n<li><code>\n</code></li></ol>\n
|
1105
|
+
\ </div>\n </li>\n <li>\n at\n
|
1106
|
+
\ <strong>\n <abbr title=\"appdevUrlMatcher\">appdevUrlMatcher</abbr>\n
|
1107
|
+
\ ->match\n </strong>\n ('/v1applications/sites')\n\n <br
|
1108
|
+
/>\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/Routing/Router.php
|
1109
|
+
at line 195 \n <a href=\"#\" onclick=\"toggle('trace_1_1'); switchIcons('icon_1_1_open',
|
1110
|
+
'icon_1_1_close'); return false;\"><img class=\"toggle\" id=\"icon_1_1_close\"
|
1111
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1112
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_1_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1113
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_1\"
|
1114
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"192\"><li><code> */</code></li>\n<li><code> <span
|
1115
|
+
style=\"color: #007700\">public function </span><span style=\"color:
|
1116
|
+
#0000BB\">match</span><span style=\"color: #007700\">(</span><span style=\"color:
|
1117
|
+
#0000BB\">$url</span><span style=\"color: #007700\">)</span></code></li>\n<li><code> {</code></li>\n<li
|
1118
|
+
class=\"selected\"><code> return <span
|
1119
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1120
|
+
style=\"color: #0000BB\">getMatcher</span><span style=\"color: #007700\">()-></span><span
|
1121
|
+
style=\"color: #0000BB\">match</span><span style=\"color: #007700\">(</span><span
|
1122
|
+
style=\"color: #0000BB\">$url</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
1123
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
1124
|
+
\ <li>\n at\n <strong>\n <abbr
|
1125
|
+
title=\"Symfony\\Component\\Routing\\Router\">Router</abbr>\n ->match\n
|
1126
|
+
\ </strong>\n ('/v1applications/sites')\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/EventListener/RouterListener.php
|
1127
|
+
at line 73 \n <a href=\"#\" onclick=\"toggle('trace_1_2'); switchIcons('icon_1_2_open',
|
1128
|
+
'icon_1_2_close'); return false;\"><img class=\"toggle\" id=\"icon_1_2_close\"
|
1129
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1130
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_2_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1131
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_2\"
|
1132
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"70\"><li><code></code></li>\n<li><code> <span
|
1133
|
+
style=\"color: #FF8000\">// add attributes based on the path info (routing)</span></code></li>\n<li><code> <span
|
1134
|
+
style=\"color: #007700\">try {</span></code></li>\n<li class=\"selected\"><code> <span
|
1135
|
+
style=\"color: #0000BB\">$parameters </span><span style=\"color: #007700\">= </span><span
|
1136
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1137
|
+
style=\"color: #0000BB\">router</span><span style=\"color: #007700\">-></span><span
|
1138
|
+
style=\"color: #0000BB\">match</span><span style=\"color: #007700\">(</span><span
|
1139
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">-></span><span
|
1140
|
+
style=\"color: #0000BB\">getPathInfo</span><span style=\"color: #007700\">());</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
1141
|
+
style=\"color: #0000BB\">null </span><span style=\"color: #007700\">!== </span><span
|
1142
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1143
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> <span
|
1144
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1145
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">-></span><span
|
1146
|
+
style=\"color: #0000BB\">info</span><span style=\"color: #007700\">(</span><span
|
1147
|
+
style=\"color: #0000BB\">sprintf</span><span style=\"color: #007700\">(</span><span
|
1148
|
+
style=\"color: #DD0000\">'Matched route \"%s\" (parameters: %s)'</span><span
|
1149
|
+
style=\"color: #007700\">, </span><span style=\"color: #0000BB\">$parameters</span><span
|
1150
|
+
style=\"color: #007700\">[</span><span style=\"color: #DD0000\">'_route'</span><span
|
1151
|
+
style=\"color: #007700\">], </span><span style=\"color: #0000BB\">$this</span><span
|
1152
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">parametersToString</span><span
|
1153
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">$parameters</span><span
|
1154
|
+
style=\"color: #007700\">)));</span></code></li></ol>\n </div>\n </li>\n
|
1155
|
+
\ <li>\n at\n <strong>\n <abbr
|
1156
|
+
title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>\n
|
1157
|
+
\ ->onKernelRequest\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
1158
|
+
\ </li>\n <li>\n at\n <strong>\n
|
1159
|
+
\ <abbr title=\"\"></abbr>\n call_user_func\n </strong>\n
|
1160
|
+
\ (<em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
1161
|
+
'onKernelRequest'), <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
1162
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/Debug/TraceableEventDispatcher.php
|
1163
|
+
at line 82 \n <a href=\"#\" onclick=\"toggle('trace_1_4'); switchIcons('icon_1_4_open',
|
1164
|
+
'icon_1_4_close'); return false;\"><img class=\"toggle\" id=\"icon_1_4_close\"
|
1165
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1166
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_4_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1167
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_4\"
|
1168
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"79\"><li><code></code></li>\n<li><code> <span
|
1169
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1170
|
+
style=\"color: #0000BB\">called</span><span style=\"color: #007700\">[</span><span
|
1171
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">.</span><span
|
1172
|
+
style=\"color: #DD0000\">'.'</span><span style=\"color: #007700\">.</span><span
|
1173
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">[</span><span
|
1174
|
+
style=\"color: #DD0000\">'pretty'</span><span style=\"color: #007700\">]] = </span><span
|
1175
|
+
style=\"color: #0000BB\">$info</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li
|
1176
|
+
class=\"selected\"><code> <span
|
1177
|
+
style=\"color: #0000BB\">call_user_func</span><span style=\"color: #007700\">(</span><span
|
1178
|
+
style=\"color: #0000BB\">$listener</span><span style=\"color: #007700\">, </span><span
|
1179
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
1180
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
1181
|
+
style=\"color: #0000BB\">isPropagationStopped</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> if (<span
|
1182
|
+
style=\"color: #0000BB\">null </span><span style=\"color: #007700\">!== </span><span
|
1183
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1184
|
+
style=\"color: #0000BB\">logger</span><span style=\"color: #007700\">) {</span></code></li></ol>\n
|
1185
|
+
\ </div>\n </li>\n <li>\n at\n
|
1186
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\Debug\\TraceableEventDispatcher\">TraceableEventDispatcher</abbr>\n
|
1187
|
+
\ ->doDispatch\n </strong>\n (<em>array</em>(<em>array</em>(<em>object</em>(<abbr
|
1188
|
+
title=\"Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener\">ProfilerListener</abbr>),
|
1189
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
1190
|
+
'onEarlyKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener\">SessionListener</abbr>),
|
1191
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Component\\Security\\Http\\Firewall\">Firewall</abbr>),
|
1192
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener\">RouterListener</abbr>),
|
1193
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"FOS\\RestBundle\\EventListener\\BodyListener\">BodyListener</abbr>),
|
1194
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\ApiBundle\\Listener\\RequestLogListener\">RequestLogListener</abbr>),
|
1195
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Templating\\Helper\\MenuHelper\">MenuHelper</abbr>),
|
1196
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\ChangeLocaleKernelRequestListener\">ChangeLocaleKernelRequestListener</abbr>),
|
1197
|
+
'onKernelRequest'), <em>array</em>(<em>object</em>(<abbr title=\"Jirafe\\Bundle\\DashboardBundle\\Listener\\SaveAppIdInCookieKernelRequestListener\">SaveAppIdInCookieKernelRequestListener</abbr>),
|
1198
|
+
'onKernelRequest')), 'kernel.request', <em>object</em>(<abbr title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
1199
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php
|
1200
|
+
at line 49 \n <a href=\"#\" onclick=\"toggle('trace_1_5'); switchIcons('icon_1_5_open',
|
1201
|
+
'icon_1_5_close'); return false;\"><img class=\"toggle\" id=\"icon_1_5_close\"
|
1202
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1203
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_5_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1204
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_5\"
|
1205
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"46\"><li><code> <span
|
1206
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
1207
|
+
style=\"color: #0000BB\">Event</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
1208
|
+
class=\"selected\"><code> <span
|
1209
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1210
|
+
style=\"color: #0000BB\">doDispatch</span><span style=\"color: #007700\">(</span><span
|
1211
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1212
|
+
style=\"color: #0000BB\">getListeners</span><span style=\"color: #007700\">(</span><span
|
1213
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">), </span><span
|
1214
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
1215
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
1216
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
1217
|
+
\ <li>\n at\n <strong>\n <abbr
|
1218
|
+
title=\"Symfony\\Component\\EventDispatcher\\EventDispatcher\">EventDispatcher</abbr>\n
|
1219
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
1220
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
1221
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/ContainerAwareEventDispatcher.php
|
1222
|
+
at line 145 \n <a href=\"#\" onclick=\"toggle('trace_1_6'); switchIcons('icon_1_6_open',
|
1223
|
+
'icon_1_6_close'); return false;\"><img class=\"toggle\" id=\"icon_1_6_close\"
|
1224
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1225
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_6_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1226
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_6\"
|
1227
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"142\"><li><code> {</code></li>\n<li><code> <span
|
1228
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1229
|
+
style=\"color: #0000BB\">lazyLoad</span><span style=\"color: #007700\">(</span><span
|
1230
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li
|
1231
|
+
class=\"selected\"><code> <span
|
1232
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
1233
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
1234
|
+
style=\"color: #0000BB\">$eventName</span><span style=\"color: #007700\">, </span><span
|
1235
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> <span
|
1236
|
+
style=\"color: #FF8000\">/**</span></code></li></ol>\n </div>\n </li>\n
|
1237
|
+
\ <li>\n at\n <strong>\n <abbr
|
1238
|
+
title=\"Symfony\\Bundle\\FrameworkBundle\\ContainerAwareEventDispatcher\">ContainerAwareEventDispatcher</abbr>\n
|
1239
|
+
\ ->dispatch\n </strong>\n ('kernel.request', <em>object</em>(<abbr
|
1240
|
+
title=\"Symfony\\Component\\HttpKernel\\Event\\GetResponseEvent\">GetResponseEvent</abbr>))\n\n
|
1241
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
1242
|
+
at line 98 \n <a href=\"#\" onclick=\"toggle('trace_1_7'); switchIcons('icon_1_7_open',
|
1243
|
+
'icon_1_7_close'); return false;\"><img class=\"toggle\" id=\"icon_1_7_close\"
|
1244
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1245
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_7_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1246
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_7\"
|
1247
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"95\"><li><code> {</code></li>\n<li><code> <span
|
1248
|
+
style=\"color: #FF8000\">// request</span></code></li>\n<li><code> <span
|
1249
|
+
style=\"color: #0000BB\">$event </span><span style=\"color: #007700\">= new </span><span
|
1250
|
+
style=\"color: #0000BB\">GetResponseEvent</span><span style=\"color: #007700\">(</span><span
|
1251
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">, </span><span
|
1252
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
1253
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
1254
|
+
class=\"selected\"><code> <span
|
1255
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1256
|
+
style=\"color: #0000BB\">dispatcher</span><span style=\"color: #007700\">-></span><span
|
1257
|
+
style=\"color: #0000BB\">dispatch</span><span style=\"color: #007700\">(</span><span
|
1258
|
+
style=\"color: #0000BB\">KernelEvents</span><span style=\"color: #007700\">::</span><span
|
1259
|
+
style=\"color: #0000BB\">REQUEST</span><span style=\"color: #007700\">, </span><span
|
1260
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> if (<span
|
1261
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
1262
|
+
style=\"color: #0000BB\">hasResponse</span><span style=\"color: #007700\">()) {</span></code></li>\n<li><code> return <span
|
1263
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1264
|
+
style=\"color: #0000BB\">filterResponse</span><span style=\"color: #007700\">(</span><span
|
1265
|
+
style=\"color: #0000BB\">$event</span><span style=\"color: #007700\">-></span><span
|
1266
|
+
style=\"color: #0000BB\">getResponse</span><span style=\"color: #007700\">(), </span><span
|
1267
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
1268
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li></ol>\n
|
1269
|
+
\ </div>\n </li>\n <li>\n at\n
|
1270
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
1271
|
+
\ ->handleRaw\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
1272
|
+
'1')\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
|
1273
|
+
at line 71 \n <a href=\"#\" onclick=\"toggle('trace_1_8'); switchIcons('icon_1_8_open',
|
1274
|
+
'icon_1_8_close'); return false;\"><img class=\"toggle\" id=\"icon_1_8_close\"
|
1275
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1276
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_8_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1277
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_8\"
|
1278
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"68\"><li><code> <span
|
1279
|
+
style=\"color: #007700\">public function </span><span style=\"color:
|
1280
|
+
#0000BB\">handle</span><span style=\"color: #007700\">(</span><span style=\"color:
|
1281
|
+
#0000BB\">Request $request</span><span style=\"color: #007700\">, </span><span
|
1282
|
+
style=\"color: #0000BB\">$type </span><span style=\"color: #007700\">= </span><span
|
1283
|
+
style=\"color: #0000BB\">HttpKernelInterface</span><span style=\"color: #007700\">::</span><span
|
1284
|
+
style=\"color: #0000BB\">MASTER_REQUEST</span><span style=\"color: #007700\">, </span><span
|
1285
|
+
style=\"color: #0000BB\">$catch </span><span style=\"color: #007700\">= </span><span
|
1286
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">)</span></code></li>\n<li><code> {</code></li>\n<li><code> try {</code></li>\n<li
|
1287
|
+
class=\"selected\"><code> return <span
|
1288
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1289
|
+
style=\"color: #0000BB\">handleRaw</span><span style=\"color: #007700\">(</span><span
|
1290
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
1291
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
1292
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> if (<span
|
1293
|
+
style=\"color: #0000BB\">false </span><span style=\"color: #007700\">=== </span><span
|
1294
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> throw <span
|
1295
|
+
style=\"color: #0000BB\">$e</span><span style=\"color: #007700\">;</span></code></li></ol>\n
|
1296
|
+
\ </div>\n </li>\n <li>\n at\n
|
1297
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\HttpKernel\">HttpKernel</abbr>\n
|
1298
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
1299
|
+
'1', <em>true</em>)\n\n <br />\n in /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/HttpKernel.php
|
1300
|
+
at line 47 \n <a href=\"#\" onclick=\"toggle('trace_1_9'); switchIcons('icon_1_9_open',
|
1301
|
+
'icon_1_9_close'); return false;\"><img class=\"toggle\" id=\"icon_1_9_close\"
|
1302
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1303
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_9_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1304
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_9\"
|
1305
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"44\"><li><code> <span
|
1306
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1307
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
1308
|
+
style=\"color: #0000BB\">set</span><span style=\"color: #007700\">(</span><span
|
1309
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">, </span><span
|
1310
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
1311
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li>\n<li><code> try {</code></li>\n<li
|
1312
|
+
class=\"selected\"><code> <span
|
1313
|
+
style=\"color: #0000BB\">$response </span><span style=\"color: #007700\">= </span><span
|
1314
|
+
style=\"color: #0000BB\">parent</span><span style=\"color: #007700\">::</span><span
|
1315
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
1316
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
1317
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
1318
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> } catch (\\<span
|
1319
|
+
style=\"color: #0000BB\">Exception $e</span><span style=\"color: #007700\">) {</span></code></li>\n<li><code> <span
|
1320
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1321
|
+
style=\"color: #0000BB\">container</span><span style=\"color: #007700\">-></span><span
|
1322
|
+
style=\"color: #0000BB\">leaveScope</span><span style=\"color: #007700\">(</span><span
|
1323
|
+
style=\"color: #DD0000\">'request'</span><span style=\"color: #007700\">);</span></code></li>\n<li><code></code></li></ol>\n
|
1324
|
+
\ </div>\n </li>\n <li>\n at\n
|
1325
|
+
\ <strong>\n <abbr title=\"Symfony\\Bundle\\FrameworkBundle\\HttpKernel\">HttpKernel</abbr>\n
|
1326
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>),
|
1327
|
+
'1', <em>true</em>)\n\n <br />\n in <abbr title=\"/Users/schubert/workspace/jirafe/api/app/\">kernel.root_dir</abbr>/bootstrap.php.cache
|
1328
|
+
at line 547 \n <a href=\"#\" onclick=\"toggle('trace_1_10'); switchIcons('icon_1_10_open',
|
1329
|
+
'icon_1_10_close'); return false;\"><img class=\"toggle\" id=\"icon_1_10_close\"
|
1330
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1331
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_10_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1332
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_10\"
|
1333
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"544\"><li><code> <span
|
1334
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1335
|
+
style=\"color: #0000BB\">boot</span><span style=\"color: #007700\">();</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li
|
1336
|
+
class=\"selected\"><code> return <span
|
1337
|
+
style=\"color: #0000BB\">$this</span><span style=\"color: #007700\">-></span><span
|
1338
|
+
style=\"color: #0000BB\">getHttpKernel</span><span style=\"color: #007700\">()-></span><span
|
1339
|
+
style=\"color: #0000BB\">handle</span><span style=\"color: #007700\">(</span><span
|
1340
|
+
style=\"color: #0000BB\">$request</span><span style=\"color: #007700\">, </span><span
|
1341
|
+
style=\"color: #0000BB\">$type</span><span style=\"color: #007700\">, </span><span
|
1342
|
+
style=\"color: #0000BB\">$catch</span><span style=\"color: #007700\">);</span></code></li>\n<li><code> }</code></li>\n<li><code></code></li>\n<li><code> </code></li></ol>\n
|
1343
|
+
\ </div>\n </li>\n <li>\n at\n
|
1344
|
+
\ <strong>\n <abbr title=\"Symfony\\Component\\HttpKernel\\Kernel\">Kernel</abbr>\n
|
1345
|
+
\ ->handle\n </strong>\n (<em>object</em>(<abbr title=\"Symfony\\Component\\HttpFoundation\\Request\">Request</abbr>))\n\n
|
1346
|
+
\ <br />\n in /Users/schubert/workspace/jirafe/api/web/app_dev.php at
|
1347
|
+
line 17 \n <a href=\"#\" onclick=\"toggle('trace_1_11'); switchIcons('icon_1_11_open',
|
1348
|
+
'icon_1_11_close'); return false;\"><img class=\"toggle\" id=\"icon_1_11_close\"
|
1349
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1350
|
+
hidden\" /><img class=\"toggle\" id=\"icon_1_11_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1351
|
+
style=\"visibility: display; margin-left: -18px\" /></a> <div id=\"trace_1_11\"
|
1352
|
+
style=\"display: none\" class=\"trace\">\n <ol start=\"14\"><li><code>use <span
|
1353
|
+
style=\"color: #0000BB\">Symfony</span><span style=\"color: #007700\">\\</span><span
|
1354
|
+
style=\"color: #0000BB\">Component</span><span style=\"color: #007700\">\\</span><span
|
1355
|
+
style=\"color: #0000BB\">HttpFoundation</span><span style=\"color: #007700\">\\</span><span
|
1356
|
+
style=\"color: #0000BB\">Request</span><span style=\"color: #007700\">;</span></code></li>\n<li><code></code></li>\n<li><code><span
|
1357
|
+
style=\"color: #0000BB\">$kernel </span><span style=\"color: #007700\">= new </span><span
|
1358
|
+
style=\"color: #0000BB\">AppKernel</span><span style=\"color: #007700\">(</span><span
|
1359
|
+
style=\"color: #DD0000\">'dev'</span><span style=\"color: #007700\">, </span><span
|
1360
|
+
style=\"color: #0000BB\">true</span><span style=\"color: #007700\">);</span></code></li>\n<li
|
1361
|
+
class=\"selected\"><code><span style=\"color: #0000BB\">$kernel</span><span
|
1362
|
+
style=\"color: #007700\">-></span><span style=\"color: #0000BB\">handle</span><span
|
1363
|
+
style=\"color: #007700\">(</span><span style=\"color: #0000BB\">Request</span><span
|
1364
|
+
style=\"color: #007700\">::</span><span style=\"color: #0000BB\">createFromGlobals</span><span
|
1365
|
+
style=\"color: #007700\">())-></span><span style=\"color: #0000BB\">send</span><span
|
1366
|
+
style=\"color: #007700\">();</span></code></li>\n<li><code>\n</code></li></ol>\n
|
1367
|
+
\ </div>\n </li>\n </ol>\n</div>\n \n <div
|
1368
|
+
class=\"block\">\n <div class=\"logs clear_fix\">\n <h2>\n
|
1369
|
+
\ Logs \n <a href=\"#\" onclick=\"toggle('logs');
|
1370
|
+
switchIcons('icon_logs_open', 'icon_logs_close'); return false;\"><img class=\"toggle\"
|
1371
|
+
id=\"icon_logs_open\" alt=\"+\" src=\"/bundles/framework/images/blue_picto_more.gif\"
|
1372
|
+
style=\"visibility: hidden\" /><img class=\"toggle\" id=\"icon_logs_close\"
|
1373
|
+
alt=\"-\" src=\"/bundles/framework/images/blue_picto_less.gif\" style=\"visibility:
|
1374
|
+
visible; margin-left: -18px\" /></a></h2>\n <div
|
1375
|
+
class=\"error_count\">\n <span>\n 1
|
1376
|
+
error\n </span>\n </div>\n \n
|
1377
|
+
\ </div>\n\n <div id=\"logs\">\n <ol class=\"traces
|
1378
|
+
logs\">\n <li>\n Notified event "kernel.request"
|
1379
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelRequest".\n
|
1380
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1381
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onEarlyKernelRequest".\n
|
1382
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1383
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener::onKernelRequest".\n
|
1384
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1385
|
+
to listener "Symfony\\Component\\Security\\Http\\Firewall::onKernelRequest".\n
|
1386
|
+
\ </li>\n <li>\n SELECT\n t.token,\n
|
1387
|
+
\ a.application_id, a.name AS app_name, a.platform_type, a.platform_version,\n
|
1388
|
+
\ a.platform_admin_username, a.plugin_version,\n u.user_id,
|
1389
|
+
u.name AS user_name, u.surname, u.email, u.password, u.salt,\n u.is_confirmed,
|
1390
|
+
u.is_hosted_user, u.confirmation_token\n FROM tokens AS t\n LEFT
|
1391
|
+
JOIN applications AS a ON a.application_id = t.application_id\n LEFT
|
1392
|
+
JOIN users AS u ON u.user_id = t.user_id\n WHERE t.token = :token\n
|
1393
|
+
\ LIMIT 1 ({"token":"user_master_token"})\n </li>\n
|
1394
|
+
\ <li>\n SELECT\n t.token,\n a.application_id,
|
1395
|
+
a.name, a.platform_type, a.platform_version,\n a.platform_admin_username,
|
1396
|
+
a.plugin_version,\n u.user_id\n FROM tokens AS t\n INNER
|
1397
|
+
JOIN applications AS a ON a.application_id = t.application_id\n INNER
|
1398
|
+
JOIN users AS u ON u.user_id = t.user_id\n WHERE t.user_id = :user_id
|
1399
|
+
({"user_id":1})\n </li>\n <li>\n Notified
|
1400
|
+
event "kernel.request" to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onKernelRequest".\n
|
1401
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
1402
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\ExceptionListener::onKernelException".\n
|
1403
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
1404
|
+
to listener "Symfony\\Component\\Security\\Http\\Firewall\\ExceptionListener::onKernelException".\n
|
1405
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
1406
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelException".\n
|
1407
|
+
\ </li>\n <li>\n Notified event "kernel.exception"
|
1408
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ExceptionListener::onKernelException".\n
|
1409
|
+
\ </li>\n <li class=\"error\">\n Symfony\\Component\\HttpKernel\\Exception\\NotFoundHttpException:
|
1410
|
+
No route found for "POST /v1applications/sites" (uncaught exception)
|
1411
|
+
at /Users/schubert/workspace/jirafe/api/vendor/symfony/src/Symfony/Bundle/FrameworkBundle/EventListener/RouterListener.php
|
1412
|
+
line 83\n </li>\n <li>\n Notified event "kernel.request"
|
1413
|
+
to listener "Symfony\\Component\\HttpKernel\\EventListener\\ProfilerListener::onKernelRequest".\n
|
1414
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1415
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onEarlyKernelRequest".\n
|
1416
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1417
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\SessionListener::onKernelRequest".\n
|
1418
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1419
|
+
to listener "Symfony\\Component\\Security\\Http\\Firewall::onKernelRequest".\n
|
1420
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1421
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\EventListener\\RouterListener::onKernelRequest".\n
|
1422
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1423
|
+
to listener "FOS\\RestBundle\\EventListener\\BodyListener::onKernelRequest".\n
|
1424
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1425
|
+
to listener "Jirafe\\Bundle\\ApiBundle\\Listener\\RequestLogListener::onKernelRequest".\n
|
1426
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1427
|
+
to listener "Jirafe\\Bundle\\DashboardBundle\\Templating\\Helper\\MenuHelper::onKernelRequest".\n
|
1428
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1429
|
+
to listener "Jirafe\\Bundle\\DashboardBundle\\Listener\\ChangeLocaleKernelRequestListener::onKernelRequest".\n
|
1430
|
+
\ </li>\n <li>\n Notified event "kernel.request"
|
1431
|
+
to listener "Jirafe\\Bundle\\DashboardBundle\\Listener\\SaveAppIdInCookieKernelRequestListener::onKernelRequest".\n
|
1432
|
+
\ </li>\n <li>\n Notified event "kernel.controller"
|
1433
|
+
to listener "Symfony\\Bundle\\FrameworkBundle\\DataCollector\\RequestDataCollector::onKernelController".\n
|
1434
|
+
\ </li>\n </ol>\n </div>\n\n </div>\n \n \n</div>\n\n<script
|
1435
|
+
type=\"text/javascript\">//<![CDATA[\n function toggle(id, clazz) {\n var
|
1436
|
+
el = document.getElementById(id),\n current = el.style.display,\n
|
1437
|
+
\ i;\n\n if (clazz) {\n var tags = document.getElementsByTagName('*');\n
|
1438
|
+
\ for (i = tags.length - 1; i >= 0 ; i--) {\n if
|
1439
|
+
(tags[i].className === clazz) {\n tags[i].style.display
|
1440
|
+
= 'none';\n }\n }\n }\n\n el.style.display
|
1441
|
+
= current === 'none' ? 'block' : 'none';\n }\n\n function switchIcons(id1,
|
1442
|
+
id2) {\n var icon1, icon2, visibility1, visibility2;\n\n icon1
|
1443
|
+
= document.getElementById(id1);\n icon2 = document.getElementById(id2);\n\n
|
1444
|
+
\ visibility1 = icon1.style.visibility;\n visibility2 = icon2.style.visibility;\n\n
|
1445
|
+
\ icon1.style.visibility = visibility2;\n icon2.style.visibility
|
1446
|
+
= visibility1;\n }\n//]]></script>\n </div>\n \n<div id=\"sfwdt50479b461a84e\"
|
1447
|
+
style=\"display: none\"></div><script type=\"text/javascript\">/*<![CDATA[*/
|
1448
|
+
\ (function () { var wdt, xhr; wdt = document.getElementById('sfwdt50479b461a84e');
|
1449
|
+
\ if (window.XMLHttpRequest) { xhr = new XMLHttpRequest();
|
1450
|
+
\ } else { xhr = new ActiveXObject('Microsoft.XMLHTTP');
|
1451
|
+
\ } xhr.open('GET', '/_wdt/50479b461a84e', true); xhr.setRequestHeader('X-Requested-With',
|
1452
|
+
'XMLHttpRequest'); xhr.onreadystatechange = function(state) { if
|
1453
|
+
(4 === xhr.readyState && 200 === xhr.status && -1 !== xhr.responseText.indexOf('sf-toolbarreset'))
|
1454
|
+
{ wdt.innerHTML = xhr.responseText; wdt.style.display
|
1455
|
+
= 'block'; } }; xhr.send(''); })();/*]]>*/</script>\n</body>\n</html>\n"
|
1456
|
+
http_version:
|
1457
|
+
recorded_at: Wed, 05 Sep 2012 18:34:46 GMT
|
1458
|
+
- request:
|
1459
|
+
method: post
|
1460
|
+
uri: http://api.jirafe.dev/v1/applications/166/sites?token=user_master_token
|
1461
|
+
body:
|
1462
|
+
encoding: US-ASCII
|
1463
|
+
string: description=my%20new%20site&store_api_url=
|
1464
|
+
headers: {}
|
1465
|
+
response:
|
1466
|
+
status:
|
1467
|
+
code: 403
|
1468
|
+
message: Forbidden
|
1469
|
+
headers:
|
1470
|
+
Server:
|
1471
|
+
- nginx/1.2.2
|
1472
|
+
Content-Type:
|
1473
|
+
- text/html; charset=UTF-8
|
1474
|
+
Transfer-Encoding:
|
1475
|
+
- chunked
|
1476
|
+
Connection:
|
1477
|
+
- keep-alive
|
1478
|
+
Keep-Alive:
|
1479
|
+
- timeout=10
|
1480
|
+
X-Powered-By:
|
1481
|
+
- PHP/5.3.15
|
1482
|
+
Cache-Control:
|
1483
|
+
- no-cache
|
1484
|
+
Date:
|
1485
|
+
- Wed, 05 Sep 2012 19:05:50 GMT
|
1486
|
+
X-Debug-Token:
|
1487
|
+
- 5047a28ed73fd
|
1488
|
+
body:
|
1489
|
+
encoding: US-ASCII
|
1490
|
+
string: ! '{"error":{"code":403,"message":"Access denied."}}
|
1491
|
+
|
1492
|
+
'
|
1493
|
+
http_version:
|
1494
|
+
recorded_at: Wed, 05 Sep 2012 19:05:50 GMT
|
1495
|
+
- request:
|
1496
|
+
method: post
|
1497
|
+
uri: http://api.jirafe.dev/v1/applications/167/sites?token=user_master_token
|
1498
|
+
body:
|
1499
|
+
encoding: US-ASCII
|
1500
|
+
string: description=my%20new%20site&store_api_url=
|
1501
|
+
headers: {}
|
1502
|
+
response:
|
1503
|
+
status:
|
1504
|
+
code: 403
|
1505
|
+
message: Forbidden
|
1506
|
+
headers:
|
1507
|
+
Server:
|
1508
|
+
- nginx/1.2.2
|
1509
|
+
Content-Type:
|
1510
|
+
- text/html; charset=UTF-8
|
1511
|
+
Transfer-Encoding:
|
1512
|
+
- chunked
|
1513
|
+
Connection:
|
1514
|
+
- keep-alive
|
1515
|
+
Keep-Alive:
|
1516
|
+
- timeout=10
|
1517
|
+
X-Powered-By:
|
1518
|
+
- PHP/5.3.15
|
1519
|
+
Cache-Control:
|
1520
|
+
- no-cache
|
1521
|
+
Date:
|
1522
|
+
- Wed, 05 Sep 2012 19:05:51 GMT
|
1523
|
+
X-Debug-Token:
|
1524
|
+
- 5047a28f10f61
|
1525
|
+
body:
|
1526
|
+
encoding: US-ASCII
|
1527
|
+
string: ! '{"error":{"code":403,"message":"Access denied."}}
|
1528
|
+
|
1529
|
+
'
|
1530
|
+
http_version:
|
1531
|
+
recorded_at: Wed, 05 Sep 2012 19:05:51 GMT
|
1532
|
+
- request:
|
1533
|
+
method: post
|
1534
|
+
uri: http://api.jirafe.dev/v1/applications/168/sites?token=user_master_token
|
1535
|
+
body:
|
1536
|
+
encoding: US-ASCII
|
1537
|
+
string: description=my%20new%20site&store_api_url=
|
1538
|
+
headers: {}
|
1539
|
+
response:
|
1540
|
+
status:
|
1541
|
+
code: 403
|
1542
|
+
message: Forbidden
|
1543
|
+
headers:
|
1544
|
+
Server:
|
1545
|
+
- nginx/1.2.2
|
1546
|
+
Content-Type:
|
1547
|
+
- text/html; charset=UTF-8
|
1548
|
+
Transfer-Encoding:
|
1549
|
+
- chunked
|
1550
|
+
Connection:
|
1551
|
+
- keep-alive
|
1552
|
+
Keep-Alive:
|
1553
|
+
- timeout=10
|
1554
|
+
X-Powered-By:
|
1555
|
+
- PHP/5.3.15
|
1556
|
+
Cache-Control:
|
1557
|
+
- no-cache
|
1558
|
+
Date:
|
1559
|
+
- Wed, 05 Sep 2012 19:05:51 GMT
|
1560
|
+
X-Debug-Token:
|
1561
|
+
- 5047a28f3d9fa
|
1562
|
+
body:
|
1563
|
+
encoding: US-ASCII
|
1564
|
+
string: ! '{"error":{"code":403,"message":"Access denied."}}
|
1565
|
+
|
1566
|
+
'
|
1567
|
+
http_version:
|
1568
|
+
recorded_at: Wed, 05 Sep 2012 19:05:51 GMT
|
1569
|
+
recorded_with: VCR 2.2.4
|