Bug 255424 - documentation not saved for entity in properties dialog (sql diagram)
Summary: documentation not saved for entity in properties dialog (sql diagram)
Status: RESOLVED FIXED
Alias: None
Product: umbrello
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Umbrello Development Group
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-27 18:44 UTC by Liviu Vasut
Modified: 2014-10-27 09:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.14.2
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Liviu Vasut 2010-10-27 18:44:50 UTC
Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

documentation is only saved when introduced in the small documentation widget on the lower left corner of the interface.

Reproducible: Always

Steps to Reproduce:
-create an entity
-right click > properties
-enter some text in the Documentation field
-click Ok or Apply then Ok
-reopen the properties window - the text entered is not there

Actual Results:  
the text entered is not saved.

Expected Results:  
the text entered should have been saved

I tried entering text in the documentation widget on the lower left corner of the interface when an entity was selected and the text was saved. The same text was visible after that in the documentation field of the properties window but I was not able to modify it there.
Comment 1 Ralf Habacker 2014-02-16 20:31:55 UTC
looks similar to bug 331215
Comment 2 Felix Rohrbach 2014-09-28 21:25:43 UTC
Git commit 864832c0d310197c8b0cc8c941fdefec27d923e7 by Felix Rohrbach.
Committed on 28/09/2014 at 21:17.
Pushed by felixr into branch 'master'.

Fix creation of documentation for UML-Components

This fixes two issues connected to the DocWindow.

1. When DocWindow::showDocumentation is called, it checks whether it
is called with the same UMLObject/Scene/... But it missed that
UMLObjects and UMLScenes might be passed to the function embedded in a
widget.

2. The overwrite parameter of DocWindow::showDocumentation did the
opposite of what the documentation said. I changed it to match the
documentation and adjusted a few functions using it wrong.
Related: bug 331215
FIXED-IN: 4.14.2
REVIEW: 120369

M  +34   -15   umbrello/docwindow.cpp
M  +2    -2    umbrello/umlscene.cpp
M  +1    -0    umbrello/widgets/associationwidget.cpp
M  +1    -1    umbrello/widgets/notewidget.cpp

http://commits.kde.org/umbrello/864832c0d310197c8b0cc8c941fdefec27d923e7
Comment 3 Ralf Habacker 2014-10-27 09:04:44 UTC
Git commit a802474df0a660e4cf6bfdd360b6bb8a692b89ba by Ralf Habacker, on behalf of Felix Rohrbach.
Committed on 28/09/2014 at 21:17.
Pushed by habacker into branch 'master'.

Fix creation of documentation for UML-Components

This fixes two issues connected to the DocWindow.

1. When DocWindow::showDocumentation is called, it checks whether it
is called with the same UMLObject/Scene/... But it missed that
UMLObjects and UMLScenes might be passed to the function embedded in a
widget.

2. The overwrite parameter of DocWindow::showDocumentation did the
opposite of what the documentation said. I changed it to match the
documentation and adjusted a few functions using it wrong.
Related: bug 331215
FIXED-IN: 4.14.2
REVIEW: 120369

M  +34   -15   umbrello/docwindow.cpp
M  +2    -2    umbrello/umlscene.cpp
M  +1    -0    umbrello/widgets/associationwidget.cpp
M  +1    -1    umbrello/widgets/notewidget.cpp

http://commits.kde.org/umbrello/a802474df0a660e4cf6bfdd360b6bb8a692b89ba