Opened 11 years ago

Last modified 11 years ago

#11047 closed enhancement

changeset: no length check for the source field — at Initial Version

Reported by: aseerel4c26 Owned by: team
Priority: minor Milestone: 15.01
Component: Core Version: tested
Keywords: tags changeset source Cc:

Description

apparently there is no length check for the "source" field for changesets although it looks like the "comment" field. So, it also should behave like it.

  • Revision: 7906
  • Linux
  • Java version: 1.8.0_31, Oracle Corporation, OpenJDK 64-Bit Server VM

What steps will reproduce the problem?

  1. make some data changes and click the upload button
  2. type too many letters (more than 255, IIRC) into the source field
  3. hit "upload"

What is the expected result?

the same like for the "comment" field: not even possible to enter too many characters

What happens instead?

error from server which leads to a exception by josm

Workaround: At least the (long) comment is saved by JOSM, so it can be recovered with the drop-down button and shortened.

Change History (0)

Note: See TracTickets for help on using tickets.