Export Draw IO (#1718)
Hello,
Exporting a diagram to Draw IO rises an exception :
SoftwareIdeasModeler.Core.CommandProcessing.CommandException: Exception during execution the command: ExportToDrawio ---> System.IndexOutOfRangeException: L'index se trouve en dehors des limites du tableau.
à System.Text.StringBuilder.get_Chars(Int32 index)
à SoftwareIdeasModeler.Core.Exporting.Drawio.DrawioExporter.GetStyleDefinition(IConcreteDiagramElement element)
à SoftwareIdeasModeler.Core.Exporting.Drawio.DrawioExporter.ExportElement(XmlTextWriter xw, IConcreteDiagramElement element)
à SoftwareIdeasModeler.Core.Exporting.Drawio.DrawioExporter.ExportDiagramContent(Diagram diagram)
à SoftwareIdeasModeler.Core.Exporting.Drawio.DrawioExporter.ExportDiagram(XmlTextWriter xw, Diagram diagram)
à SoftwareIdeasModeler.Core.Exporting.Drawio.DrawioExporter.Export(String filename)
à SoftwareIdeasModeler.Actions.ExportProjectToDrawioAction.PerformAction()
à SoftwareIdeasModeler.Core.CommandProcessing.ApplicationAction.Perform()
à SoftwareIdeasModeler.Core.CommandProcessing.ApplicationCommandProcessor.Execute(UnitOfWork unitOfWork, CommandDefinition commandDefinition, ActionCallback actionCallback, Object callbackTag, Boolean calledFromAnotherAction, CommandArgument[] arguments)
--- Fin de la trace de la pile d'exception interne ---
à SoftwareIdeasModeler.Core.CommandProcessing.ApplicationCommandProcessor.Execute(UnitOfWork unitOfWork, CommandDefinition commandDefinition, ActionCallback actionCallback, Object callbackTag, Boolean calledFromAnotherAction, CommandArgument[] arguments)
à SoftwareIdeasModeler.Core.CommandProcessing.ApplicationCommandProcessor.Execute(CommandDefinition commandDefinition, Func`1 argumentRetriever, CommandArgument[] arguments)
à SoftwareIdeasModeler.MainForm.ribbonBar_RibbonMenuItemClick(Object sender, RibbonMenuItemEventArgs e)
à SoftwareIdeas.Ribbon.RibbonControl.RibbonPage.OnRibbonMenuItemClick(RibbonMenuItemEventArgs e)
à SoftwareIdeas.Ribbon.RibbonControl.RibbonPageMenu.OnRibbonMenuItemClick(RibbonMenuItemEventArgs e)
à SoftwareIdeas.Ribbon.RibbonControl.RibbonPageMenu.OnMouseDown(MouseEventArgs e)
à System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
à System.Windows.Forms.Control.WndProc(Message& m)
à System.Windows.Forms.UserControl.WndProc(Message& m)
à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
OF=SoftwareIdeasModeler.MainForm
LastCmds=
[0]: SoftwareIdeasModeler.Core.Commands.Renaming.RenameProjectItemCommand; SoftwareIdeasModeler.Core.Commands.Renaming.RenameProjectItemCommand
OF=SoftwareIdeasModeler.MainForm
LastCmds=
[0]: SoftwareIdeasModeler.Core.Commands.AddDiagramElementsCommand; SoftwareIdeasModeler.Core.Commands.AddDiagramElementsCommand
[1]: SoftwareIdeasModeler.Core.Commands.AddDiagramElementsCommand; SoftwareIdeasModeler.Core.Commands.AddDiagramElementsCommand
[2]: SoftwareIdeasModeler.Core.Commands.AddDiagramElementsCommand; SoftwareIdeasModeler.Core.Commands.AddDiagramElementsCommand
[3]: SoftwareIdeasModeler.Core.Commands.AddDiagramElementsCommand; SoftwareIdeasModeler.Core.Commands.AddDiagramElementsCommand
[4]: SoftwareIdeasModeler.Core.Commands.AddDiagramElementsCommand; SoftwareIdeasModeler.Core.Commands.AddDiagramElementsCommand
I can send the simp file if necessary.
Best Regards
Laurent
Dusan Rodina - softwareideas.net 12 January 2023 16:24:05
Hello,
Please try the latest version 13.87. It shoud be fixed there.