Page MenuHomePhorge

Customize query for Projects in Dashboard returns 404
Open, NormalPublic

Description

Steps to reproduce:

  1. Create a Dashboard
  2. Add a Query Panel to the Dashboard and set Search For to Projects, give a Name
  3. Create the panel
  4. Open your browser network explorer (ie. CTRL+SHIFT+i in chrome => Network)
  5. Go to the panel's options through Manage Panel and click Customize Query

Results in 404 error is shown in the browser.

The query done to the server

POST /project/query/all/customize/?search.objectPHID=PHID-DSHP-<PHID-FOR-REQUEST> HTTP/1.1
Accept: */*
Accept-Encoding: gzip, deflate
Accept-Language: es-ES,es;q=0.5
Connection: keep-alive
Content-Length: 44
Content-Type: application/x-www-form-urlencoded
Cookie: phusr=dadalha; phsid=<COOKIE>; jump_to_hisec=yes
Host: <phorge>
Origin: <phorge>
Sec-GPC: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
X-Phabricator-Csrf: B@jux3ro3qaf23ed4bee2629aa
X-Phabricator-Via: /dashboard/view/1/

And Phorge response is:

HTTP/1.1 404 Not Found
Cache-Control: no-store
Content-Encoding: gzip
Content-Security-Policy: default-src 'self' <phorge>; img-src 'self' <phorge> data:; style-src 'self' <phorge> 'unsafe-inline'; script-src 'self' <phorge>; connect-src 'self'; frame-src 'self'; frame-ancestors 'none'; object-src 'none'; form-action 'self'; base-uri 'none'
Content-Type: text/html; charset=UTF-8
Expires: Sat, 01 Jan 2000 00:00:00 GMT
Referrer-Policy: no-referrer
Server: Caddy
Status: 404 Not Found
Vary: Accept-Encoding
X-Content-Type-Options: nosniff
X-Frame-Options: Deny
Date: Mon, 03 Apr 2023 17:34:40 GMT
Transfer-Encoding: chunked

Not relevant IMHO, but stack trace:

send @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:233
_send @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:463
resume @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:441
start @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:457
(anonymous) @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:465
(anonymous) @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:80
pass @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:164
_dispatchProxy @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:159
invoke @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:102
proto.invoke @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:78
start @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:614
_update @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:609
queue @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:603
queue @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:617
(anonymous) @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:623
pass @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:164
_dispatchProxy @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:159
dispatch @ <phorge>/res/defaultX/phabricator/66c49ca1/core.pkg.js:142
JX.__rawEventQueue @ <phorge>/res/defaultX/phabricator/98e6504a/rsrc/externals/javelin/core/init.js:19