1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 18:22:41 +01:00
phorge-phorge/src/infrastructure
epriestley a590db28b2 Fix an issue where non-ID changeset state keys were used as changeset IDs
Summary:
Ref T13519. This is a little fuzzy, but I think the workflow here is:

  - View an intradiff, generating an ephemeral comparison changeset with no changeset ID. This produces a state key of "*".
  - Apply "hidden" state changes to the changeset.
  - View some other intradiff and/or diff view.
  - The code attempts to use "*" as a changset ID?

I'm not entirely sure this is accurate; this was observed in production and I couldn't get a clean reproduction case locally.

Optimistically, try making changeset IDs explicit rather than relying on state keys to be "usually changeset-ID-like".

Test Plan: Used "hidden" locally across multiple intradiffs, but I wasn't cleanly able to reproduce the initial issue.

Maniphest Tasks: T13519

Differential Revision: https://secure.phabricator.com/D21223
2020-05-04 16:05:05 -07:00
..
cache Use "@" to silence "GC list" warnings from "apc_store()" and "apcu_store()" 2020-04-28 04:13:37 -07:00
cluster Make "bin/storage destroy" target individual hosts in database cluster mode 2019-09-04 10:11:08 -07:00
contentsource Redesign Config Application 2016-08-29 15:49:49 -07:00
customfield Respect "disabled" custom field status granted by "subtype" configuration in form validation 2019-08-21 18:03:20 -07:00
daemon Update some Phabricator behaviors for changes to Futures 2020-04-03 12:28:16 -07:00
diff Fix an issue where non-ID changeset state keys were used as changeset IDs 2020-05-04 16:05:05 -07:00
edges Fix an issue where loading a mangled project graph could fail too abruptly 2020-02-03 08:54:04 -08:00
editor Restore editor behavior to Diffusion and support "\" shortcut 2020-04-19 09:41:37 -07:00
env Make it easier to parse "X-Forwarded-For" with one or more load balancers 2019-09-05 04:30:13 -07:00
events Remove "PhabricatorEventType::TYPE_DIFFUSION_LOOKUPUSER" event 2019-11-19 09:38:03 -08:00
export Export "date" and "remarkup" custom fields to Excel + "zip" extension check 2019-07-18 09:59:20 -07:00
graph Add a "Subtype" tag to the task graph view in Maniphest 2019-09-27 10:58:55 -07:00
internationalization When users submit "editing" inlines, warn them that their inlines will be saved 2020-05-04 13:13:15 -07:00
javelin When the profiler is active, keep it active if the user submits forms 2017-02-23 11:15:40 -08:00
lint/linter Linter fixes 2015-12-03 07:44:23 +11:00
lipsum Continue moving classes with no callers in libphutil or Arcanist to Phabricator 2020-02-12 13:14:04 -08:00
log Proxy the "git upload-pack" wire protocol 2019-04-18 04:57:51 -07:00
management Add additional flags to "bin/repository rebuild-identities" to improve flexibility 2019-11-19 09:39:48 -08:00
markup Fix an issue where the "%%%" parser could match too many lines in unterminated blocks 2020-05-03 09:25:41 -07:00
parser Continue moving classes with no callers in libphutil or Arcanist to Phabricator 2020-02-12 13:14:04 -08:00
query Modularize Ferret fulltext functions 2020-04-16 13:41:13 -07:00
ssh Generate a random unique "Request ID" for SSH requests so processes can coordinate better 2018-03-22 13:44:30 -07:00
status Give Drydock Leases more modern status treatment 2018-02-13 13:15:57 -08:00
storage Improve use of keys when iterating over commits in "bin/audit delete" and "bin/repository rebuild-identities" 2019-11-19 10:18:55 -08:00
syntax Pass the new default syntax highlighting map to the remarkup engine 2016-05-05 02:51:19 -07:00
testing When running unit tests, ignore any custom task fields 2017-04-02 09:36:17 -07:00
time Render timezone names more readably, with spaces rather than underscores ("America/Los Angeles", not "America/Los_Angeles"). 2019-05-30 15:03:11 -07:00
util Make it easier to parse "X-Forwarded-For" with one or more load balancers 2019-09-05 04:30:13 -07:00
PhabricatorEditor.php Mark some strings for translation 2015-06-09 23:06:52 +10:00