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
The widget read value is returned only for the first row
view = self.navigate_to(self, 'Edit', entity_name=entity_name)
values = view.parameters.puppet_class_parameters.read()
for value in values:
print(value)
Notice the Value of first element and other values, the first row read from the widget but the others read from the cell
doing some investigations on first row and other rows
print(view.parameters.puppet_class_parameters[0]['Value'].widget)
[OUT]><airgun.views.host.PuppetClassParameterValueobjectat0x7f8690618c50>print(view.parameters.puppet_class_parameters[1]['Value'].widget)
[OUT]>Noneprint(view.parameters.puppet_class_parameters[0]['Value'].column_name)
[OUT]>Valueprint(view.parameters.puppet_class_parameters[1]['Value'].column_name)
[OUT]>Type# Notice the wrong column nameprint(view.parameters.puppet_class_parameters[0]['Value'].position)
[OUT]>3print(view.parameters.puppet_class_parameters[1]['Value'].position)
[OUT]>2# Notice the wrong position (The position is right but not in the logic on the table handle rowspan and should be 3 any way)
seems there is some problem with finding the right column when the row is in the rowspan area and when the first <TD> is missing .
The text was updated successfully, but these errors were encountered:
We have the following table
represented by HTML:
Code representation
where
The widget read value is returned only for the first row
The result is
Notice the Value of first element and other values, the first row read from the widget but the others read from the cell
doing some investigations on first row and other rows
seems there is some problem with finding the right column when the row is in the rowspan area and when the first <TD> is missing .
The text was updated successfully, but these errors were encountered: