Hi Jan,
I am not sure why this happens. On several pages I (suddenly) receive such error/warning messages, but I have not even a clue where I am asking AGHelper to do anything with these fields (Aus FA, Ist verstorben, Ist aktiv). Interesting: It's always three (3) warnings that are show. On a page they are always the same three, but on a different page, it's three but with different names.
Writing this, I think I have found the reason (but if so, I would think it's a problem in the AGHelper):
The fields named in the warning are defined in AG as dropdown, referencing a value from a different table - but - readonly. I use the dropdown to visualize the information to the enduser, but fill the contents of the database field depending on some other criteria (using after_insert hooks).
resulting in the application in this:
Do you have any suggestion how to get rid of the warnings?
Thanks
Olaf
AGHelper: why "label not found for field" error
AGHelper: why "label not found for field" error
Some postings I was involved, you might find useful:
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Re: AGHelper: why "label not found for field" error
I've reviewed the AGH code. Those messages appear after we've unsuccessfully tried to find corresponding controls (editable or static) for each label.
So, indeed, this may be a scenario where a label exists but corresponding control cannot be found.
from your screenshot I can see those fields are lookups, displayed as readonly (static) text ("nein"), no dropdown control. I need to build a testing app to reproduce this scenario. Stay tuned...
So, indeed, this may be a scenario where a label exists but corresponding control cannot be found.
from your screenshot I can see those fields are lookups, displayed as readonly (static) text ("nein"), no dropdown control. I need to build a testing app to reproduce this scenario. Stay tuned...
Kind regards,
Jan
AppGini 26.12 + all AppGini Helper tools
My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI
My Company Website
www.bizzworxx.de
My AppGini Blog
appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
Jan
<js /> AppGini 26.12 + all AppGini Helper tools
My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI
My Company Website
www.bizzworxx.de
My AppGini Blog
appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code] blocks for better readability Re: AGHelper: why "label not found for field" error
RE: your question
For example in
Possible values:
NOTE There are certain warnings which cannot be supressed by changing DebugLevel because they are too important to ignore.
Do you have any suggestion how to get rid of the warnings?
Code: Select all
AppGiniHelper.setDebug(DebugLevel.Error)
hooks/header-extras.php:Code: Select all
<script>
AppGiniHelper.setDebug(DebugLevel.Error);
</script>
Code: Select all
enum DebugLevel {
None = 0,
Debug = 1,
Info = 2,
Warning = 3,
Error = 4
}Kind regards,
Jan
AppGini 26.12 + all AppGini Helper tools
My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI
My Company Website
www.bizzworxx.de
My AppGini Blog
appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
Jan
<js /> AppGini 26.12 + all AppGini Helper tools
My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI
My Company Website
www.bizzworxx.de
My AppGini Blog
appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code] blocks for better readability Re: AGHelper: why "label not found for field" error
Hi Jan,
thanks for looking into it and the hint to the debug messages.
Checking your office-tool ... it's getting real nice and interesting.
Olaf
thanks for looking into it and the hint to the debug messages.
Checking your office-tool ... it's getting real nice and interesting.
Olaf
Some postings I was involved, you might find useful:
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Multi Path Upload (MPU) / dynamic upload folder; SingleEdit - Prevent concurrent edits on records; Field Permissions; Column-Value-Based-Permissions; Custom (error) message; Audit Log; Backup your database; Two Factor Authentication; Block brute force (failed) logins; Add 2nd SAVE CHANGES button
Re: AGHelper: why "label not found for field" error
Reproduced it and extended the control-search-algorithm to now find static controls for labels, not having a direct field-identifier.
There will be a new version 20260910-nn later today.
There will be a new version 20260910-nn later today.
- Custumers, having a valid (=not expired) license, will get the update for free within the 1-year-free-updates license.
Send your order number by email to [email protected] and I will send a download link. - Others may consider ordering a fresh license in our fastspring shop.
After purchase I will send a download link for latest version.
Kind regards,
Jan
AppGini 26.12 + all AppGini Helper tools
My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI
My Company Website
www.bizzworxx.de
My AppGini Blog
appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
Jan
<js /> AppGini 26.12 + all AppGini Helper tools
My Side Project
www.office-app.com | Coding Sample | Changelog | Blog | Top 20 Features
Integrated Statemachine Workflow • KANBAN • Audit Trail • Integrated API • Model Driven • Field-Level permission • Modern UI
My Company Website
www.bizzworxx.de
My AppGini Blog
appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code] blocks for better readability
