AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
-
- Posts: 8
- Joined: 2021-03-26 19:33
AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Example of a simple scenario:
1. Project with a table and two fields, ID and Description.
2.- Installation: inline Detail-View plugin
3.- Detail view is at the end of the list instead of inline.
Code Debugging:
The script refers to the detail-view element by "name" (name = \ "detail-view \") this worked fine in version Appgini 5.8, because the element was generated as follows: <a name = "detail view"> </a>
However, the code generated by AppGini 5.94 the element is: <div id = "detail-view"> </div>Â
It seems to me that due to this inconsistency, plugin code is not executing.
How can it be fixed?
Thank you very much in advance.
1. Project with a table and two fields, ID and Description.
2.- Installation: inline Detail-View plugin
3.- Detail view is at the end of the list instead of inline.
Code Debugging:
The script refers to the detail-view element by "name" (name = \ "detail-view \") this worked fine in version Appgini 5.8, because the element was generated as follows: <a name = "detail view"> </a>
However, the code generated by AppGini 5.94 the element is: <div id = "detail-view"> </div>Â
It seems to me that due to this inconsistency, plugin code is not executing.
How can it be fixed?
Thank you very much in advance.
- Attachments
-
- appGini5.94_SetupData.png (122.81 KiB) Viewed 4765 times
-
- tableTestIDV_Enabled.png (45.73 KiB) Viewed 4765 times
-
- IDV_Fail.png (33.97 KiB) Viewed 4765 times
-
- IDVReferDetail-ViewByName.png (151.6 KiB) Viewed 4765 times
-
- AppGInni5-94_Detail-ViewById.png (133.67 KiB) Viewed 4765 times
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Hi Alejandro,
thanks for this detailed report and the good error description.
I was able to reproduce this behaviour and already working on a solution.
thanks for this detailed report and the good error description.
I was able to reproduce this behaviour and already working on a solution.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
There is a patch available. So, if anyone else is facing the same problems with Inline-DV Plugin and AppGini 5.94 please contact me and you will receive a download link for the patched version.
Email to: [email protected]
Please send your Inline-DV-Order-Number and the email address you have used on purchase
I'm sorry for any inconvenience.
Email to: [email protected]
Please send your Inline-DV-Order-Number and the email address you have used on purchase
I'm sorry for any inconvenience.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
-
- Posts: 8
- Joined: 2021-03-26 19:33
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Thanks Jan, Inline-DV Plugin is working, but buttons to expand and collapse still do not work.
Kind regards.
Kind regards.
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Sorry, you are right. Gonna fix it and provide another update later.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
@ahernandez: I have sent a download link to you. Sorry for inconvenience!
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
@all inline-dv customers:
If anyone else is facing the same problems with Inline-DV Plugin and AppGini 5.94 please contact me and you will receive a download link for the patched version.
Email to: [email protected]
Please send your Inline-DV-Order-Number and the email address you have used on purchase
I'm sorry for any inconvenience.
If anyone else is facing the same problems with Inline-DV Plugin and AppGini 5.94 please contact me and you will receive a download link for the patched version.
Email to: [email protected]
Please send your Inline-DV-Order-Number and the email address you have used on purchase
I'm sorry for any inconvenience.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
-
- Posts: 8
- Joined: 2021-03-26 19:33
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Thanks Jan, everything working now.
Kind regards.
Kind regards.
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
An incompablity bug in AppGini Helper Inline Detail View Plugin related to AppGini Version 5.97 was reported: The detail view did not render inside but below the table view due to a change of element names/ids in AppGini's generated code, lately.
The bug has been fixed today and there will be a new version, compatible with 5.97 this month.
Stay tuned, I am going to inform you as soon as the new version will be available for download in the store.
During your "1-year free updates" period, you can download the new version for free via the fastspring download-link that you received by email when you placed your order.
The error occurs in the following versions:
AppGini Helper Inline Detail View Plugin
The bug has been fixed today and there will be a new version, compatible with 5.97 this month.
Stay tuned, I am going to inform you as soon as the new version will be available for download in the store.
During your "1-year free updates" period, you can download the new version for free via the fastspring download-link that you received by email when you placed your order.
The error occurs in the following versions:
AppGini Helper Inline Detail View Plugin
- 2019/12
- 2021/10
- > 5.94
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
-
- Posts: 8
- Joined: 2021-03-26 19:33
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Hi Jan.
Install the new version that is available for download:
AppGini Helper "Inline Detail-View" Plugin
Version 2021.07.29
Created 29.07.2021 15:49:56
© Copyright 2016-2021 bizzworxx.de - Software & IT-Beratung Wirt. Inf. BA Jan Setzer. All rights reserved.
It does not work with appGini version 5.97. It is the behavior initially described in detail.
Then install the patch:
Thank you for requesting AppGiniHelper-Inline-DV-Plugin-Patch-02-for-AppGini-5.94.
To download AppGiniHelper-Inline-DV-Plugin-Patch-02-for-AppGini-5.94 v. 2021/03/30 click the link below:
—
AppGiniHelper-Inline-DV-Plugin-Patch-02-for-AppGini-5.94 Inline-DV-Plugin-for-AppGini-5.94-002.zip (1.60 kB) ~ expire in 1 day – 31/03/2021 13:34
—
30/03/2021 13:34
And it works, but the loading message remains.
When the Pluginis not used, the message loading is displayed at the beginning and when it finishes loading it disappears.
Can you please fix the new version that is available for download in the store, including the modification so that the loading message does not show when it finishes loading?
Install the new version that is available for download:
AppGini Helper "Inline Detail-View" Plugin
Version 2021.07.29
Created 29.07.2021 15:49:56
© Copyright 2016-2021 bizzworxx.de - Software & IT-Beratung Wirt. Inf. BA Jan Setzer. All rights reserved.
It does not work with appGini version 5.97. It is the behavior initially described in detail.
Then install the patch:
Thank you for requesting AppGiniHelper-Inline-DV-Plugin-Patch-02-for-AppGini-5.94.
To download AppGiniHelper-Inline-DV-Plugin-Patch-02-for-AppGini-5.94 v. 2021/03/30 click the link below:
—
AppGiniHelper-Inline-DV-Plugin-Patch-02-for-AppGini-5.94 Inline-DV-Plugin-for-AppGini-5.94-002.zip (1.60 kB) ~ expire in 1 day – 31/03/2021 13:34
—
30/03/2021 13:34
And it works, but the loading message remains.
When the Pluginis not used, the message loading is displayed at the beginning and when it finishes loading it disappears.
Can you please fix the new version that is available for download in the store, including the modification so that the loading message does not show when it finishes loading?
- Attachments
-
- animaciónCargandoPermanece.png (20.4 KiB) Viewed 3889 times
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Hi, thanks for the detailed report.
Can you please check for any errors in console, first, which may break script execution.
Then, please send your ordernumber to [email protected]. Gonna send a download link for latest version to you.
Can you please check for any errors in console, first, which may break script execution.
Then, please send your ordernumber to [email protected]. Gonna send a download link for latest version to you.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
-
- Posts: 8
- Joined: 2021-03-26 19:33
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Hi Jan, there is another issue:
When a user has only read privileges and the, because the detail view starts for a new record and the user cannot add a new one, it shows the message: Sorry! You don't have permission to access this table. Please contact the admin. How can the message be avoided in tables that the user only has read access to?
In native Appgini it is possible with the option checked: "Display detail view in a separate page'
Gracias
Saludos cordiales.
When a user has only read privileges and the, because the detail view starts for a new record and the user cannot add a new one, it shows the message: Sorry! You don't have permission to access this table. Please contact the admin. How can the message be avoided in tables that the user only has read access to?
In native Appgini it is possible with the option checked: "Display detail view in a separate page'
Gracias
Saludos cordiales.
-
- Posts: 8
- Joined: 2021-03-26 19:33
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Hello Jan. I attach the image of the console. Hello Jan. I attach the image of the console.jsetzer wrote: ↑2021-10-26 12:20Hi, thanks for the detailed report.
Can you please check for any errors in console, first, which may break script execution.
Then, please send your ordernumber to [email protected]. Gonna send a download link for latest version to you.
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
As mentioned before (above), please send necessary info to me. Then I can send a download link to you.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
(1) AppGini 5.97 compatibility
Thanks for sending me your order information. I have sent a download link to you today.
(2) Problem with permissions
After enabling Inline-DV for a table, check hooks/TABLENAME.php file. In TABLENAME_init()-function you will the merged plugin-code. Now, using PHP, check insert-permissions for current user. If user is not allowed to insert, set
Thanks for sending me your order information. I have sent a download link to you today.
(2) Problem with permissions
After enabling Inline-DV for a table, check hooks/TABLENAME.php file. In TABLENAME_init()-function you will the merged plugin-code. Now, using PHP, check insert-permissions for current user. If user is not allowed to insert, set
$options->SeparateDV = 1;
instead of $options->SeparateDV = 0;
. That should do the trick.Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
-
- Posts: 8
- Joined: 2021-03-26 19:33
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Hi Jan, the plug in already works, thank you very much.
Apply the alterative that you told me for the security problem, SeparateDV is set to 1 prior to the initialization of the plug-in, but the message has already been sent when it reaches this initialization.
Thanks again, best regards.
Apply the alterative that you told me for the security problem, SeparateDV is set to 1 prior to the initialization of the plug-in, but the message has already been sent when it reaches this initialization.
Thanks again, best regards.
- Attachments
-
- separateDVSet1_1.png (74.34 KiB) Viewed 3773 times
-
- separateDVSet1.png (66.36 KiB) Viewed 3773 times
-
- Posts: 8
- Joined: 2021-03-26 19:33
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
Hello again Jan, another option, if the user can insert into the table the plugin works, if he does not have the privilege, the plugin does not work.
Best regards.
Best regards.
- Attachments
-
- separateDVSet1_2.png (29.92 KiB) Viewed 3771 times
-
- separateDVSet1_3.png (24.42 KiB) Viewed 3771 times
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
I am going to check the "no-insert-permission" in a testing project the next days. Stay tuned.
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools
Re: AppGiniHelper InlineDetailView Plugin 20191219-01 does not work with AppGini 5.94
(2) Problem with permissions
The init function should look like this now:
This works for me if current user's group does not habe insert permission. Without that change, there will be a red alert at the bottom. With this change, there is no alert any longer.
- In
hooks/TABLENAME.php
find theTABLENAME_init()
function.
Replace TABLENAME by your table name.
The Inline-DV Plugin has inserted some code there. - Keep the original code inserted by the plugin, then insert next three lines before returning TRUE.
- Replace TABLENAME by your table name.
Code: Select all
$canInsert = getTablePermissions("TABLENAME")["insert"];
$hasRecord = isset($_REQUEST["SelectedID"]);
if (!$canInsert && !$hasRecord) $options->SeparateDV = 1;
Code: Select all
function TABLENAME_init(&$options, $memberInfo, &$args)
{
/* Inserted by Inline-Detail-View Plugin on 2021-11-02 08:11:53 */
// DO NOT DELETE THIS LINE
require_once("plugins/inline-dv/InlineDV.php");
$options->SeparateDV = 0;
/* End of Inline-Detail-View Plugin code */
// insert next three lines
$canInsert = getTablePermissions("TABLENAME")["insert"];
$hasRecord = isset($_REQUEST["SelectedID"]);
if (!$canInsert && !$hasRecord) $options->SeparateDV = 1;
return TRUE;
}
Kind regards,
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
AppGini 24.10 Revision 1579 + all AppGini Helper tools
<js />
My AppGini Blog:
https://appgini.bizzworxx.de/blog
You can help us helping you:
Please always put code fragments inside
[code]...[/code]
blocks for better readabilityAppGini 24.10 Revision 1579 + all AppGini Helper tools