Blank page after editing image
  • Hi,

    I'm having this issue with Newscoop 3.5:

    when opening an article to edit, if I click over an attached photo it leads me to the Edit image page, then I make changes to the photo, etc. When I click Save, the changes are saved (Image is updated notice is shown) but I get a blank page in return. It didn't take me to the article edit mode again.

    I need to manually search for the article and open it again.... :/

    Thanks!

  • 11 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    hi,

    could you reproduce this issue on demo instance http://newscoop-demo.sourcefabric.org ?
    The blank screen means some php error. You can check in php.ini parameters which allows to see the errors:
    error_reporting = E_ALL & ~E_STRICT
    display_errors = On



  • Hi,

    Yes. I entered the Newscoop demo site, edited article "European Council candidates set to be named", clicked on image number 1, renamed it to image 10, clicked Save, and didn't return to article.

    Thanks!

  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    aha, looks like a bug. Will be fixed in the next release. Thanks for the report.
  • Thanks!
  • Hi:

    here is another one:

    If I add a New article, when clicking on Add Image > Attach existing image and click on the + sign to attach it, the software returns the popup window in blank. You need to close the popup window, but there is no image attached to the article, but If you click on Preview article, you can see the image added to the article. You need to open the article again (edit) to see the attached image on edit mode.

    This only happens when adding new article. In edit article mode it works well.

    Thanks!
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Quote:
    when opening an article to edit, if I click over an attached photo it leads me to the Edit image page, then I make changes to the photo, etc. When I click Save, the changes are saved (Image is updated notice is shown) but I get a blank page in return. It didn't take me to the article edit mode again.


    I tried to reproduce on demo site but can't. Could you check it on demo? Thank you.
  • Andrey Podshivalov wrote on Sat, 12 February 2011 21:57
    Quote:
    when opening an article to edit, if I click over an attached photo it leads me to the Edit image page, then I make changes to the photo, etc. When I click Save, the changes are saved (Image is updated notice is shown) but I get a blank page in return. It didn't take me to the article edit mode again.


    I tried to reproduce on demo site but can't. Could you check it on demo? Thank you.



    Yes, I tested it again minutes ago on demo site. I changed image number from 1 to 10 or modified another field, clicked Save and got blank page with "Image has been updated" notice flashing on the top.


    Thanks!
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    ohh, sorry, I meant about your last message: Quote:
    f I add a New article, when clicking on Add Image > Attach existing image and click on the + sign to attach it, the software returns the popup window in blank. You need to close the popup window, but there is no image attached to the article


    Could you check it? Thanks a lot.
  • Andrey Podshivalov wrote on Sat, 12 February 2011 22:34
    ohh, sorry, I meant about your last message: Quote:
    f I add a New article, when clicking on Add Image > Attach existing image and click on the + sign to attach it, the software returns the popup window in blank. You need to close the popup window, but there is no image attached to the article


    Could you check it? Thanks a lot.



    Hi:

    Well, I re-checked it and noticed one thing:

    I tried to attach and existing image with quotation marks on the description text, the error happen. It doesn't happen with imagen that have no quotation marks on description.

    Tested on demo site when adding or editing article.

    Thanks!

  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    Aha, bug catched! Thank you Oscar. It will be fixed.
  • I already fixed this issue, it will go in Newscoop 3.6:
    http://dev.sourcefabric.org/browse/CS-2761
    <http://dev.sourcefabric.org/browse/CS-2761>
    Mugur Rus
    Senior Software Developer, Sourcefabric
    mugur.rus@sourcefabric.org

    Cluj-Napoca, Romania
    +40 (0)720 528408
    Skype: mugur_rus

    http://www.sourcefabric.org
    http://www.twitter.com/Sourcefabric



    On Sat, Feb 12, 2011 at 3:59 AM, Oscar <
    newscoop-support@lists.sourcefabric.org> wrote:

    > Hi:
    >
    > here is another one:
    >
    > If I add a New article, when clicking on Add Image > Attach existing image
    > and click on the + sign to attach it, the software returns the popup window
    > in blank. You need to close the popup window, but there is no image attached
    > to the article, but If you click on Preview article, you can see the image
    > added to the article. You need to open the article again (edit) to see the
    > attached image on edit mode.
    >
    > This only happens when adding new article. In edit article mode it works
    > well.
    >
    > Thanks!
    >
    >