~kubuntu-members/umbrello/4.11

Viewing all changes in revision 3943.

  • Committer: Joris Steyn
  • Date: 2014-01-01 22:04:56 UTC
  • Revision ID: git-v1:1e6e3df30e823ed76b176f03ae931c2394b10995
Better fix for attribute creation crash

Previous fix was faulty. The problem occurs when an object is looked up with an
empty name. Instead of not finding an object, umldoc can return an arbitrary
association object instead, resulting in problems in Import_Utils.

This change prevents calling Import_Utils with an empty typeName, so when an
attribute is created without specifying a type, the default behaviour of
creating a new class with Object_Factory is triggered - which handles this case
well.

BUG: 225290

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: