I have entered a value out of the acceptable range and received an error mesage. How can i edit this app to correct this error?
Gary
What app?
Provide a screenshot of error in the app and also in the system logs.
!this is a shot of the log not sure what you are asking about the app. I cannot open the app i just get this message.
Gary
What app is it? Rule Machine? Something else?
Also, go Logs on the left side bar and then try to open that app again. There should be a red error printed in the logs. Need a screenshot of that also, it may identify the exact line number in the code where the error is.
This is a screenshot of the log page the problem is app 46 it is basic rule app, i put a value that was outside of what acceptable and need to be able to change it. !
As the error reads, it was expecting a string or integer, and trying to cast that to an integer. You entered a decimal value, though I have no idea what the context is for your value that you want to use a decimal where it clearly should be an integer.
It would be deeper than that one line. It is most likely converting to integer because something else needs it to be an integer value.
I understand what i did wrong just want a way to fix it without starting over
Iff i could open the the app and edit i would be happy
Honestly, in situations like this (and I've been there myself a few times) I found it faster to just start over rather than try to chase a fix.
Sadly i though this might be it but this has happened before and i expect it to happen again. It sure would be nice to just do an edit to make testing limits easier.
@bravenel is this your app?
@toffgar if you do start over don't delete the broken one. Staff might want to get some info from it so they can fix this issue for the next person.
Probably the only way you will get this fix will be if they fix it in the 2.4.1 beta, and you join beta or wait for it to be done. Not sure how long it would be or if it will be fixed.
Hm.... one other thought, you might be able to export it and edit the JSON file.
In the apps list, on the far right click the ( i ) info box.
~~At bottom of that page, Click the export button, then export and save. ~~
It saves as a text file, but it is JSON, you can run it through an online JSON beautifier to make it more readable. You should be able to find and edit the bad value then import it back as a new rule.
I guess don't do that, backup would be much easier.
Restore your last database backup from before editing the app.
Away to much to learn.
How would this work? Where are backups stored? I looked in settings and see that backups are done daily. But where are they?
Gary