Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 442 of 808  Not logged in ELOG logo
    icon2.gif   Re: Cancel button missing when editing an entry, posted by Stefan Ritt on Wed Nov 16 14:01:18 2016 
The problem is that the elog database does not allow for a copy of an entry before you make modifications (and therefore get a "draft"). This
is actually very simila to other note taking programs. I use Evernote, which constantly synchronizes between devices, and there I also cannot go back to
the version before I started making modification. What one would need is a version system (and Evernote has one), so you can go back to the previous verison,
    icon2.gif   Re: Cancel button missing when editing an entry, posted by Andreas Luedeke on Thu Nov 17 09:14:15 2016 
Yes, "Save Drafts = 0" does the trick. But it is the "zero-option": trivial, but not satisfying ;-)

Warning: the "back" button of the browser has a very undesired effect: the entry
is then converted into a draft and not shown anymore in list view!
    icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by Xuan Wu on Thu Nov 17 09:54:03 2016 
Hi,

I'm sorry that I'm not familiar with the stunel. I came across email sending problem before. I created a email server in my own PC called
postfix. Elog can use this email server to send email. Finally, I could use the email server from our institution. Maybe Luedeke or Stefan can
    icon2.gif   Re: How to configure email? "Error sending Email via <i>"127.0.0.1"</i>", posted by I Gede Made Wira Saputra on Fri Nov 18 01:50:26 2016 
Thanks Xuan Wu, I hope Ludeke or Stefan see my problem.




Xuan
Wu wrote:



Hi,
    icon2.gif   Re: Cancel button missing when editing an entry, posted by Stefan Ritt on Mon Nov 21 15:07:05 2016 
Well, the "undesired effect" you describe is exactly the reason for having drafts. Somebody works on a lengthy message, then the browser dies,
or the user by accident hits the "back" button and (by accidnt, ehem...) confirms the dialog popping up which says "changes will be lost".
In that case the draft mechanism should take care of that the lengthy message is not lost. That's where it is for. If one does not like it, one can
    icon2.gif   Re: Cancel button missing when editing an entry, posted by Christine Quicot on Wed Nov 23 09:25:15 2016 
Hello,

In my opinion, there should be a "close/return" button (discard changes), even with the drafts enabled, but effectively there will
have to be several saves made (at least before/after).
    icon2.gif   Re: Cancel button missing when editing an entry, posted by Andreas Luedeke on Thu Nov 24 07:38:52 2016 
Hi Stefan,

actually what you refer to as the "quick and dirty" solution is probably the only feasible one: to store a copy
of the entry in the browser and restore that copy with a "cancel" button.

Otherwise you would need a full-fledged revision management,
to deal with multiple copies of the same entry open in several browsers.

 

Yet, that does not solve the "problem"
    icon2.gif   Re: Cancel button missing when editing an entry, posted by Stefan Ritt on Thu Nov 24 08:40:31 2016 



Andreas Luedeke
wrote:



But as a first step, it might be worthwhile to document this behaviour
in the ELOG "User's Guide". Drafts are currently only mentioned in the elogd.cfg syntax pages under "Save drafts" and "autosave".
ELOG V3.1.5-3fb85fa6