Menu

#34 Import XML does not work

closed-fixed
Bro
8
2007-06-17
2007-05-09
No

Forum thread:
http://sourceforge.net/forum/forum.php?thread_id=1729560&forum_id=285354

When I try to Import an XML, the import function alerts "Please specify a file path." when I click "Add movies" and nothing happens.
What "file path" do I need? The input field contains an existing XML file.

about the import: i looked into the source and it seems there should be a fourth tab "extreme manager" or something. But I only have three import tabs (txt, excel and XML). As the xml-tab is queried by number and not by ID, I suppose this is the reason for XML Import not working for me.

Also, the edit field shows the old "txt"-file (1st tab) on the (3rd) xml tab, but shouldn't this be a separate config.ini-entry for "lastxmlimportfile"?

Matthias

Discussion

  • Matthias Ihmig

    Matthias Ihmig - 2007-05-09
    • priority: 5 --> 8
     
  • Matthias Ihmig

    Matthias Ihmig - 2007-05-25

    Logged In: YES
    user_id=921651
    Originator: YES

    Bro, can you give more information about this issue? Is there supposed to be a fourth tab? If so, why would it not show up in my case?

    Matthias

     
  • Matthias Ihmig

    Matthias Ihmig - 2007-05-28

    Logged In: YES
    user_id=921651
    Originator: YES

    I looked into this a little more and was quite surprised to find that the "Import Extreme Manager" was only added in Windows.

    What is the reason for that?

    If this is really required, it is necessary to change all tab references using numbers (e.g. to access the ImportXML parts) to make Xml work.

    For now, I just commented out the "if (..Windows())" line in DialogImport to make XmlImport work. Can I do this or is this a problem? There was no comment in the code about that.

    I also added another config.ini entry for the Xml file editfield -> now in CVS.

    Matthias

     
  • Bro

    Bro - 2007-06-03
    • labels: --> MovieManager
    • assigned_to: nobody --> bro3
    • status: open --> open-fixed
     
  • Bro

    Bro - 2007-06-03

    Logged In: YES
    user_id=840074
    Originator: NO

    I'm not sure if I answered this by mail, but I'll write it here anyways.

    Extreme Movie manager uses MS Access and is therefore only supported on Windows.
    The different tabs are indexed by the JTabbedPane.
    Instead if dealing with the integers directly the class ModelImportSettings now contains the following variables:
    public final static int IMPORT_TEXT = 0;
    public final static int IMPORT_EXCEL = 1;
    public final static int IMPORT_XML = 2;
    public final static int IMPORT_CSV = 3;
    public final static int IMPORT_EXTREME = 4;

    Current CVS should work as expected.

    Bro

     
  • Matthias Ihmig

    Matthias Ihmig - 2007-06-17
    • status: open-fixed --> closed-fixed
     
  • Matthias Ihmig

    Matthias Ihmig - 2007-06-17

    Logged In: YES
    user_id=921651
    Originator: YES

    Tabs shows up now, so I'll close this bug.
    See other report for detailed issues on XML ;-)

    Thanks,

    Matthias

     
Auth0 Logo