opwvhk / avro-schema-support

Extend IntelliJ, PyCharm and other JetBrains IDEs to more easily work with Avro schemata and protocols in both IDL and JSON format.
https://plugins.jetbrains.com/plugin/15728-avro-schema-support
MIT License
19 stars 2 forks source link

Fails to convert .avdl file to either .avsc or .avpr file #166

Closed q3769-patientpoint closed 3 months ago

q3769-patientpoint commented 3 months ago

Description

Simple won't convert from .avdl to anything

To Reproduce

Steps to reproduce the behaviour:

  1. Start with a valid .avdl file (e.g. one generated from an existing/valid .avsc file)
  2. Try 2.1. either: Refactor -> Convert Avro IDL to Avro Protocol 2.2. or: Refactor -> Convert Avro IDL to Avro Schmema
  3. Click "Save" when asked.

Expected behaviour

Result in newly generated .avpr or .avsc file.

Screenshots

image

image

Versions: IntelliJ IDEA 2024.2.0.2 (Ultimate Edition) Build #IU-242.20224.419, built on August 19, 2024

Additional context

This should be some regression bug. It used to work.

opwvhk commented 3 months ago

Thank you for this detailed bug report!

For my understanding, it's easier to split this, as this report describes two bugs:

  1. the implicit assumption that a .avdl file always contains a protocol (this is no longer true)
  2. the failure to create a .avsc file

I've created issues #168 and #169 to track both of them.

opwvhk commented 3 months ago

Closing this issue now, as both bugs are tracked (and will be fixed) separately.