[go: nahoru, domu]

Page MenuHomePhabricator

Investigate behavior of newly created properties with data type specific value parser
Closed, ResolvedPublic

Description

Scenario to look into:

  1. create property with a datatype that defines parser-factory-callback
  2. immediately use the new property in a statement
  3. see if anything goes wrong somewhere

Event Timeline

I tested this with a simple e2e test that does the following: 1. create item, 2. create property with data type item, 3. create statement on item using the newly created property, 4. get the new statement. This all worked fine out of the box, so I added an artificial delay to the DataUpdater that inserts the property info which is needed for the data type lookup. Interestingly the statement creation never failed, because it uses the data type lookup that has a fallback on top of the property info based lookup. In step 4 the statement value shows the UnDeserializableValue serialization while the data type lookup fails.