Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot save converted diagram #1122

Closed
yanavasileva opened this issue Jan 18, 2019 · 5 comments
Closed

Cannot save converted diagram #1122

yanavasileva opened this issue Jan 18, 2019 · 5 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@yanavasileva
Copy link
Member

yanavasileva commented Jan 18, 2019

Describe the Bug

I opened an old diagram with activity namespace, the Modeler ask it if I want to convert to camunda namespace. After I agreed, I am not able to save this diagram.

Diagram

<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:activiti="http://activiti.org/bpmn" id="_tWMcIPj6EeKFSL_7EmNQeA" targetNamespace="http://activiti.org/bpmn" exporter="Camunda Modeler" exporterVersion="3.0.0-0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  <bpmn2:process id="variableProcess" isExecutable="true">
    <bpmn2:startEvent id="StartEvent_1" name="Start Event" />
  </bpmn2:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="variableProcess">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_10" bpmnElement="StartEvent_1">
        <dc:Bounds x="190" y="180" width="36" height="36" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>

Steps to Reproduce

Steps to reproduce the behavior:

  1. Open the diagram
  2. Agree to convert to camunda namespace
  3. Try to save the diagram

Expected Behavior

The diagram is saved successfully.

Environment

  • OS: Windows 10
  • Camunda Modeler Version: 3.0.0-0

Traces

App App#triggerAction show-dialog {type: "warning", title: "Deprecated <activiti> namespace detected", buttons: Array(2), message: "Would you like to convert your diagram to the <camunda> namespace?", detail: "This will allow you to maintain execution related …Camunda BPM versions 7.4.0, 7.3.3, 7.2.6 onwards."} +5s
browser.js:183 AppParent trigger action +9s check-file-changed undefined
browser.js:183 App App#triggerAction check-file-changed undefined +4s
browser.js:183 AppParent workspace saved +340ms {files: Array(2), activeFile: -1, layout: {…}, endpoints: Array(1)}
browser.js:183 AppParent trigger action +9s save null
browser.js:183 App App#triggerAction save null +9s
@yanavasileva yanavasileva changed the title Cannot save "broken" diagram Cannot save converted diagram Jan 18, 2019
@philippfromme
Copy link
Contributor

What do you mean by not being able to save the diagram? Nothing happens?

@yanavasileva
Copy link
Member Author

Yes, nothing happens, no pop up shows where do I want to save it.

@philippfromme
Copy link
Contributor

Alright, I can reproduce it. Thank you for reporting! 😉

@philippfromme philippfromme added bug Something isn't working backlog Queued in backlog ready Ready to be worked on and removed backlog Queued in backlog labels Jan 21, 2019
@nikku nikku added this to the M27 milestone Jan 21, 2019
@ghost ghost assigned barmac Jan 22, 2019
@ghost ghost added in progress Currently worked on and removed ready Ready to be worked on labels Jan 22, 2019
@barmac
Copy link
Collaborator

barmac commented Jan 22, 2019

Related #403

@nikku
Copy link
Member

nikku commented Jan 23, 2019

Closed via #1133.

@nikku nikku closed this as completed Jan 23, 2019
@ghost ghost removed the needs review Review pending label Jan 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants