Skip to content

Commit

Permalink
Mandats-ID auf 35 Stellen erweitert
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann Maierhofer committed Feb 21, 2025
1 parent ac89205 commit acffab3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,6 @@ public Update0466(String driver, ProgressMonitor monitor, Connection conn)
public void run() throws ApplicationException
{
execute(addColumn("mitglied",
new Column("mandatid", COLTYPE.VARCHAR, 20, null, false, false)));
new Column("mandatid", COLTYPE.VARCHAR, 35, null, false, false)));
}
}
4 changes: 2 additions & 2 deletions src/de/jost_net/JVerein/server/MitgliedImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@ private void plausi() throws RemoteException, ApplicationException
{
throw new ApplicationException("Bitte Mandats-ID eingeben");
}
else if (getMandatID().length() > 20)
else if (getMandatID().length() > 35)
{
throw new ApplicationException("Mandats-ID hat mehr als 20 Stellen");
throw new ApplicationException("Mandats-ID hat mehr als 35 Stellen");
}
if (getMandatDatum() == Einstellungen.NODATE)
{
Expand Down

0 comments on commit acffab3

Please sign in to comment.