vlingo / xoom-schemata

The VLINGO XOOM Schema Registry.
https://vlingo.io
Mozilla Public License 2.0
17 stars 9 forks source link

When changing status, the version name gets removed #174

Closed Florian-Schoenherr closed 3 years ago

Florian-Schoenherr commented 3 years ago

image probably backend related or recent UI changes

VaughnVernon commented 3 years ago

@Florian-Schoenherr I don't see where this is happening. I've reviewed everything that touches the status and currentVersion. The problem would seem to be reflected in the projections and I don't see where.

@hurelhuyag Please put some tracing/logging on this to see where the problem is.

hurelhuyag commented 3 years ago

@VaughnVernon There are already log messages appearing for every HTTP request at the INFO level. @Florian-Schoenherr I also noticed the version name removing the issue. It seems it is a UI problem.

VaughnVernon commented 3 years ago

@hurelhuyag I meant at other points, especially projections.

BTW, the version assignment is no longer used. I don't know how the UI could do that unless the same version is being defined twice and that latter supersedes the former.

We should remove the event SchemaVersionAssigned and any code that attempts to handle it. The current and previous versions should be stable/immutable, otherwise changing either could make a big mess.

hurelhuyag commented 3 years ago

@VaughnVernon Actually those logs are projection logs. I checked all log messages and HTTP payloads. I didn't find anything wrong on the back-end side.

PS: I added more information on logs https://github.com/vlingo/xoom-schemata/pull/176

VaughnVernon commented 3 years ago

@hurelhuyag Perhaps it is simply a data mapping or rendering bug in the UI. /cc @Florian-Schoenherr

Florian-Schoenherr commented 3 years ago

I'll take a look, didn't yesterday