Open ikonplant opened 2 months ago
Hey @ikonplant,
thanks for the detailed report. Indeed it looks like there is a missing data handler that selects the correct spreadsheet right after translating an entry. I played already a bit around and I'm confident to find a good solution for it. I guess it will require a bugfix in https://github.com/hoogi91/spreadsheets too, but then this issue should disappear. Hope to create a release on the weekend :)
Hi @hoogi91 ! Thank you! I will have a look at it tomorrow and give you my feedback.
Hi @hoogi91 ! Unfortunately the problem is not solved for our customer. I will come back to you with detailed report.
Version(s) affected: 2.0.6
Description
Translated Chart Dataset data (
tx_charts_domain_model_chartdata
) refers the spreadsheet configuration of the origin data record (fromsys_language_uid
0). Changes, made for translated record via BE, are not stored in the database correctly and are not shown in BE correctly.How to reproduce
Given / created Data:
Excel:
DB: sys_file_reference:
DB: tx_charts_domain_model_chartdata:
BE: translated Chart Dataset record (UID 85), Markup of the form for _Labels (single row or column)[spreadsheetlabels]:
<option value="662675">test_diagramm_daten_de</option>
But within spreadsheet_labels field of
tx_charts_domain_model_chartdata
UID 85sys_file_reference
662674 is referenced:spreadsheet://662674?index=0&range=B1:C1&direction=horizontal
, Which also has an impact on frontend rendering, of course.Further use case to recheck the problem in frontend:
Add second Excel sheet with the same data, but translated labels to the file storage Set relation within translated Chart Dataset to the second Excel sheet
Additional context