eclipse-openj9 / openj9-website

openj9-website
24 stars 28 forks source link

Fix Xtrace Option Builder trigger deserialization #317

Closed paulcheeseman closed 2 years ago

paulcheeseman commented 2 years ago

When deserializing / reconstructing triggers from a copied link, the parameters in the URL for the Delay and Limit fields are currently not handled correctly, so their values are always set to zero.

The relevant code has blocks to handle text and radio type inputs, but nothing for number inputs. This is slightly odd because there are never any radio type elements in triggers, so I have simply changed this block to handle number inputs instead, which is what I suspect it was intended to do all along.

Signed-off-by: Paul Cheeseman paul.cheeseman@uk.ibm.com