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

            Bug ID: 401290
           Summary: Regression on import of Java classes with methods
                    using varargs
           Product: umbrello
           Version: Git
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: importer
          Assignee: umbrello-de...@kde.org
          Reporter: okell...@users.sourceforge.net
  Target Milestone: ---

Created attachment 116456
  --> https://bugs.kde.org/attachment.cgi?id=116456&action=edit
Java classes that have methods with variable arguments

SUMMARY
Regression on import of Java classes with methods using varargs

STEPS TO REPRODUCE
1. cd to your preferred directory for source code to be imported
2. unpack the attachment: tar xvzf java_methods_with_varargs.tar.gz
3. in umbrello, select Code -> Active Language -> Java
4. in umbrello, select Code -> Import from Directory...
5. in the "Select directory to import" dialog, navigate to the top
   level directory ("com") created by unpacking the attachment and press OK

OBSERVED RESULT
1. In the course of the import, several times a dialog will pop up:
   > An object with the name Byte...
   > already exists in the Logical View.
   > Please enter a new name:
   > [new_class]
   > dito
   > [new_class_1]
2. When import is finished, a class "Byte..." will appear directly in the
   Logical View, along with the additional artifact classes (in this case,
   new_class and new_class_1)

EXPECTED RESULT
In version 2.21.70, no such dialog appeared, and
no unwanted artifacts were created.
The type "Byte..." appeared in the Datatypes folder.

I am using 2.26.3 with KF5 18.08.3 and Qt 5.11.

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

Reply via email to