DeployHubProject / DeployHub-Pro

DeployHub Pro Pipeline Status Project
https://www.openmakesoftware.com/application-release-automation-for-continuous-delivery/
Other
11 stars 4 forks source link

trim attributes before saving to the DB #327

Closed piyush94 closed 3 years ago

piyush94 commented 3 years ago

If there are any space or tab characters are there at the end or beginning of either attribute name or value, they should be trimmed before being saved to the DB. Otherwise not able to edit or delete that attribute from the webapp.

sbtaylor15 commented 3 years ago

We will add a trim on the server side before the data is saved. Do we need to provide a sql query to cleanup existing attributes?

piyush94 commented 3 years ago

@sbtaylor15 sure thanks. A cleanup query will be helpful.

sbtaylor15 commented 3 years ago

Trim has been added to ui-skin-v9.0.0.3106-g3854a9f and master-v9.0.0.2945-g7ffb59b. The database will be cleaned on startup.

piyush94 commented 3 years ago

@sbtaylor15 thanks. fixed now.