openui5 icon indicating copy to clipboard operation
openui5 copied to clipboard

walkthrough step 38: missing / repeated i18n strings

Open AndreaBorgia-Abo opened this issue 6 years ago • 5 comments

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:

  1. navigate to URL
  2. run app and inspect console
  3. 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?

  1. searchFieldPlaceholder (used in InvoiceList.view.xml) is missing (assert failed on console)
  2. 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.

AndreaBorgia-Abo avatar Sep 22 '20 13:09 AndreaBorgia-Abo

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

yanaminkova avatar Sep 24 '20 07:09 yanaminkova

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

Martotko avatar Sep 28 '20 06:09 Martotko

For me, the texts ratingIndicatorLabel, ratingIndicatorDescription, rateButtonLabel and rateButtonDescription are missing when I click on any product (tested in 1.82.0)

codeworrior avatar Sep 28 '20 07:09 codeworrior

@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: immagine

AndreaBorgia-Abo avatar Sep 29 '20 17:09 AndreaBorgia-Abo

Hi @AndreaBorgia-Abo,

We've fixed the issue. The fix will be available in the next openUI5 version.

Best regards, Martin

Martotko avatar Oct 01 '20 09:10 Martotko