<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - Report editor Add Fields bug when Report is based on select all query from an Alias field"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=113884">113884</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Report editor Add Fields bug when Report is based on select all query from an Alias field
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>5.3.3.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Base
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>BridgeportContractor@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="http://bugs.documentfoundation.org/attachment.cgi?id=137814" name="attach_137814" title="Add Fields not working when Report based on a select all query from an Alias">attachment 137814</a> <a href="http://bugs.documentfoundation.org/attachment.cgi?id=137814&action=edit" title="Add Fields not working when Report based on a select all query from an Alias">[details]</a></span>
Add Fields not working when Report based on a select all query from an Alias
Report editor does not always correctly find list of field names when Data
Content is a query using "*" (select all fields) and based on an underlying
query which declares a field name alias.
1) Open the attached demonstration data base,
2) Open Report then Edit 'A report',
3) Open Add Field,
Bug: Notice that the available fields are: ID and Txt.
Expected them to be: ID and Txt-Alias.
(The Data Content of 'A report' is Query_Query_Table1. Query_Query_Table1 is
just a "*" select of Query_Table1.)
If you edit this report and change the Data Content to Query_Table1, then Add
Field correctly shows the available fields as: ID and Txt-Alias.
Workaround: If you Copy Query_Query_Table1 to Query_Query_Table2, then Edit the
report, and change the Data Content to Query_Query_Table2, then Add Field
correctly shows the list of fields as ID and Txt-Alias.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>