https://bugs.kde.org/show_bug.cgi?id=363582

--- Comment #28 from Oliver Kellogg <okell...@users.sourceforge.net> ---
Git commit 74abf217331b4ce7b745f5ec0ba3453f7809ffc7 by Oliver Kellogg.
Committed on 13/11/2020 at 20:48.
Pushed by okellogg into branch 'master'.

Followup to commit 776c2ea : Various fixes for writing of XMI

umbrello/umldoc.cpp
- In function saveToXMI1 reenable call to UMLListView::saveToXMI1 and
  CodeGenerator::saveToXMI1.

umbrello/uml1model/classifier.cpp
- In function saveToXMI1, avoid writing the <UML:Classifier.feature>
  element if both attList and opList are empty.

umbrello/umlwidgets/associationwidgetrole.{h,cpp}
- At function saveToXMI1 remove argument 'suffix'.

umbrello/umlwidgets/associationwidgetrole.cpp
- In function saveToXMI1 remove writing of attributes index[ab] and
  totalcount[ab].
  Writing of attributes shall not be mixed with writing the subelements
  multiplicityWidget/roleWidget/changeabilityWidget because
  attributes may not follow subelements (in particular, attributes of
  role B may not follow subelements of role A).

umbrello/umlwidgets/associationwidget.cpp
- In function saveToXMI1:
  - Postpone saving of m_nameWidget and m_associationLine until after
    all attributes have been written.
    Reason: Subelements may not precede attributes.
  - Save attributes of m_role[A] and m_role[B].  Reason: Their saving
    has been removed from AssociationWidgetRole::saveToXMI1.

M  +13   -11   umbrello/uml1model/classifier.cpp
M  +2    -2    umbrello/umldoc.cpp
M  +21   -8    umbrello/umlwidgets/associationwidget.cpp
M  +4    -4    umbrello/umlwidgets/associationwidgetrole.cpp
M  +1    -1    umbrello/umlwidgets/associationwidgetrole.h

https://invent.kde.org/sdk/umbrello/commit/74abf217331b4ce7b745f5ec0ba3453f7809ffc7

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to