1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-23 23:32:40 +01:00
phorge-phorge/src/infrastructure/edges
epriestley a2cb5e1347 Log and continue when trying to destroy edges with no edge definition
Summary: Fixes T11201.

Test Plan:
Created bogus edges like this:

```
INSERT INTO edge (src, type, dst, dateCreated, seq) values ('PHID-TASK-vnddativbialb5p6ymis', 999999, 'quack', UNIX_TIMESTAMP(), 1);
```

Then ran `bin/remove destroy` on the relevant object.

Before the patch, destruction halted after hittin the bad edge.

After the patch, a warning is emitted but destruction continues.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11201

Differential Revision: https://secure.phabricator.com/D16171
2016-06-23 06:45:17 -07:00
..
__tests__ Modernize remaining edge types 2015-01-03 10:58:20 +11:00
constants Bridge GitHub users into Phabricator and attribute actions to them 2016-03-28 13:10:32 -07:00
editor Split "Edit Blocking Tasks" into "Edit Parent Tasks" and "Edit Subtasks" 2016-06-22 11:20:38 -07:00
engineextension Log and continue when trying to destroy edges with no edge definition 2016-06-23 06:45:17 -07:00
exception phtize all the things 2015-05-22 21:16:39 +10:00
query phtize all the things 2015-05-22 21:16:39 +10:00
type Use getPhobjectClassConstant() to access class constants 2015-10-01 16:56:21 -07:00
util phtize all the things 2015-05-22 21:16:39 +10:00