Issue 127725 - Wrong XML attribute "table:table-name", should be "table:database-table-name"
Summary: Wrong XML attribute "table:table-name", should be "table:database-table-name"
Status: UNCONFIRMED
Alias: None
Product: Calc
Classification: Application
Component: editing (show other issues)
Version: 4.1.5
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-04 12:30 UTC by Andreas Säger
Modified: 2018-03-04 12:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Andreas Säger 2018-03-04 12:30:36 UTC
When you drag the Bibliography.biblio table into a sheet, you get a database-range entry in content.xml

<table:database-ranges>
    <table:database-range table:name="Import1" table:target-range-address="Sheet1.A1:Sheet1.AE60">
        <table:database-source-table table:database-name="Bibliography" table:table-name="biblio"/>
    </table:database-range>
</table:database-ranges>

LibreOffice creates this:
<table:database-ranges>
    <table:database-range table:name="Import1" table:target-range-address="Sheet1.A1:Sheet1.AE21">
        <table:database-source-table table:database-name="Bibliography" table:database-table-name="biblio"/>
    </table:database-range>
</table:database-ranges>

Apart from the range-address, it refers to a "table:database-table-name" instead of a "table:table-name".

"table:database-table-name" is the attribute which is documented in OpenDocument-v1.2.

LibreOffice handles the incorrect attribute and changes it to the correct one. 
OpenOffice does not handle the correct attribute and complains about a empty table name when refreshing the import range via menu:Data>Refresh.