Skip to content
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

Blank page in save when you edit an attachment in article #12

Open
ribo72 opened this issue May 14, 2017 · 17 comments
Open

Blank page in save when you edit an attachment in article #12

ribo72 opened this issue May 14, 2017 · 17 comments

Comments

@ribo72
Copy link

ribo72 commented May 14, 2017

Hello, in attachents 3.2.5 when you have it an article and you try to edit it(update this file) and in the end you hit save, it change it but it gives blank page. Please check it. Thank you.

@heisenbol
Copy link

I can confirm this. The same for trying to delete an attachment. I think it tries to open an inline popup, but instead a new page is opened with the deletion dialog. After deleting it, a blank page is displayed and a JS error that it can't find the parent window.
attachents 3.2.5
Joomla 3.7.2

@jmcameron
Copy link
Owner

I think this version will fix this issue. Please test it and let me know! You should be able to install this over any existing version of Attachments. But backup first!

http://jmcameron.net/attachments/downloads/attachments-3.2.6-Beta3.zip

Please let me know how it works for you by posting here. If it works for you and a few other testers, I'll push out a new release.

-Jonathan

@ribo72
Copy link
Author

ribo72 commented Jul 13, 2017

Hello, i tested and i saw that when you edit with pop up there is no blank page, but when you edit again and is with no pop up and the url is like /index.php?option=com_attachments&task=attachment.edit&cid[]=585&from=editor&tmpl=component , then you see blank page after the change of a file or url

@ribo72
Copy link
Author

ribo72 commented Jul 13, 2017

The blank page comes with url /index.php?option=com_attachments&task=attachment.save

@jmcameron
Copy link
Owner

Thanks. I'll take another look at it tonight.

-Jonathan

@ribo72
Copy link
Author

ribo72 commented Jul 13, 2017

Thank you very much, i will waiting for your news.

@jmcameron
Copy link
Owner

Please try this version:

http://jmcameron.net/attachments/downloads/attachments-3.2.6-Beta4.zip

-Jonathan

@ribo72
Copy link
Author

ribo72 commented Jul 14, 2017

Hello, again it shows blank page in /administrator/index.php?option=com_attachments&task=attachment.save

@ribo72
Copy link
Author

ribo72 commented Jul 14, 2017

After that if i go to the article, it is locked and i must check in. I said that if this can help. I also put error reporting maximum but this is still blank page. Note that error reporting works fine for every other error

@jmcameron
Copy link
Owner

Please describe in detail how you get the blank page the first time (with Beta4). Thanks.

@ribo72
Copy link
Author

ribo72 commented Jul 14, 2017

I am going to article with attachments inside(for example pdf), the first "Update this file" is with pop up, so there when i hit "save" there is no blank page. I try again to the same or another attachement in the same opened article to hit "Update this file" and there is not open in pop up but in the same window and at the end when i hit "save" there is blank page

@jmcameron
Copy link
Owner

ribo72: This is the back end, right? Do you see the same issue in the front end article editor?

@ribo72
Copy link
Author

ribo72 commented Jul 14, 2017

Yes this is in backend. Wait a moment to see and in frontend to tell you

@ribo72
Copy link
Author

ribo72 commented Jul 14, 2017

I test it and in frontend and with protostar template and when you hit "Update this file" there is no pop up page, only you see "Update Attachment File" in the same window, (the example url is index.php?option=com_attachments&task=update&id=585&from=editor&tmpl=component) and when you hit "Update" it gives blank page with url /index.php?option=com_attachments&task=save&tmpl=component&from=editor

@jmcameron
Copy link
Owner

ok. That is helpful. I'll try to work on it some more this weekend.

@ribo72
Copy link
Author

ribo72 commented Jul 14, 2017

ok thank you, i hope to helped you with this test.
Thanks again.

@vladmz
Copy link

vladmz commented Sep 12, 2017

I have installed 3.2.6 Beta 4. My observations are that when you select Edit a modal dialog opens containing the 'Update Attachment' page. Selecting Save dismisses the dialog and saves the changes which is great as this fixes the blank page issue and the 'refreshAttachments is not a function' error. However, when you try and select the edit icon again you get the 'Update Attachment' page appearing as its own page rather than in a modal dialog which is a return to the original problem. The workaround is to refresh the page after saving an attachment. I look forward to a more complete resolution to this problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants