Reporters: Veres Dávid, Német Rajmund
Date: 2018.March. 20
Priority: Minor
Status: Unresolved
Description:
If "Összeg" or "Bér" fields are filled with long number[>=20 character], then an incorrect error message appears.
Preconditions:
Have at least one candidate in the database with at least one application, that still pending.
Steps to reproduce:
Log in.
Choose a candidate from the list.
Choose an application.
Go forward until the "Ajánlat" state.
Fill the "Bér" or "Összeg" fields with a number, longer then 19 character.
Click on the "Mentés" button.
Actual results :
Error shows: "Could not read document: Can not construct instance of long from String value '20000000000000000000000000000000000000000000': not a valid Long value at [Source: java.io.PushbackInputStream@480ea221; line: 1, column: 382] (through reference chain: com.epam.rft.atsy.web.StateHistoryViewRepresentation["offeredMoney"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of long from String value '20000000000000000000000000000000000000000000': not a valid Long value at [Source: java.io.PushbackInputStream@480ea221; line: 1, column: 382] (through reference chain: com.epam.rft.atsy.web.StateHistoryViewRepresentation["offeredMoney"])"
Expected results :
Error message is saying: "Kérjük adjon meg 20 karakternél kisebb számot!"
Reporters: Veres Dávid, Német Rajmund Date: 2018.March. 20 Priority: Minor Status: Unresolved
Description: If "Összeg" or "Bér" fields are filled with long number[>=20 character], then an incorrect error message appears.
Preconditions: Have at least one candidate in the database with at least one application, that still pending.
Steps to reproduce:
Actual results :
Could not read document: Can not construct instance of long from String value '20000000000000000000000000000000000000000000': not a valid Long value at [Source: java.io.PushbackInputStream@480ea221; line: 1, column: 382] (through reference chain: com.epam.rft.atsy.web.StateHistoryViewRepresentation["offeredMoney"]); nested exception is com.fasterxml.jackson.databind.exc.InvalidFormatException: Can not construct instance of long from String value '20000000000000000000000000000000000000000000': not a valid Long value at [Source: java.io.PushbackInputStream@480ea221; line: 1, column: 382] (through reference chain: com.epam.rft.atsy.web.StateHistoryViewRepresentation["offeredMoney"])
"Expected results :