Page MenuHomePhorge

Diffusion commit with a Diff: "<user> added an edge"
Closed, ResolvedPublic

Description

I noticed that Diffusion probably has an user message that could be improved:

aklapper added an edge: D123: Fix PHP 8.1 "strlen(null)" exception which blocks rendering Upload SSH Public key settings dialog.

Probably we should replace "added an edge" with "attached the patch" or something like that.

Note that from Differentials, the message is OK, thanks to this class probably:

https://we.phorge.it/source/phorge/browse/master/src/applications/differential/edge/DifferentialRevisionHasCommitEdgeType.php

So it seems that this is the class that does not produce that message:

https://we.phorge.it/source/phorge/browse/master/src/applications/diffusion/edge/DiffusionCommitHasRevisionEdgeType.php;7c1487e4dcfab19e0ef42cd4596780a37e0c8c4e

Probably because the last class is missing methods like getTransactionAddString(), etc.

Steps to reproduce

  1. Visit a Diffusion commit
  2. Attach a Differential Diff using Edit Related ObjectsEdit Revisions

Proposal A/B

CurrentProposal
BEFORE.png (249×868 px, 42 KB)
AFTER.png (249×868 px, 44 KB)