I have an update action that was working fine before completely recreating the update form. If I remove the smtp_password field from the update action, the form doesn’t throw an error, but if I add it back I get the error. It appears to be putting an empty string behind it. Doesn’t matter if I put the field at the end of the list of fields to update or in the middle somewhere.
What version are you using @TwitchBlade? Also, have you tried rebuilding the Action itself? I can think of once or twice when I have done this things mysteriously fixed themselves...
@Quy, I did try that. I’m thinking it’s something that happens at run time cause I tested leaving the smtp_password field in the update statement and then simply disabled the smtp_password input in the form, and when I submit the form, no error occurs. If I enable the input and send a value, then the error occurs.
Well rebuilding the whole api file didn’t work, so I thought, what if I change smtp_password to smtp_pass and for some reason that works. Wonder if there is something in the run time code that looks for column names that contain ‘password’ and it’s messed up. I guess for now I’ll go with this “work around” so I can move forward.