xwikisas / application-diagram

Create various types of diagrams using draw.io
GNU Lesser General Public License v2.1
0 stars 5 forks source link

Diagram cannot be properly integrated with Change Request #253

Closed surli closed 5 months ago

surli commented 5 months ago

There's a few integration problems between Diagram and Change Request extension: one of them is the fact that when saving a diagram, attachments upload are handled in a xwiki:actions:beforeSave event handler which is assuming that a standard XWiki save button is clicked, while in case of CR it's not the case. It can be fixed by actually using the actually target of the event instead of trying to guess the clicked button.