Closed mariano-aguero closed 5 years ago
Merging #1207 into integration/#1082-new-design will not change security risk.
@mariano-aguero Validator detects incorrect minCap for line with incorrect maxCap
@mariano-aguero
Warning message: if warning contains one error then the text should be in singular form ... is wrong
(instead ... are wrong
)
And has
instead have
if only one line
@mariano-aguero If mincap is fractional then warning text should contains:
Actual value is ...
integer
instead number
@mariano-aguero
Why not to add ta phrase actual value is..
to each incorrect line in this warning message if it has already added in similar case with wrong mincap?
@dennis00010011b
All feedback reported was fixed, Greetings
@mariano-aguero Error messages are duplicated if line has no minCap or maxCap
@dennis00010011b all errors belong to that line. Do you want the errors to be grouped by line?
@mariano-aguero
Follow messages are dublicates. The line number 5 need a minCap
and The line number 5 has an incorrect mincap. Must be an integer. Actual value is empty
I think should be only one of them (second)
@dennis00010011b
Follow messages are dublicates. The line number 5 need a minCap and The line number 5 has an incorrect mincap. Must be an integer. Actual value is empty I think should be only one of them (second)
I did a simulation with your test file, I attached a capture.
Fixed a conflict with the integration branch.
@mariano-aguero
It seems to work fine.
I suggest a few changes:
1- It may be good to change
- The line number 1...
- The line number 2...
- The line number 3...
etc.
For a simpler and less cluttered
- Line #1...
- Line #4...
- Line #6...
etc.
2- I might be nitpicking, but I think that "Current value is..." is more adequate than "Actual value is..."
3- Must be a integer
should be Must be an integer
@gabitoesmiapodo
Wording fixed here https://github.com/poanetwork/token-wizard/pull/1207/commits/d7bfa0fc477f47ad41d641b220cce66c571bab75
Greetings
Closes #1179