https://dnwp-omar.tst.cdl.fi/purchase-orders/3530/update

PurchaseOrderController :: updateAction

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\PurchaseOrderController::updateAction"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app.purchase_order.update"
_route_params
[
  "purchaseOrder" => "3530"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"078825"
purchaseOrder
App\Entity\PurchaseOrder {#1276
  #id: 3530
  #currency: "EUR"
  #deliveryAddress: Proxies\__CG__\App\Entity\CompanyDocumentAddress {#1401 …}
  #deliveryDate: DateTime @1655067600 {#1283
    date: 2022-06-13 00:00:00.0 Europe/Helsinki (+03:00)
  }
  #documentVersions: Doctrine\ORM\PersistentCollection {#1403 …}
  #endCustomer: Proxies\__CG__\App\Entity\DocumentEndCustomer {#1420 …}
  #invoicingAddress: Proxies\__CG__\App\Entity\CompanyDocumentAddress {#1419 …}
  #logEntries: Doctrine\ORM\PersistentCollection {#1413 …}
  #notes: "Invoiced 21042022, 2004732933."
  #orderNumber: 3182
  #salesCase: Proxies\__CG__\App\Entity\SalesCase {#1495 …}
  #salesItems: Doctrine\ORM\PersistentCollection {#1600 …}
  #shippingMarks: null
  #socNumber: "OC001419-001038"
  #supplier: Proxies\__CG__\App\Entity\Supplier {#1454 …}
  #supplierAddress: Proxies\__CG__\App\Entity\CompanyDocumentAddress {#1453 …}
  #termsOfDelivery: """
    FCA Haukipudas, Finland\r\n
    Incoterms 2010
    """
  #termsOfPaymentRows: Doctrine\ORM\PersistentCollection {#1480 …}
  #text: null
  #transportation: null
  #contactPerson: "Nina Furuhjelm"
  #customerContactPerson: null
  #customerDate: null
  #customerReferenceNumber: "NASI refill"
  #customerUpdated: null
  #date: DateTime @1649624400 {#1285
    date: 2022-04-11 00:00:00.0 Europe/Helsinki (+03:00)
  }
  #originalStatus: "sent"
  #status: "sent"
  #updated: null
  #currencyExchangeRate: null
  #currencyExchangeRateDate: null
  #discountDescription: null
  #discountPercentage: null
  #discountValue: null
  #vat: "24.00"
}

Request Headers

Header Value
accept
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
accept-encoding
"gzip, deflate"
accept-language
"fi,en;q=0.8"
connection
"Close"
host
"dnwp-omar.tst.cdl.fi"
referer
"https://dnwp-omar.tst.cdl.fi/price-updates"
user-agent
"Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sun, 11 Jan 2026 00:55:26 GMT"
vary
"Accept"
x-debug-exception
"You%20are%20not%20allowed%20to%20view%20the%20purchase%20order."
x-debug-exception-file
"%2Fvar%2Fwww%2Fwebroot-test%2Fcurrent%2Fsrc%2FService%2FPurchaseOrderService.php:176"
x-debug-token
"8a32a6"
x-debug-token-link
"https://dnwp-omar.tst.cdl.fi/_profiler/46066f"
x-previous-debug-token
"46066f"
x-robots-tag
"noindex"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session 1

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

1 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 87
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 49
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 80
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/var/www/webroot-test/current/public/index.php"
    "line" => 5
    "args" => [
      "/var/www/webroot-test/current/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"c706a2cf133aaf14a57dc5b33484a5e7"
DATABASE_URL
"mysql://webadmin:bBKVFUf5qDzrX8tm6j9w3J@127.0.0.1:3306/dnwpomar_test?serverVersion=mariadb-10.6.21&charset=utf8mb4"
FIXER_ACCESS_KEY
"0b00b6853afb02032105db484000478e"
FIXER_API_URL
"http://data.fixer.io"
MAILER_DSN
"smtp://127.0.0.1:25?verify_peer=0"
MAIL_ADDRESS
"noreply@ordermanagement.dnwpartners.com"
MAIL_SENDER
"DNWP OMAR <noreply@ordermanagement.dnwpartners.com>"
MAVENTA_API_KEY
"a8c6e1e4-9c81-4a9f-8e57-b929e1f556bc"
MAVENTA_AX_API_HOST
"ax-stage.maventa.com"
MAVENTA_COMPANY_UUID
"54104bee-6429-4e83-a1dd-e242f11d837e"
MAVENTA_INTERMEDIATOR_ID
"003721291126"
MAVENTA_VALIDATOR_API_HOST
"validator-stage.maventa.com"
MAVENTA_VENDOR_API_KEY
"b5f53112-953c-4dfa-a72f-4b97c9f1b422"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"
WKHTMLTOPDF_PATH
"/usr/bin/xvfb-run /usr/local/bin/wkhtmltopdf"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/webroot-test/current/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/webroot-test/current/public"
FCGI_ROLE
"RESPONDER"
GATEWAY_INTERFACE
"CGI/1.1"
HOME
"/home/webadmin"
HTTPS
"on"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_ACCEPT_ENCODING
"gzip, deflate"
HTTP_ACCEPT_LANGUAGE
"fi,en;q=0.8"
HTTP_CONNECTION
"Close"
HTTP_HOST
"dnwp-omar.tst.cdl.fi"
HTTP_REFERER
"https://dnwp-omar.tst.cdl.fi/price-updates"
HTTP_USER_AGENT
"Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"dnwp-omar.tst.cdl.fi"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/purchase-orders/3530/update"
REMOTE_ADDR
"114.119.150.170"
REMOTE_PORT
"25061"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1768092926
REQUEST_TIME_FLOAT
1768092926.7322
REQUEST_URI
"/purchase-orders/3530/update"
SCRIPT_FILENAME
"//var/www/webroot-test/current/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"94.237.117.175"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"dnwp-omar.tst.cdl.fi"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.52 (Ubuntu) Server at dnwp-omar.tst.cdl.fi Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.52 (Ubuntu)"
SSL_TLS_SNI
"dnwp-omar.tst.cdl.fi"
SYMFONY_DOTENV_VARS
"FIXER_API_URL,FIXER_ACCESS_KEY,MAVENTA_AX_API_HOST,MAVENTA_VALIDATOR_API_HOST,MAVENTA_API_KEY,MAVENTA_COMPANY_UUID,MAVENTA_INTERMEDIATOR_ID,MAVENTA_VENDOR_API_KEY,APP_ENV,APP_SECRET,MESSENGER_TRANSPORT_DSN,MAILER_DSN,MAIL_SENDER,MAIL_ADDRESS,DATABASE_URL,WKHTMLTOPDF_PATH"
USER
"webadmin"
proxy-nokeepalive
"1"

Sub Requests 1

ErrorController (token = 46066f)

Key Value
_controller
"error_controller"
_stopwatch_token
"8454ed"
exception
App\Exception\AccessDeniedException {#1668
  #message: "You are not allowed to view the purchase order."
  #code: 0
  #file: "/var/www/webroot-test/current/src/Service/PurchaseOrderService.php"
  #line: 176
  -route: null
  -translation: null
  trace: {
    /var/www/webroot-test/current/src/Service/PurchaseOrderService.php:176 {
      App\Service\PurchaseOrderService->assertRead(PurchaseOrder $purchaseOrder): void …
      › if (!$this->canRead($purchaseOrder)) {    throw new AccessDeniedException('You are not allowed to view the purchase order.');}
    }
    /var/www/webroot-test/current/src/Controller/PurchaseOrderController.php:412 {
      App\Controller\PurchaseOrderController->updateAction(Request $request, PurchaseOrder $purchaseOrder): Response …
      › {    $this->purchaseOrderService->assertRead($purchaseOrder);}
    /var/www/webroot-test/current/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/webroot-test/current/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/webroot-test/current/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/webroot-test/current/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/webroot-test/current/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/webroot-test/current/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/webroot-test/current/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#235 …9}