You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’ve set values in both attributes box2metadata.row_style and box2metadata.cell_style but the UI does not apply them.
The source code (Angular Frontend) does not evaluate both attributes rowStyle / cellStyle attributes of the metadata field. Attributes styleLabel and styleValue work as described.
The documentation contains an attribute style that is not present in the Excel file (cris-layout-configuration) and not present in the database table cris_layout_field:
The Angular code evaluates this style attribute in
I’ve changed this method return value to a hard coded value of my-1 . This works as expected.
Please note, that rowStyle and cellStyle of the box (configured in tab2box) work as expected.
The problem I’ve found is related to the metadata field level only (not the box or tab level).
I’ve set values in both attributes
box2metadata.row_style
andbox2metadata.cell_style
but the UI does not apply them.The source code (Angular Frontend) does not evaluate both attributes
rowStyle
/cellStyle
attributes of the metadata field. AttributesstyleLabel
andstyleValue
work as described.The documentation contains an attribute
style
that is not present in the Excel file (cris-layout-configuration) and not present in the database tablecris_layout_field
:The Angular code evaluates this
style
attribute indspace-angular/src/app/cris-layout/cris-layout-matrix/cris-layout-box-container/boxes/metadata/row/metadata-container/metadata-container.component.ts
Line 130 in 1d1ecad
I’ve changed this method return value to a hard coded value of
my-1
. This works as expected.Please note, that
rowStyle
andcellStyle
of the box (configured intab2box
) work as expected.The problem I’ve found is related to the metadata field level only (not the box or tab level).
This bug was approved by @abollini in Slack (https://dspace-org.slack.com/archives/CBTMASJP3/p1729580178847919?thread_ts=1729341760.961249&cid=CBTMASJP3).
The text was updated successfully, but these errors were encountered: