http://pms.cmet.ustc.edu.cn/applicant/project/edit/4634 Return to referer URL

ProjectController :: edit

Request

GET Parameters

No GET parameters

POST Parameters

Key Value
project
[
  "category" => "438"
]

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\Applicant\ProjectController::edit"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"applicant_project_edit"
_route_params
[
  "id" => "4634"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"aff683"
id
"4634"
project
App\Entity\Project {#1878
  #number: "2024cxtd003"
  #schoolProjectNumber: null
  #status: "新申请"
  #collegeSort: 0
  #schoolSort: 0
  #doc: null
  #docName: "685c21baede36523992217.doc"
  #collegeDoc: null
  #collegeDocName: null
  #attachments: Doctrine\ORM\PersistentCollection {#1902 …}
  #id: 4634
  #name: "大学物理基础实验教学创新团队"
  #batch: Proxies\__CG__\App\Entity\Batch {#1927 …}
  #user: App\Entity\User {#1624 …}
  #subject: null
  #college: Proxies\__CG__\App\Entity\College {#1918 …}
  #category: Proxies\__CG__\App\Entity\Category {#1940 …}
  #level: null
  #year: null
  #property: Proxies\__CG__\App\Entity\Property {#1947 …}
  #updatedAt: DateTime @1750868410 {#1873
    date: 2025-06-26 00:20:10.0 Asia/Shanghai (+08:00)
  }
}

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, deflate, br, zstd"
accept-language
"zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
connection
"close"
content-length
"25"
content-type
"application/x-www-form-urlencoded; charset=UTF-8"
cookie
"sduuid=b80d880b51254e23076c242341c06bed; _ga=GA1.3.1134253323.1706281325; _ga_VR0TZSDVGE=GS2.3.s1748436478$o5$g0$t1748436478$j60$l0$h0; cookie_vjuid_portal_login=9xZpcoEWeb7782nF8%2BSlTBZSk5T2cavm9CMa1PMtxnb9D83715P5ptoDvv2kuzkZ2FTbpfY9Mhue7HqsUFV9wdbgy8BptW7psZGFQOewiZQ8C4bKaE3LJNRbmRIr2dXIK%2FU5QflnavZWHrKLtPA7bQ%3D%3D; PHPSESSID=l5u6h0ajpnmme1qpbu0vr70boq"
host
"pms.cmet.ustc.edu.cn"
origin
"https://pms.cmet.ustc.edu.cn"
referer
"https://pms.cmet.ustc.edu.cn/applicant/project/edit/4634"
sec-fetch-dest
"empty"
sec-fetch-mode
"cors"
sec-fetch-site
"same-origin"
user-agent
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:139.0) Gecko/20100101 Firefox/139.0"
x-forwarded-for
"183.164.106.164"
x-forwarded-proto
"https"
x-php-ob-level
"1"
x-real-ip
"183.164.106.164"
x-requested-with
"XMLHttpRequest"

Request Content

Raw

project%5Bcategory%5D=438

Response

Response Headers

Header Value
cache-control
"private, must-revalidate"
content-type
"text/html; charset=UTF-8"
date
"Wed, 25 Jun 2025 16:20:34 GMT"
expires
-1
pragma
"no-cache"
x-debug-exception
"Expected%20argument%20of%20type%20%22string%22%2C%20%22null%22%20given%20at%20property%20path%20%22name%22."
x-debug-exception-file
"%2Fhome%2Fprojects%2Fpms%2Fvendor%2Fsymfony%2Fproperty-access%2FPropertyAccessor.php:268"
x-debug-token
"14807a"
x-debug-token-link
"http://pms.cmet.ustc.edu.cn/_profiler/6a1dd4"
x-previous-debug-token
"6a1dd4"
x-robots-tag
"noindex"

Cookies

Request Cookies

Key Value
PHPSESSID
"l5u6h0ajpnmme1qpbu0vr70boq"
_ga
"GA1.3.1134253323.1706281325"
_ga_VR0TZSDVGE
"GS2.3.s1748436478$o5$g0$t1748436478$j60$l0$h0"
cookie_vjuid_portal_login
"9xZpcoEWeb7782nF8+SlTBZSk5T2cavm9CMa1PMtxnb9D83715P5ptoDvv2kuzkZ2FTbpfY9Mhue7HqsUFV9wdbgy8BptW7psZGFQOewiZQ8C4bKaE3LJNRbmRIr2dXIK/U5QflnavZWHrKLtPA7bQ=="
sduuid
"b80d880b51254e23076c242341c06bed"

Response Cookies

No response cookies

Session 2

Session Metadata

Key Value
Created
"Thu, 26 Jun 25 00:13:48 +0800"
Last used
"Thu, 26 Jun 25 00:20:34 +0800"
Lifetime
0

Session Attributes

Attribute Value
_csrf/project
"cCYH9KWYeRccazIaZV86sa3gA13UpitQzT2B2UqjDP0"
_security.main.target_path
"http://pms.cmet.ustc.edu.cn/applicant"
_security_main
"O:75:"Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken":2:{i:0;s:4:"main";i:1;a:5:{i:0;O:15:"App\Entity\User":6:{s:15:"\x00*\x00adminCollege";N;s:7:"\x00*\x00role";s:14:"ROLE_APPLICANT";s:11:"\x00*\x00userInfo";O:34:"Proxies\__CG__\App\Entity\UserInfo":16:{s:17:"__isInitialized__";b:0;s:9:"\x00*\x00number";N;s:9:"\x00*\x00gender";N;s:8:"\x00*\x00major";N;s:8:"\x00*\x00phone";N;s:9:"\x00*\x00mobile";N;s:8:"\x00*\x00email";N;s:10:"\x00*\x00address";N;s:10:"\x00*\x00zipcode";N;s:5:"\x00*\x00id";i:93;s:7:"\x00*\x00name";N;s:10:"\x00*\x00subject";N;s:8:"\x00*\x00title";N;s:16:"\x00*\x00qualification";N;s:9:"\x00*\x00degree";N;s:10:"\x00*\x00college";N;}s:7:"\x00*\x00name";s:9:"韦先涛";s:5:"\x00*\x00id";i:111;s:11:"\x00*\x00username";s:5:"10051";}i:1;b:1;i:2;N;i:3;a:0:{}i:4;a:1:{i:0;s:14:"ROLE_APPLICANT";}}}"

Session Usage

2 Usages
Stateless check enabled
Usage
Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage:44
[
  [
    "file" => "/home/projects/pms/vendor/symfony/security-core/Authentication/Token/Storage/UsageTrackingTokenStorage.php"
    "line" => 44
    "function" => "getMetadataBag"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/security-http/Firewall/AccessListener.php"
    "line" => 87
    "function" => "getToken"
    "class" => "Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/security-bundle/Debug/WrappedLazyListener.php"
    "line" => 49
    "function" => "authenticate"
    "class" => "Symfony\Component\Security\Http\Firewall\AccessListener"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/security-http/Firewall/AbstractListener.php"
    "line" => 26
    "function" => "authenticate"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\WrappedLazyListener"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/security-bundle/Security/LazyFirewallContext.php"
    "line" => 60
    "function" => "__invoke"
    "class" => "Symfony\Component\Security\Http\Firewall\AbstractListener"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/security-bundle/Debug/TraceableFirewallListener.php"
    "line" => 77
    "function" => "__invoke"
    "class" => "Symfony\Bundle\SecurityBundle\Security\LazyFirewallContext"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/security-http/Firewall.php"
    "line" => 92
    "function" => "callListeners"
    "class" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelRequest"
    "class" => "Symfony\Component\Security\Http\Firewall"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 139
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 75
    "function" => "handleRaw"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/public/index.php"
    "line" => 5
    "args" => [
      "/home/projects/pms/vendor/autoload_runtime.php"
    ]
    "function" => "require_once"
  ]
]
Symfony\Component\Security\Http\Firewall\ContextListener:198
[
  [
    "file" => "/home/projects/pms/vendor/symfony/security-http/Firewall/ContextListener.php"
    "line" => 198
    "function" => "set"
    "class" => "Symfony\Component\HttpFoundation\Session\Session"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/event-dispatcher/Debug/WrappedListener.php"
    "line" => 118
    "function" => "onKernelResponse"
    "class" => "Symfony\Component\Security\Http\Firewall\ContextListener"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 230
    "function" => "__invoke"
    "class" => "Symfony\Component\EventDispatcher\Debug\WrappedListener"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/event-dispatcher/EventDispatcher.php"
    "line" => 59
    "function" => "callListeners"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php"
    "line" => 154
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\EventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 196
    "function" => "dispatch"
    "class" => "Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 249
    "function" => "filterResponse"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/http-kernel/HttpKernel.php"
    "line" => 86
    "function" => "handleThrowable"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/http-kernel/Kernel.php"
    "line" => 202
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\HttpKernel"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php"
    "line" => 35
    "function" => "handle"
    "class" => "Symfony\Component\HttpKernel\Kernel"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/vendor/autoload_runtime.php"
    "line" => 35
    "function" => "run"
    "class" => "Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner"
    "type" => "->"
  ]
  [
    "file" => "/home/projects/pms/public/index.php"
    "line" => 5
    "args" => [
      "/home/projects/pms/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
"2e3ffa8cf43642eb32a6182584438905"
BASE_URL
"http://pms.cmet.ustc.edu.cn/"
DATABASE_URL
"mysql://root:zwx303.db@127.0.0.1:3306/pms?serverVersion=mariadb-10.1.41"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"25"
CONTENT_TYPE
"application/x-www-form-urlencoded; charset=UTF-8"
CONTEXT_DOCUMENT_ROOT
"/home/projects/pms/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/projects/pms/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, deflate, br, zstd"
HTTP_ACCEPT_LANGUAGE
"zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2"
HTTP_CONNECTION
"close"
HTTP_COOKIE
"sduuid=b80d880b51254e23076c242341c06bed; _ga=GA1.3.1134253323.1706281325; _ga_VR0TZSDVGE=GS2.3.s1748436478$o5$g0$t1748436478$j60$l0$h0; cookie_vjuid_portal_login=9xZpcoEWeb7782nF8%2BSlTBZSk5T2cavm9CMa1PMtxnb9D83715P5ptoDvv2kuzkZ2FTbpfY9Mhue7HqsUFV9wdbgy8BptW7psZGFQOewiZQ8C4bKaE3LJNRbmRIr2dXIK%2FU5QflnavZWHrKLtPA7bQ%3D%3D; PHPSESSID=l5u6h0ajpnmme1qpbu0vr70boq"
HTTP_HOST
"pms.cmet.ustc.edu.cn"
HTTP_ORIGIN
"https://pms.cmet.ustc.edu.cn"
HTTP_REFERER
"https://pms.cmet.ustc.edu.cn/applicant/project/edit/4634"
HTTP_SEC_FETCH_DEST
"empty"
HTTP_SEC_FETCH_MODE
"cors"
HTTP_SEC_FETCH_SITE
"same-origin"
HTTP_USER_AGENT
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:139.0) Gecko/20100101 Firefox/139.0"
HTTP_X_FORWARDED_FOR
"183.164.106.164"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_REAL_IP
"183.164.106.164"
HTTP_X_REQUESTED_WITH
"XMLHttpRequest"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"aFwh0rK8xhjMjsN0SNs4@wAAAAE"
REDIRECT_URL
"/applicant/project/edit/4634"
REMOTE_ADDR
"202.38.64.248"
REMOTE_PORT
"60572"
REQUEST_METHOD
"POST"
REQUEST_SCHEME
"http"
REQUEST_TIME
1750868434
REQUEST_TIME_FLOAT
1750868434.5116
REQUEST_URI
"/applicant/project/edit/4634"
SCRIPT_FILENAME
"/home/projects/pms/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"202.38.70.183"
SERVER_ADMIN
"root@localhost"
SERVER_NAME
"pms.cmet.ustc.edu.cn"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.0"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache/2.4.6 (CentOS) PHP/7.4.30"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,BASE_URL,DATABASE_URL"
UNIQUE_ID
"aFwh0rK8xhjMjsN0SNs4@wAAAAE"

Sub Requests 1

ErrorController (token = 6a1dd4)

Key Value
_controller
"error_controller"
_stopwatch_token
"f83ad0"
exception
Symfony\Component\PropertyAccess\Exception\InvalidArgumentException {#2549
  #message: "Expected argument of type "string", "null" given at property path "name"."
  #code: 0
  #file: "/home/projects/pms/vendor/symfony/property-access/PropertyAccessor.php"
  #line: 268
  -previous: TypeError {#2442 …}
  trace: {
    /home/projects/pms/vendor/symfony/property-access/PropertyAccessor.php:268 {
      Symfony\Component\PropertyAccess\PropertyAccessor::throwInvalidArgumentException(string $message, array $trace, int $i, string $propertyPath, Throwable $previous = null): void …
      › 
      ›     throw new InvalidArgumentException(sprintf('Expected argument of type "%s", "%s" given at property path "%s".', $message, 'NULL' === $type ? 'null' : $type, $propertyPath), 0, $previous);}
    }
    /home/projects/pms/vendor/symfony/property-access/PropertyAccessor.php:179 {
      Symfony\Component\PropertyAccess\PropertyAccessor->setValue(&$objectOrArray, $propertyPath, $value) …
      › } catch (\TypeError $e) {    self::throwInvalidArgumentException($e->getMessage(), $e->getTrace(), 0, $propertyPath, $e);    // It wasn't thrown in this class so rethrow it
    }
    /home/projects/pms/vendor/symfony/form/Extension/Core/DataAccessor/PropertyPathAccessor.php:69 {
      Symfony\Component\Form\Extension\Core\DataAccessor\PropertyPathAccessor->setValue(&$data, $propertyValue, FormInterface $form): void …
      › if (!\is_object($data) || !$form->getConfig()->getByReference() || $propertyValue !== $this->getPropertyValue($data, $propertyPath)) {    $this->propertyAccessor->setValue($data, $propertyPath, $propertyValue);}
    }
    /home/projects/pms/vendor/symfony/form/Extension/Core/DataAccessor/ChainAccessor.php:54 {
      Symfony\Component\Form\Extension\Core\DataAccessor\ChainAccessor->setValue(&$data, $value, FormInterface $form): void …
      › if ($accessor->isWritable($data, $form)) {    $accessor->setValue($data, $value, $form);}
    /home/projects/pms/vendor/symfony/form/Extension/Core/DataMapper/DataMapper.php:87 {
      Symfony\Component\Form\Extension\Core\DataMapper\DataMapper->mapFormsToData(iterable $forms, &$data): void …
      › if ($config->getMapped() && $form->isSubmitted() && $form->isSynchronized() && !$form->isDisabled() && $this->dataAccessor->isWritable($data, $form)) {    $this->dataAccessor->setValue($data, $form->getData(), $form);}
    }
    /home/projects/pms/vendor/symfony/form/Form.php:642 {
      Symfony\Component\Form\Form->submit($submittedData, bool $clearMissing = true) …
      › $this->config->getDataMapper()->mapFormsToData(    new \RecursiveIteratorIterator(new InheritDataAwareIterator($this->children)),    $viewData
    }
    /home/projects/pms/vendor/symfony/form/Extension/HttpFoundation/HttpFoundationRequestHandler.php:110 {
      Symfony\Component\Form\Extension\HttpFoundation\HttpFoundationRequestHandler->handleRequest(FormInterface $form, $request = null) …
      › 
      ›     $form->submit($data, 'PATCH' !== $method);}
    }
    /home/projects/pms/vendor/symfony/form/Form.php:503 {
      Symfony\Component\Form\Form->handleRequest($request = null) …
      › {    $this->config->getRequestHandler()->handleRequest($this, $request);}
    /home/projects/pms/src/Controller/Applicant/ProjectController.php:119 {
      App\Controller\Applicant\ProjectController->doEdit(Project $project, Request $request, EntityManagerInterface $em, Batch $batch): Response …
      › $form = $this->createForm(ProjectType::class, $project);$form->handleRequest($request);}
    /home/projects/pms/src/Controller/Applicant/ProjectController.php:64 {
      App\Controller\Applicant\ProjectController->edit(Request $request, EntityManagerInterface $em, Project $project): Response …
      ›     $this->denyAccessUnlessGranted(ProjectVoter::APPLICANT_EDIT, $project);    return $this->doEdit($project, $request, $em, $project->getBatch());}
    }
    /home/projects/pms/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);}
    /home/projects/pms/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) {
    }
    /home/projects/pms/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 {
    }
    /home/projects/pms/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /home/projects/pms/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /home/projects/pms/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/home/projects/pms/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
null