Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 762 of 807  Not logged in ELOG logo
    icon2.gif   Re: Image source url missing, posted by Andreas Luedeke on Mon Aug 22 18:49:48 2016 rose.jpeg.png

Okay, I can confirm this bug: with Windows 10 using Firefox 47.0 the dialog hangs as soon as I press "Send it to the server". When it returns, it did not upload anything. That is why it asks for URL after pressing OK.

Quick fix: just attach the image and use the URL of the attachment.

I did it here: Rose

Cheers

Andreas

Antonio Bulgheroni wrote:

Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10. 

Which OS & Browser are you using? 

thanks,

Antonio

Antonio Bulgheroni wrote:

Dear Stefan, thanks for your answer. 

I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome. 

For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server. 

(I'm on Windows 7) 

Thanks for your help,

Antonio

 

 

Stefan Ritt wrote:

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?

Stefan

Antonio Bulgheroni wrote:

Can anyone help me? I'm really clueless smiley

 

Thanks in advance,

Antonio

Antonio Bulgheroni wrote:

Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.

This is what I do:

  • Click on the insert "Image" button in the editor toolbar
  • In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
  • I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.

I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.

What am I doing wrong? With 2.9.2 it was working normally.

 

Thanks again and best regards

Antonio

 

 

 

 

 

 

 

    icon2.gif   Re: Image source url missing, posted by Andreas Luedeke on Tue Aug 23 09:01:08 2016 

Yes, I can confirm that the image button upload does work in the Linux Demo logbook (Windows 10 client host, Firefox 47.0 client) and it still does not work in this Forum.

Antonio Bulgheroni wrote:

Andreas, there is something strange. It looks the problem is "configuration dependent" because I tried to upload a picture on the Linux Demo logbook and there it works. Can you confirm this too? 

Andreas Luedeke wrote:

Okay, I can confirm this bug: with Windows 10 using Firefox 47.0 the dialog hangs as soon as I press "Send it to the server". When it returns, it did not upload anything. That is why it asks for URL after pressing OK.

Quick fix: just attach the image and use the URL of the attachment.

I did it here: Rose

Cheers

Andreas

Antonio Bulgheroni wrote:

Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10. 

Which OS & Browser are you using? 

thanks,

Antonio

Antonio Bulgheroni wrote:

Dear Stefan, thanks for your answer. 

I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome. 

For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server. 

(I'm on Windows 7) 

Thanks for your help,

Antonio

 

 

Stefan Ritt wrote:

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?

Stefan

Antonio Bulgheroni wrote:

Can anyone help me? I'm really clueless smiley

 

Thanks in advance,

Antonio

Antonio Bulgheroni wrote:

Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.

This is what I do:

  • Click on the insert "Image" button in the editor toolbar
  • In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
  • I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.

I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.

What am I doing wrong? With 2.9.2 it was working normally.

 

Thanks again and best regards

Antonio

 

 

 

 

 

 

 

 

 

    icon2.gif   Re: Image source url missing, posted by Andreas Luedeke on Tue Aug 23 09:05:21 2016 

If you go on the attached image with the right mouse button, then you'll get a menu. In this menu there should be some entry like "copy image link" (my PC is unfortunately configured in German, I can't look it up).

This copies the URL in the clipboard and you can just paste it in the URL entry of the image button.

Antonio Bulgheroni wrote:

Thanks Andreas for your contribution and your quick fix. Just a question: how do you get the attachment URL? 

Cheers,

Antonio

Andreas Luedeke wrote:

Okay, I can confirm this bug: with Windows 10 using Firefox 47.0 the dialog hangs as soon as I press "Send it to the server". When it returns, it did not upload anything. That is why it asks for URL after pressing OK.

Quick fix: just attach the image and use the URL of the attachment.

I did it here: Rose

Cheers

Andreas

Antonio Bulgheroni wrote:

Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10. 

Which OS & Browser are you using? 

thanks,

Antonio

Antonio Bulgheroni wrote:

Dear Stefan, thanks for your answer. 

I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome. 

For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server. 

(I'm on Windows 7) 

Thanks for your help,

Antonio

 

 

Stefan Ritt wrote:

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?

Stefan

Antonio Bulgheroni wrote:

Can anyone help me? I'm really clueless smiley

 

Thanks in advance,

Antonio

Antonio Bulgheroni wrote:

Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.

This is what I do:

  • Click on the insert "Image" button in the editor toolbar
  • In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
  • I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.

I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.

What am I doing wrong? With 2.9.2 it was working normally.

 

Thanks again and best regards

Antonio

 

 

 

 

 

 

 

 

 

icon4.gif   Wrong time in attachment "Uploaded ..." date, posted by Andreas Luedeke on Wed Aug 31 10:31:19 2016 gnome-fs-bookmark-missing.png
When an attachment is later added to an exisiting entry, we see that the string "Uploaded <date>" has the wrong
time: in our case it is one hour into the future.
I'm testing it now here in the forum.

I can reproduce it in this forum: the Uploaded time should have been 10:35, but it shows 11:35.

Cheers, Andreas
    icon2.gif   Re: How do I use Preset Text only when a given topic is selected?, posted by Andreas Luedeke on Thu Sep 22 09:56:49 2016 
Hi Christina,
You want to use "conditional attributes". See elog:68350 for an example.
Cheers, Andreas
 
Christina winson wrote:

Hi,

I'm looking to use a template for only a subset of logbook entries. Is there some way to apply a template when a specific topic or category is selected?

Help for the newbie much appreciated.

Christina 

 

    icon2.gif   Re: Datetime format with elog client, posted by Andreas Luedeke on Thu Oct 27 11:18:17 2016 

Yes, this is a known bug of ELOG, see elog:68404

Alan Grant wrote:

UPDATE:

As I continue to test and troubleshoot this problem I noticed something peculiar: the Datetime defined field that the client is rejecting when I attempt a record insert is listed as a Required attribute. However, when I just remove it from the Required list the record including the epoch time is inserted without any problems.

I am now unsure if my configuration is deficient somewhere, vs a problem with the client program code.

Alan Grant wrote:

What is the input format expected by the elog client for a required Datetime defined field when inserting a record? (Eg: October 26, 2016 = ? in the field's data parameter).

I have read some prior posts on this and the indication is that the input needs to use epoch time, however even when I enter 1477493161 or 0 the client still flags the variable data as missing. If this is in fact the format I shoud be using then I can provide a sample input and output message to illustrate my problem.

 

 

 

icon3.gif   Cancel button missing when editing an entry, posted by Andreas Luedeke on Wed Nov 16 13:48:33 2016 

If I edit an old entry, and do some mistake while editing, then there is currently no way to savely discard the changes.

The problem is that the entry will become a draft: if I close the window without saving, then the whole entry is gone: it will be converted into a draft entry. But the draft does contain my changes, it is not the originally saved entry!

The draft mechanism should keep a copy of the entry before I opened it in edit mode, and allow to go back to that copy. The edit form has currently the buttons "Submit", "Save", "Preview" and "Delete"; it should have in addition the button "Cancel", that just closes the edit window without saving the entry and even deleting the draft that was saved while the entry was modified. This should bring you back to the previous list view.

Is anyone out there in favour of this change?

    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!

So if you ever wondered where your entries vanished to: it might be that someone opened them in edit view, started to edit them and then closed the browser window. I will make that known at my institute.

Grant Jeffcote wrote:

Andreas,

Doesn't using the Save Drafts = 0 option result in the old 'Back' button returning (replacing the Delete option) meaning you can revert back to your old (unmodified) version without saving, sure it doesn't save a draft but I'd rather be able to return back and lose the changes I didn't want then mess up an old entry, I guess the back button on the browser could also do what you want?

The issue I had was that entries were being deleted accidently by persons other than those that created them, I reduced the edit time to try and mitigate it but ended up going back to what we had in Ver 2.9.2, a 'Back' button.

Grant

Stefan Ritt wrote:

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, the pre-previous version and so on. But this requires a complete redesign of the elog database.

A quick and dirty solution would be to store the origianal entry inside the browser (using JavaScript). You could then restore the initial version with a "cancel" button. But this mechanism relies then on the browser. If you just leave the page, there is no way the browser can put back the old version.

Stefan

Andreas Luedeke wrote:

If I edit an old entry, and do some mistake while editing, then there is currently no way to savely discard the changes.

The problem is that the entry will become a draft: if I close the window without saving, then the whole entry is gone: it will be converted into a draft entry. But the draft does contain my changes, it is not the originally saved entry!

The draft mechanism should keep a copy of the entry before I opened it in edit mode, and allow to go back to that copy. The edit form has currently the buttons "Submit", "Save", "Preview" and "Delete"; it should have in addition the button "Cancel", that just closes the edit window without saving the entry and even deleting the draft that was saved while the entry was modified. This should bring you back to the previous list view.

Is anyone out there in favour of this change?

 

 

 

ELOG V3.1.5-3fb85fa6