steve-community / steve

SteVe - OCPP server implementation in Java
GNU General Public License v3.0
801 stars 393 forks source link

Unable to edit SteVe internal properties of charging profile while assigned to charge point #964

Open lategoodbye opened 2 years ago

lategoodbye commented 2 years ago

Checklist

Specifications

SteVe Version     : 3.5.0
Operating system  : Debian 11
JDK               : OpenJDK 17.0.4
Database          : Maria DB 10.5

Expected Behavior

It's possible to modify SteVe internal properties (description, additional note) while the charging profile is active on a charging station.

Actual Behavior

Currently SteVe complains with a exception de.rwth.idsg.steve.SteveException: Cannot modify this charging profile, since the following stations are still using it, but this is an unnecessary restriction because these properties are not sent to the charging station and this is not very userfriendly.

Steps to Reproduce the Problem

  1. Assign a charging station a new Charging profile
  2. Go to "Charging Profile Detail form"
  3. Modify description or additional note and press Update
goekay commented 1 year ago

just checking: are description and note the only properties to remove the restriction?

others seem to come directly from the charging profile ocpp data model.

lategoodbye commented 1 year ago

Yes, correct.