Bug #11121

Repository contact area does not support culture fallback, Region filter and facet does not return results when created in a different culture

Added by Dan Gillean about 3 years ago. Updated almost 3 years ago.

Status:VerifiedStart date:04/27/2017
Priority:MediumDue date:
Assignee:Dan Gillean% Done:

0%

Category:I18N
Target version:Release 2.4.0
Google Code Legacy ID: Tested version:2.3, 2.4
Sponsored:No Requires documentation:

Description

First reported via the AtoM user forum, 2017-04-26: https://groups.google.com/d/msg/ica-atom-users/K-eROcgwxYs/Qy_0iS8dBAAJ

Report was from 2.3 with a default installation culture of Indonesian - reproduced in 2.4 with default installation culture of English.

To reproduce
  • In a site with a default culture of EN, flip the interface to another culture (e.g. French)
  • Create a new repository. Add contact information including a region
  • Save, and navigate to the browse repositories page
  • In the FR interface, use the Advanced search drop-down and select the region you added to the FR repository. Submit
  • Try it in the EN interface as well:

Resulting error
No results are returned

Expected result
  • French repo is returned.
  • Repository contact area supports translation and culture fallback
  • Sidebar address details support culture fallback (see notes)
Notes
  • This was first reported by a user with an Indonesian installation, creating descriptions in Indonesian.
  • The user site is available here: http://jikn.sikn.go.id/index.php/repository/browse
  • When I flip the interface to EN in my test and re-enter edit mode, I can see that the translation is not available above the Region field (or other fields) - instead, the Region field is blank. If I add the same Region in the English interface, then I get results in both the EN and FR interface when using the search
  • I noticed that with some of the results on the user site (like this one ), the contact information does not display in the sidebar at all, whether the UI is in Indonesian or English, despite there being Indonesian content there. It would appear that the entire contact area doesn't currently support culture fallback

Related issues

Related to Access to Memory (AtoM) - Bug #11358: Translated fields not shown when editing repository conta... Verified 07/13/2017
Related to Access to Memory (AtoM) - Bug #11359: City and region culture fallback not working for reposito... Verified 07/13/2017
Related to Access to Memory (AtoM) - Bug #11602: Some UI elements of Contact area in Repository edit page ... Verified 10/11/2017

History

#1 Updated by Nick Wilkinson about 3 years ago

  • Assignee set to Mike Gale

#2 Updated by Mike Gale about 3 years ago

  • Status changed from New to Code Review
  • Assignee changed from Mike Gale to José Raddaoui Marín

Hi Radda, can you check https://github.com/artefactual/atom/pull/583 for me? This only addresses the first issue in this ticket--I think I'll break out the other issues into separate tickets once this change is merged.

#3 Updated by José Raddaoui Marín about 3 years ago

  • Status changed from Code Review to Feedback
  • Assignee changed from José Raddaoui Marín to Mike Gale

Sounds great and looks good!

#4 Updated by Mike Gale about 3 years ago

  • Status changed from Feedback to QA/Review
  • Assignee changed from Mike Gale to Dan Gillean

Merged qa/2.4.x b4477a2e10ab58e734ef06dde123bcaaeba6834c

Note: this fix only addresses the "to reproduce" and "expected results" issue. Also note this fix does not enable cultural fallback for the regions drop down (this is out of scope before 2.4 release).

I will discuss with Dan whether or not to spin off the penultimate and final notes (in original desc) bullet points into separate tickets.

#5 Updated by Mike Gale about 3 years ago

  • Related to Bug #11358: Translated fields not shown when editing repository contact information added

#6 Updated by Dan Gillean about 3 years ago

  • Target version set to Release 2.4.0

#7 Updated by Mike Gale about 3 years ago

  • Related to Bug #11359: City and region culture fallback not working for repository contact info sidebar added

#8 Updated by Mike Gale about 3 years ago

Created 2 related issues to address the bottom 2 Notes bullet points.

#9 Updated by Dan Gillean almost 3 years ago

  • Status changed from QA/Review to Verified

#10 Updated by Dan Gillean almost 3 years ago

  • Related to Bug #11602: Some UI elements of Contact area in Repository edit page not translatable added

Also available in: Atom PDF