walkthrough step 38: missing / repeated i18n strings
OpenUI5 version: 1.82.0
Browser/version (+device/version): Firefox / Chromium
URL (minimal example if possible): https://openui5.hana.ondemand.com/entity/sap.m.tutorial.walkthrough/sample/sap.m.tutorial.walkthrough.38
Steps to reproduce the problem:
- navigate to URL
- run app and inspect console
- download app and inspect i18n strings
What is the expected result? no errors on console, all strings are present and not duplicated
What happens instead?
- searchFieldPlaceholder (used in InvoiceList.view.xml) is missing (assert failed on console)
- Detail_rootLabel, Detail_headerLabel, Detail_contentLabel, ratingTitle are listed twice, once under "Detail page" and once under "overview page"
I'm not sure how to handle the duplicates (are they autogenerated?) but the missing key is easy to fix. Take care that it is missing also from the tutorial itself, not just from the downloaded app.
Hello @AndreaBorgia-Abo ,
Thank you for sharing this finding. I've created an internal incident 2070350688. The status of the issue will be updated here in GitHub.
Regards, Yana
Hello @AndreaBorgia-Abo .
We are not able to reproduce the problem. Could you please provide us with a step by step guide how to reproduce it?
Best regards, Martin
For me, the texts ratingIndicatorLabel, ratingIndicatorDescription, rateButtonLabel and rateButtonDescription are missing when I click on any product (tested in 1.82.0)
@Martotko for the missing string, please follow step 38 of the tutorial but do not download the readymade version of InvoiceList.view.xml, rather manually implement the changes following the code snippets: you'll see that it requires a i18n>searchFieldPlaceholder string, which isn't present in the tutorial version of the properties file, only in the zip file.
for the duplicates, this is a screenshot of the properties file, as present in the downloaded ZIP for step 38:

Hi @AndreaBorgia-Abo,
We've fixed the issue. The fix will be available in the next openUI5 version.
Best regards, Martin