GNOME Bugzilla – Bug 338336
UML method query flag not loaded
Last modified: 2006-07-15 17:04:39 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:
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.
Created attachment 64119 [details] [review] This should fix the loading of the query flag
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
to remove "0.95-pre7" I need to shuffle even closed bug to a different version ...