Opened 11 years ago

Last modified 11 years ago

#11047 closed enhancement

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

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

Description (last modified by Don-vip)

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 the error message:

Error message(untranslated): ChangesetTag 28523682,source: v: is too long (maximum is 255 characters) ("josm bug 11047 - lllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllllll")

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

Change History (1)

comment:1 by Don-vip, 11 years ago

Description: modified (diff)
Keywords: changeset source added
Milestone: 15.01
Note: See TracTickets for help on using tickets.