Skip to first unread message

rossini...@gmail.com

unread,
Mar 7, 2017, 6:16:45 AM3/7/17
to AtoM Users
Hi,
when I add new places and add "use for", this create two record one whit correct "use for" and one blank with "Utitled" why?

This is an explampe of my problem.


Dan Gillean

unread,
Mar 7, 2017, 10:15:58 AM3/7/17
to ICA-AtoM Users
Hi Roberto,

Can you give us a bit more information? Namely:
  • What version of AtoM do you have installed?
  • What was the default installation culture you used during set up?
  • What language are you using in the user interface?
  • Did you follow our recommended installation instructions, or have you made any changes?

Thanks!


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

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/506275b7-fbd6-45f3-b28c-98d1c7f90f0e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Roberto Rossini

unread,
Mar 7, 2017, 10:40:12 AM3/7/17
to ica-ato...@googlegroups.com
Hi Dan, 

  • Version: AtoM 2.3.0
  • Default culture during installation English
  • User interface language italiano
  • I have follow your recommended installation instructions, nothing change
However, the problem occurs with both the Italian and English

Thanks! 



2017-03-07 16:15 GMT+01:00 Dan Gillean <d...@artefactual.com>:
Hi Roberto,

Can you give us a bit more information? Namely:
  • What version of AtoM do you have installed?
  • What was the default installation culture you used during set up?
  • What language are you using in the user interface?
  • Did you follow our recommended installation instructions, or have you made any changes?

Thanks!


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

On Tue, Mar 7, 2017 at 6:16 AM, <rossini...@gmail.com> wrote:
Hi,
when I add new places and add "use for", this create two record one whit correct "use for" and one blank with "Utitled" why?

This is an explampe of my problem.


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

--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/eOpAOFc_zQo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-users+unsubscribe@googlegroups.com.

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

Dan Gillean

unread,
Mar 7, 2017, 12:02:27 PM3/7/17
to ICA-AtoM Users
Hi Roberto,

Thanks for the additional information.

Strangely, I have tried to reproduce this issue in my local 2.4 development environment, and in 2.3.0 via our current demo site. I was unable to reproduce the issue.

I would suggest trying to re-index your site to see if this helps. You might also want to restart PHP-FPM and clear the application cache - from the root directory of your installation, try the following commands:
  • php symfony search:populate
  • sudo service php5-fpm restart
  • php symfony cc

Let us know if that helps!


Cheers,


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

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.

Roberto Rossini

unread,
Mar 7, 2017, 2:30:35 PM3/7/17
to ica-ato...@googlegroups.com
Hi Dan, 
I have reproduce this issue on demo.accesstomemory.org

If you go on places page you should be see the Ernestown with the Untitled. 

If you don't see this, I do the screenshots of step by step to reproduce the issue. 

Thanks


--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/eOpAOFc_zQo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.

Dan Gillean

unread,
Mar 7, 2017, 2:47:04 PM3/7/17
to ICA-AtoM Users
Hi Roberto,

I could see the issue on the browse results, but not on the view record page. I wasn't looking there earlier - I'll try to reproduce it in 2.4 now that I have a better sense of what's happening. Thanks!

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

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.

Dan Gillean

unread,
Mar 7, 2017, 3:07:15 PM3/7/17
to ICA-AtoM Users
Hello again Roberto,

Thank you again for the updated instructions - I have reproduced the issue in both 2.3 and 2.4. I have filed the following bug ticket so we can track progress on this:

It appears, in fact, to have nothing to do with the translation elements of AtoM. I reproduced it using English for both installation culture and interface display culture. I think what is happening is that AtoM adds a new edit row to the Use For field (so users can add multiple UF terms), but this is somehow accidentally being saved as a blank row when the form is submitted? Not sure.

Note that we will add this to the list of bugs to investigate for the 2.4 release, but this does not guarantee it will be resolved - due to our development philosophy and business model, the only way to guarantee a fix is to receive a community pull request or have a community organization sponsor a fix. We'll do our best! 

Thanks again for bringing this to our attention.

Regards,


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

Roberto Rossini

unread,
Mar 10, 2017, 9:25:05 AM3/10/17
to AtoM Users
Hi Dan,

Thank you for your attention.

I have investigated to discover the problem and I have find that the problem is on view file, to be precise:

apps/qubit/modules/taxonomy/templates/indexSuccess.php

On row 78, the original file have:

<p><?php echo 'Use for: '.get_search_i18n(array_pop($doc['useFor']), 'name', array('allowEmpty' => false)) ?><?php foreach ($doc['useFor'] as $label): ?><?php echo ', '.get_search_i18n($label, 'name', true, false) ?><?php endforeach; ?></p>

But the array_pop doesn't work as aspected (I don't know why), however I resolve the issue changing in this way:

<p><?php echo 'Use for: ' ?><?php foreach ($doc['useFor'] as $key => $label): ?><?php echo ($key>0?', ':'').get_search_i18n($label, 'name', true, false) ?><?php endforeach; ?></p>

This solution work as expected, sorry for my bad english.

I hope I have been helpful.

Thanks ,

Regards
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/eOpAOFc_zQo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ica-atom-user...@googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "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 https://groups.google.com/group/ica-atom-users.

--
You received this message because you are subscribed to a topic in the Google Groups "AtoM Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ica-atom-users/eOpAOFc_zQo/unsubscribe.
To unsubscribe from this group and all its topics, 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 https://groups.google.com/group/ica-atom-users.

--
You received this message because you are subscribed to the Google Groups "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 https://groups.google.com/group/ica-atom-users.

Dan Gillean

unread,
Mar 13, 2017, 5:48:41 PM3/13/17
to ICA-AtoM Users
Thank you for sharing this solution, Roberto!

I have added a link to your findings on the related issue ticket. However, if you would like to submit a pull request to the public project for our review, we would welcome your contribution!

Our wiki has several resources to help you submit a PR, here:

There you should find information on our code repository, how to contribute code, our coding standards and how/why we perform code review, and more.


Cheers,


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

To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages