ContextMapper / context-mapper-dsl

ContextMapper DSL: A Domain-specific Language for Context Mapping & Service Decomposition
https://contextmapper.org/
Apache License 2.0
215 stars 28 forks source link

char to hex conversion breaking in VScode ContextMapper plugin... #345

Closed sharvar closed 6 months ago

sharvar commented 11 months ago

About the bug Getting below error when trying to cut services using 'Propose New Service Cut' in VScode using contextMapper extension.

"Error occurred: The project directory '\c%3A\Users\149874\Downloads\service_cutter' does not exist!"

Actual path from where .cml file is opened in VScode is mentioned below. Looks like ContexMapper converts between char and hex and it is breaking in between. c:\Users\149874\Downloads\service_cutter\ All other commands like - 'Generate Service Cutter Input' are working except 'Propose New Service Cut'

To Reproduce Steps to reproduce the behavior:

  1. Open a .cml file in VScode
  2. Right click on it
  3. Click on 'Propose New Service Cut'
  4. See error

Expected behavior .cml file should have proposed services...

Input files to reproduce https://github.com/ContextMapper/context-mapper-examples/blob/master/src/main/cml/insurance-example/Insurance-Example-Stage-1.cml

IDE and Plugin (please complete the following information):

stefan-ka commented 10 months ago

Hi @sharvar Thanks for reporting the issue! Will try to have a look at it as soon as I find the time... ;) Best regards, Stefan

stefan-ka commented 6 months ago

Unfortunately we had to disable the Service Cutter integration in Context Mapper for now: https://contextmapper.org/news/2023/11/24/v6.10.0-released/

I'll close this one for now, as we have to re-test all Service Cutter features anyway - in case we re-integrate it.