-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Data not being saved #73
Comments
Interesting. Thanks for writing. Can you reproduce it ? Does it only happen with certain posts ? Or after a certain amount of time ? |
Thanks for replying. The last part of the Laravel.log Hope this helps. |
Perhaps you can recreate a version of your post that fails, containing only the bar minimum and doesn't disclose anything personal that you could share. Could you post (at least) the 24 previous lines of the log file (, because there are far more important) ? |
I've attached a copy of the text that fails. I've removed the domain name but everything else is the same. I created the file in Benote with no problems then went back later to format it properly and add in the config details. It wouldn't save the changes and didn't raise any error messages. Also attached is the complete log file from the system. Let me know if you need anything else. |
Thanks. It might have something to do with that domain/link. Can you try to create a post only containing it and see if that fails or not ? |
Mmmm. I can create a note with the domain in without an issue. I also managed to edit that note. I have played about with it and I've noticed that it is removing formatting spaces. I can add text and it saves fine but it removes leading spaces and padded spaces on every save. This explains why there are no errors, the system is actually saving the data. As I am trying to format the text by entering spaces it appears that it is not saving but it is. Therefore when I raised this as Data not being saved that is incorrect. It is modifying data by stripping out extraneous spaces. Is that deliberate or a bug? |
I've played a bit more. The software edits the text that is input removing text and modifying text depending on the input. For example I am recording my CRON settings and there are a lot of * there. They edit the lines and. How can I put in 5 * * * * into the file. More importantly how can I stop the text from changing. I tried to restore a system and benotes had modified the text and I couldn't install it without going back as if it was a first install. That negates its use for me. In addition it has now started saying error unable to save file for simple files. Error: Post could not be created. I wiped the system and restarted and it still says error. I've attached the complete log and the file entry that fails. Text.txt |
I'm sorry I didn't answer sooner. |
OK. thanks for responding. I'm going to try embedding the docker container in a LXD container. See what happens there to fix the writing issue. The truncation and the reformatting are clearly coding and/or browser issues. I'll try different browsers to help you diagnose the problem. When you get around to it ping me and I'll help diagnose where I can. |
So I had some time so can I tell you know:
|
I understand about markdown but I interpreted the 'supports both markdown and a rich text editor' as it was optional and it isn't. So it is 'uses markdown' How do I use the rich text editor instead of markdown? I tired code blocks and they still truncated the lines so all the YAML and JSON files are wrong. How did you do the docker-compose block? |
You use both at the same time. You can either use markdown syntax or use the buttons. Well I created an empty code block with:
and then pasted your content in it. |
Ah. OK. I managed to create one from the markup guide you link too. So far its allowing me to add them back and now I understand the formatting issue I'm full speed ahead. Thanks for the help. It is much appreciated. I'll close this down and if the errors appear again I'll open another issue. |
If you rather prefer to achieve it without markdown syntax you can also click on the code button and then past your content afterwards inside it. |
LOL. If only I had clicked a few buttons but I just assumed it wasn't saving and wend down the wrong path. Once that assumption was made I didn't try anything else. Thanks for the easy solution. I've been playing with the buttons and they do what I want. So I'm happy. |
I've just started with Benotes and I'm impressed with the I/F. Simple and easy to use. I've been using it OK for about a week. I like it a lot.
However, yesterday I had some data that was not saved. I noticed a little box in the bottom left which said there was an error. I almost missed it. Could it be moved centre screen or up by the Save button to make it more obvious. As pressing save closes the page, and remember there was an error, I lost my input. I then started copying the page before saving just in case and it happened a few times.
Then I found a record that had not given an error message but hadn't saved the data. I edited it again thinking that I hadn't saved it and it closed but didn't save. No error messages at all. I could make some changes and it would be saved but others wouldn't be saved. All failed saves did not give any errors at all. Obviously I have no idea how long this has been happening it could have been from day 0.
Anyone have an ideas on how I can fix this or diagnose the issue.
I am on a QNAP NAS running the latest QTS Hero. The App is in a Docker Container and set up on NGinx. Access works fine and everything appears OK. Only issues are the occasional error failing to save and it simply not saving with no errors.
The text was updated successfully, but these errors were encountered: