N°5305 - CSV import ergonomy for SaaS

- Fix ext key displayable value
This commit is contained in:
Benjamin Dalsass
2023-06-21 11:21:40 +02:00
parent bfd078c2a3
commit 2074a0fa0d
2 changed files with 9 additions and 0 deletions

View File

@@ -37,6 +37,14 @@ abstract class CellChangeSpec
return $this->m_proposedValue;
}
/**
* @since 3.1.0 N°5305
*/
public function SetDisplayableValue(string $sDisplayableValue)
{
$this->m_proposedValue = $sDisplayableValue;
}
public function GetOql()
{
return $this->m_sOql;

View File

@@ -474,6 +474,7 @@ try {
if (isset($aExternalKeysByColumn[$iNumber - 1])) {
$sExtKeyName = $aExternalKeysByColumn[$iNumber - 1];
$oExtKeyCellStatus = $aResRow[$sExtKeyName];
$oExtKeyCellStatus->SetDisplayableValue($oCellStatus->GetDisplayableValue());
$oCellStatus = $oExtKeyCellStatus;
}
$sHtmlValue = $oCellStatus->GetDisplayableValue();