Open dergo opened 5 years ago
propertyValueOrTransition.split(" *: *");
should be replaced by
propertyValueOrTransition.split(" *: *", 2);
Fixed.
Also had to change
String expectedValueOrTransition = propertyValueOrTransition.replaceFirst(".*: *", "");
to
String expectedValueOrTransition = propertyValueOrTransition.replaceFirst(".*?: *", "");
PropertiesHistory.checkPropertyValueOrTransition() doesn't support semicolon in values, which happens e.g. if value is a URL, if it's the case it throws a QTasteDataException("Invalid syntax").
This is due to the following code: