Blank screen on Import multiple digital objects

161 views
Skip to first unread message

victor....@gmail.com

unread,
Mar 13, 2014, 6:18:31 AM3/13/14
to ica-ato...@googlegroups.com
Hello,

I have an issue to import a multiple digital objects.
When I try it, I see a blank screen without options to upload files. It only occurs in Catalan not in english language.

Anyone knows if there is other setting for each language?

Thank you in advance for your help.

Victor.

Jessica Bushey

unread,
Mar 13, 2014, 4:47:36 PM3/13/14
to ica-ato...@googlegroups.com
Hi Victor,

Could you explain step-by-step what is happening.
I tried to duplicate the problem in our AtoM 2.x test site and I couldn't. I did the following:
1. Create archival description in English. 
2. Save.
3. Import multiple digital objects at the Item level. (3 JPGs)
4. Success.

1. Switch to French interface. (The default language for the test site is English)
2. Create an archival description in French.
3. Save.
4. Import multiple digital objects at the item level. (3 JPGs)
5. Success.

What is the default language setting for your site?
When does the screen go blank? 

Thank you,
Jessica



---
Jessica Bushey, MAS
AtoM Product Manager
Systems Analyst
jes...@artefactual.com

Artefactual Systems Inc.
www.artefactual.com







--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To post to this group, send email to ica-ato...@googlegroups.com.
Visit this group at http://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/e664528e-4fd7-4979-bcf7-dbbaf76c451d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

victor....@gmail.com

unread,
Mar 14, 2014, 5:46:32 AM3/14/14
to ica-ato...@googlegroups.com
Hi Jessica,

thank you for your reply.

My default language is Catalan.

1.- I go to edit archival description in Catalan
2.- Choose option to import multiple digital objects 
3.- Result: blank screen (1-2 images)

1

2

In english:

I hope this helps to understand my issue.

regards,

Victor.

Jessica Bushey

unread,
Mar 14, 2014, 6:53:31 PM3/14/14
to ica-ato...@googlegroups.com
Hi Victor,

I an unable to test this right now. So I have changed the subject line and I am hoping that another AtoM 2.0.1 User with a Default language other than English can respond. 
I think this might be a bug, but I need to be sure.

Jessica

---
Jessica Bushey, MAS
AtoM Product Manager
Systems Analyst
jes...@artefactual.com

Artefactual Systems Inc.
www.artefactual.com



Hutchinson, Tim

unread,
Mar 15, 2014, 5:42:56 PM3/15/14
to ica-ato...@googlegroups.com

Hi Jessica,

 

I was able to reproduce this with Italian as the default culture. It’s OK in French. I have a theory that it’s related to whether the language is one of the default languages. I had trouble with getting the source culture to stick with Catalan – including internal server errors in some cases, and I noticed that there is no messages.xml file for this culture. But more later.

 

Tim

 

From: ica-ato...@googlegroups.com [mailto:ica-ato...@googlegroups.com] On Behalf Of Jessica Bushey
Sent: March-14-14 4:54 PM
To: ica-ato...@googlegroups.com
Subject: [ica-atom-users] Re: Blank screen- Import multiple digital objects -Language Default not English

 

Hi Victor,

 

I an unable to test this right now. So I have changed the subject line and I am hoping that another AtoM 2.0.1 User with a Default language other than English can respond. 

I think this might be a bug, but I need to be sure.

 

Jessica

 

---

Jessica Bushey, MAS
AtoM Product Manager

Systems Analyst
jes...@artefactual.com

Artefactual Systems Inc.
www.artefactual.com


On 2014-03-14, at 2:46 AM, victor....@gmail.com wrote:



Hi Jessica,

 

thank you for your reply.

 

My default language is Catalan.

 

1.- I go to edit archival description in Catalan

2.- Choose option to import multiple digital objects 

3.- Result: blank screen (1-2 images)

 

1

Image removed by sender.

2

Image removed by sender.

In english:

Image removed by sender.

Jessica Bushey

unread,
Mar 15, 2014, 7:40:21 PM3/15/14
to ica-ato...@googlegroups.com
Hi Tim,

Thank you for this observation. I'll try testing with this in mind.

Regards,
Jessica

Hutchinson, Tim

unread,
Mar 16, 2014, 2:54:40 PM3/16/14
to ica-ato...@googlegroups.com
Hi Jessica and Victor,

I don't really understand what's happening, but I've managed to narrow it down a bit and can suggest a possible workaround.

The blank screen isn't happening with every language, and there's also no clear pattern. I added German and Polish (also not part of the default language set), and the form appears correctly, whether or not I rebuilt the search index (as instructed on the settings form). Italian persists with the blank screen, even after rebuilding search index, clearing cache, clearing browser cache. (Incidentally it doesn't seem to make a difference what the default culture is.)

It appears to boil down to this line in the source code (line 368 for me):
<form id="multiFileUploadForm" style="display: none" action="/collections/index.php/4h-clubs-fonds-3/multiFileUpload" method="post">
This is identical whether or not the screen is blank - i.e. the content is there but hidden. There must be code somewhere else that overrides the display: none when the form appears correctly.

So - I'm not sure why that's the default, but Victor, a possible workaround would be to change display: none to display: inline in the relevant template - line 49 of:
https://github.com/artefactual/atom/blob/2.x/apps/qubit/modules/informationobject/templates/multiFileUploadSuccess.php
<?php echo $form->renderFormTag(url_for(array($resource, 'module' => 'informationobject', 'action' => 'multiFileUpload')), array('id' => 'multiFileUploadForm', 'style' => 'display: none')) ?>
i.e. change 'display: none' to 'display: inline' at the end of the line (and then clear the application cache). I have not tested this, but I did test with a static copy of the form, and changing the display setting seems to work. I also don't know if this setting is needed in some other context.

Tim

From: ica-ato...@googlegroups.com [ica-ato...@googlegroups.com] on behalf of Jessica Bushey [jes...@artefactual.com]
Sent: March 15, 2014 5:40 PM
To: ica-ato...@googlegroups.com
Subject: Re: [ica-atom-users] Blank screen- Import multiple digital objects -Language Default not English

victor....@gmail.com

unread,
Mar 17, 2014, 10:30:06 AM3/17/14
to ica-ato...@googlegroups.com
Hello,

thank you to both. I will try and I'll keep you informed.

Regards,

Victor.
To post to this group, send email to ica-at...@googlegroups.com.

victor....@gmail.com

unread,
Mar 18, 2014, 10:03:11 AM3/18/14
to ica-ato...@googlegroups.com
Hi,

it works perfectly!

Thank you so much!

Victor.

El domingo, 16 de marzo de 2014 19:54:40 UTC+1, Tim Hutchinson escribió:
To post to this group, send email to ica-at...@googlegroups.com.

Hutchinson, Tim

unread,
Mar 18, 2014, 10:35:19 AM3/18/14
to ica-ato...@googlegroups.com

Hi Victor,

 

Glad to hear it. I’ll be curious to learn whether this can be considered a general fix, or if there’s something more complicated at play.

 

Tim

Jessica Bushey

unread,
Mar 18, 2014, 11:45:07 AM3/18/14
to ica-ato...@googlegroups.com
Hi Tim,

I have asked our AtoM development team to review our conversation and provide additional context. 
I will update the list when I know more.

Thank you for your help.
Jessica

victor....@gmail.com

unread,
Mar 18, 2014, 12:42:42 PM3/18/14
to ica-ato...@googlegroups.com
Hi again,

I am sorry but I've said that it works too soon.
It shows the page correctly and I can choose options but the Select Files link is disabled on my default language, not in english. Maybe I should change something else in the same php?

thank you for your support.

Victor.

Jessica Bushey

unread,
Mar 18, 2014, 12:48:33 PM3/18/14
to ica-ato...@googlegroups.com
Victor,

I'm sorry to hear that. As I said, I have asked our AtoM Developers to take a look into this issue. 

Regards,
Jessica

victor....@gmail.com

unread,
Mar 18, 2014, 12:52:23 PM3/18/14
to ica-ato...@googlegroups.com
Thank you Jessica. I wait for your news.

Victor.

Hutchinson, Tim

unread,
Mar 18, 2014, 3:57:13 PM3/18/14
to ica-ato...@googlegroups.com

Hi Jessica,

 

This seems to be related to Flash. In the problematic language (Italian in my testing), I noticed that if you right click on the select files link, you will see “Movie not loaded…”

 

This snippet would then seem to explain why the form was not loading at all before we changed the display property manually:

 

// If JavaScript and Flash Player installed

if (0 == YAHOO.deconcept.SWFObjectUtil.getPlayerVersion().major)

{

  var noflash = jQuery('#no-flash');

  noflash.show();

}

else

{

  jQuery('form#multiFileUploadForm').show();

}

 

In the javascript console, I get this:

[13:06:27.537] GET http://[atom-server]/index.php/[slug]/assets/uploader.swf [HTTP/1.1 404 Not Found 140ms]

 

but I’m not sure where that incorrect path (i.e. instead of /vendor/yui/uploader/assets/uploader.swf) gets called from.

 

Tim

natk...@gmail.com

unread,
May 12, 2016, 4:54:51 PM5/12/16
to ICA-AtoM Users
Hi,

We have encountered this issue with English language.  Steps to reproduce are same as first reported (archival description -> More, -> Import Digital Objects). 

Changing the multiFileUploadForm display to inline does show the form, but the Select files button does not work.

We have a simple Atom 2.2.0 installation (for testing).  (I don't see any issues in the js script console.)

Was this fixed with latest release, or is there any workaround/patch for this issue?

Thanks.

--
You received this message because you are subscribed to the Google Groups "ICA-AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.

To post to this group, send email to ica-at...@googlegroups.com.
Visit this group at http://groups.google.com/group/ica-atom-users.

Dan Gillean

unread,
May 12, 2016, 5:11:46 PM5/12/16
to ICA-AtoM Users
Hi there,

First, thanks so much for looking for an existing thread first! I'm sorry to see that this thread was never updated; I'll see what I can do to dig up more information, but as far as I can tell, an issue was never filed, and the display:none code appears to be the same:

From what I can tell in Tim's last post on the thread, it sounds like some instances are pointing to the wrong location for the uploader - I'm not sure why that would be. I'll ask the developers to respond.

Note that this uploader does require Flash - so if you don't have Flash installed, or have it disabled in your browser, it's possible this will cause issues? We hope in the future to be able to replace this uploader with something HTML5-based (it's the only component in AtoM using Flash), and ideally move digital object upload to the job scheduler, so users can upload large files via the browser, but that will require development sponsorship from our community to be able to implement it in a future AtoM release.

In the meantime, I'll see if I can have a developer look into where this invoked, and how to correct the path.

Regards,


Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

natk...@gmail.com

unread,
May 12, 2016, 8:59:09 PM5/12/16
to ICA-AtoM Users
Hi Dan,

Thank you for the quick response. 

Yes, downloading and installing the flash player resolved the issue.  I see that there was a recent discussion about this as well. 


Not a major issue for us to have flash enabled.  Thanks again.

Dan Gillean

unread,
May 13, 2016, 1:29:44 PM5/13/16
to ICA-AtoM Users
Hi there,

I'm glad you've gotten it working! It turns out that your report has helped us identify a bug.

Normally if a user does not have Flash installed or enabled, a warning message should be shown, indicating that Flash is required - see:

This warning is not currently displaying - I was able to reproduce the blank screen you saw when I disabled Flash in my browser.

I've filed an issue ticket to track this bug here:

We'll try to get a fix into the upcoming 2.3 release if we can!

Thanks again,


Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

vrami...@gmail.com

unread,
Jun 26, 2017, 11:52:56 PM6/26/17
to AtoM Users
See

vrami...@gmail.com

unread,
Jun 27, 2017, 1:51:30 AM6/27/17
to AtoM Users
See it
Reply all
Reply to author
Forward
0 new messages