After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 338336 - UML method query flag not loaded
UML method query flag not loaded
Status: RESOLVED FIXED
Product: dia
Classification: Other
Component: import
0.94
Other All
: Normal normal
: 0.95.1
Assigned To: Dia maintainers
Dia maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-13 11:07 UTC by William FINK
Modified: 2006-07-15 17:04 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample test file for this problem (7.04 KB, application/xml)
2006-04-20 10:34 UTC, William FINK
  Details
This should fix the loading of the query flag (812 bytes, patch)
2006-04-22 21:59 UTC, Peter Allin
committed Details | Review

Description William FINK 2006-04-13 11:07:06 UTC
Please describe the problem:
The query flag of UML methods is not loaded from the dia file.

Steps to reproduce:
1. Create a new diagram with a simple UML class
2. Add a method with the 'Query' check box on
3. Save the diagram and close it
4. Re-open it

Actual results:
The 'Query' flag is no more present.
But if I look in the .dia file, the xml tag is correct (name='query', val='true').

Expected results:
The 'Query' flag should be reloaded correctly.

Does this happen every time?
Yes

Other information:
Comment 1 William FINK 2006-04-20 10:34:03 UTC
Created attachment 63934 [details]
Sample test file for this problem

This dia xml file has a query flag set on the 'test' method (line 191).
But when loaded in dia, the flag is not set on the diagram.
If saved again, the query flag will disapear from the file.
Comment 2 Peter Allin 2006-04-22 21:59:12 UTC
Created attachment 64119 [details] [review]
This should fix the loading of the query flag
Comment 3 Hans Breuer 2006-05-13 21:55:08 UTC
Thanks, commited.

2006-04-02  Hans Breuer  <hans@breuer.org>

	[ also applied to branch dia-0-95 ]
	* objects/UML/umloperationc: add "query" to umloperation_offsets.
	Patch from Peter Allin, fixes bug #338336
Comment 4 Hans Breuer 2006-07-15 17:04:39 UTC
to remove "0.95-pre7" I need to shuffle even closed bug to a different version ...