question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

repeatTableRow does not replace expressions

See original GitHub issue

I’ve got a problem using repeatTableRow in my document. Here’s what I setup: image

While my object looks like this: image

The dto in the list is build like this: image

However when I generate the document, I do get the following errors on the console: Reason: EL1008E: Property or field 'baureihe' cannot be found on object of type 'FileExportAuditorDto' - maybe not public or not valid?. Set log level to TRACE to view Stacktrace.

Reason: EL1008E: Property or field 'menge' cannot be found on object of type 'FileExportAuditorDto' - maybe not public or not valid?. Set log level to TRACE to view Stacktrace.

Reason: EL1008E: Property or field 'budget' cannot be found on object of type 'FileExportAuditorDto' - maybe not public or not valid?. Set log level to TRACE to view Stacktrace.

Reason: EL1008E: Property or field 'gesamtBudget' cannot be found on object of type 'FileExportAuditorDto' - maybe not public or not valid?. Set log level to TRACE to view Stacktrace.

Seemingly the library tries to resolve baureihe, menge, budget and gesamtBudget on the main object, not on the dto I passed in as a list.

Did I miss some configuration or what else could be the issue?

Edit: From the TRACE output it looks like the comment is processed once everything else has been filled with values. Could that be the cause? Expression ${gesamtBudget} could not be resolved against context root of type class FileExportAuditorDto. Reason: EL1008E: Property or field 'gesamtBudget' cannot be found on object of type 'FileExportAuditorDto' - maybe not public or not valid?. Set log level to TRACE to view Stacktrace.

Comment 'repeatTableRow(baureiheBudgetMengeList)' has been successfully processed by a comment processor.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
lujopcommented, Jan 4, 2019

Did you use in combination with leaveEmptyOnExpressionError? I’ve detected a bug when you use repeatTableRow with that option and will publish a PR in the next hours

1reaction
lujopcommented, Jan 4, 2019

Loot at that commit I will try to do a PR today or in the nexts days as branch is not ready to merge now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Insert a repeating table - Microsoft Support
The footer row doesn't appear in the repeating table by default. To turn the footer row on, select the Include footer check box...
Read more >
Inconsistent Repeating of a Table Header Row (Microsoft Word)
It is possible to set all rows in the table to be header rows, but if you do, Word will choke and not...
Read more >
How to remove repeated headers in ssrs 2008 - Stack Overflow
I check Tablix properties and see "Repeat header..." and "Keep header..." options are all unchecked. Note that the table is grouped by Row: ......
Read more >
Overview of the SQL REPLACE function - SQLShack
REPLACEment : REPLACEs the specified string or character value of the given expression. Note: The SQL REPLACE function performs comparisons ...
Read more >
Using GENERATE and ROW instead of ADDCOLUMNS in DAX
As long as you do not repeat the same expression multiple times, there are no differences in performance between the last two queries....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found