✔ Alternate version language replicated in the full citation of the Primary version and vice versa
Completed by Morgan M.
- Assigned to
-
Harsh P.
- Notes
-
I noticed an issue in dispute documents with alternate versions where the alternate version language is replicated in the full citation of the English version.
The examples used in the video are IC/0493/13 & IC/0493/14:
Screen capture of the full citations of IC/0493/13 & IC/0493/14 on the live site:
I used examples of IC/0493/11 & IC/0493/12 to see if I could change the full citation of the Primary document on the admin site so it appears correctly on the live site. IC/0493/11 & IC/0493/12 were the same as the above examples (the full citation of both had Spanish at the end). I got rid of "[Spanish]" from the full citation of the primary version i.e. IC/0493/11. What happened was that "[Spanish]" was also removed from the full citation of the alternate version as well i.e. IC/0493/12. - I assigned this to-do low priority.
Morgan
Thanks,
Nafiseh
We checked IC/0493/11 & IC/0493/12 on app.islg and found that IC/0493/12 is displaying Spanish in full citation and IC/0493/11 doesn't display Spanish as you removed from Full Citation.
Same way you can also removed Spanish word from IC/0493/13 UIN's Full Citation and Check.
Let me know if you need any help.
I can go back and fix the existing documents with the wrong language in the full citation. However, there appears to be a bug that causes this issue where every time we add an alternate version for a document, the language of the alternate version is assigned to the primary version in the full citation.
I have uploaded a document as well as its Spanish alternate version on staging.islg to provide you with an example:
Thanks,
Nafiseh
To help Nafiseh identify and fix the existing documents, can we have someone query the database to return documents where document language is not equal to citation language?
Thanks,
--Martin
This issue is resolved on staging.islg. Please check and Confirm.
Following, We can provide you UIN list which Full Citation text are same for all this UINs on app.islg.
UN/0171/04
UN/0121/10
UN/0188/05
UN/0171/03
UN/0121/09
UN/0188/06
Yes, the issue is resolved on staging.islg.
Thanks,
Nafiseh
Thanks,
Morgan
I had a quick look and noticed that the UINs that need to be modified are more than the ones listed above. If it is not possible to provide a list of those UINs, I'll need to do an audit on the app.islg to find those UINs. In the meantime, I'll change the ones that Harsh listed.
Thanks,
Nafiseh
Morgan
Nafiseh
Here is a filtered list that should give you the documents you need:
Thanks,
Morgan
Thank you for sending the list.
Nafiseh