ApiLogicServer icon indicating copy to clipboard operation
ApiLogicServer copied to clipboard

As of 6.0, bpchar causes some transitions to fail with "Element does not exist"

Open KatrinaHuberJuma opened this issue 3 years ago • 4 comments
trafficstars

This error occurs with the sample Postgres database, even when created with current product but using old SRA.

KatrinaHuberJuma avatar Sep 27 '22 04:09 KatrinaHuberJuma

A specific example is the transition to see Customer Detail (appears to be any customer).

valhuber avatar Sep 27 '22 04:09 valhuber

This is due to use of the bpchar datatype - blank padded character, more fully described in this SQLAlchemy issue.

As a work-around, it can be resolved by editing the created model file, like this:

bpchar-fix

We are considering a more fully comprehensive solution.

valhuber avatar Oct 01 '22 23:10 valhuber

A revised docker image has been created that resolves this as described here.

valhuber avatar Oct 06 '22 16:10 valhuber

See https://github.com/pthom/northwind_psql/commit/4aa7967a33b84e693db56d4c23ada410a3ff04a6 which fixes the issue inside the northwind example

pthom avatar Oct 07 '22 06:10 pthom