Hi everyone,

I've just started using Joget (community edition) - testing V4 beta (4.0-SNAPSHOT - build 1247).

I've created a basic datalist and added the delete action to the Row Action column.  In the property editor I selected the form associated with the current datalist.

In the published app - the delete link does not delete the row.  The confirmation message appears, the row checkbox is selected, the page flickers but the row is not deleted.

Is this a bug in v4 beta or have I done something wrong with my installation?

Any help is appreciated!

Sonya

  • No labels

10 Comments

  1. What error are you getting? Sample app?

    1. Hi Bastiana,

      Thanks for your response.

      The delete action only works when added as a footer button to a datalist.  When I add the delete action to a row (custom app or sample apps) then the page flickers (reloads) but the row is not deleted.

      There are no error messages displayed in the page - the datalist simply re-loads without deleting a row.

      Is there somewhere else I can look for an error message?

      Thanks again,

      Sonya

      1. Show me some screenshots of your configuration and see.

  2. I'm getting the same.  it simply reloads instead of deleting the record

  3. I get the same issue. The page just reloads. It/s the same for all the datalists I've created based on forms. 

    Attached is a sample data list definition..

       

     <datalistDefinition>
    
             <id>listSIC</id>
    
             <appId>CNA01</appId>
    
             <appVersion>2</appVersion>
    
             <name>SIC Code Listing</name>
    
             <description>SIC Code Listing</description>
    
             <json>{"id":"listSIC","name":"SIC Code Listing","pageSize":"50","order":"2","orderBy":"fSIC","binder":{"className":"org.joget.apps.datalist.lib.FormRowDataListBinder","properties":{"formDefId":"fSICCode","extraCondition":""}},"columns":[
    
    {&quot;id&quot;:&quot;column_0&quot;,&quot;label&quot;:&quot;Market:&quot;,&quot;name&quot;:&quot;fmarket&quot;}
    ,
    
    {&quot;id&quot;:&quot;column_1&quot;,&quot;label&quot;:&quot;SIC Code:&quot;,&quot;name&quot;:&quot;fSIC&quot;}
    ,
    
    {&quot;id&quot;:&quot;column_2&quot;,&quot;label&quot;:&quot;SIC Description:&quot;,&quot;name&quot;:&quot;fSicDesc&quot;}
    ],"rowActions":[{"name":"Data List Hyperlink Action","className":"org.joget.apps.datalist.lib.HyperlinkDataListAction","label":"Hyperlink","type":"text","id":"rowAction_0","properties":{"href":"","target":"_self","label":"Edit","confirmation":"","visible":""}},{"name":"Form Row Delete Action","className":"org.joget.apps.datalist.lib.FormRowDeleteDataListAction","label":"Delete","type":"text","id":"rowAction_1","properties":{"label":"Delete","formDefId":"fSICCode","confirmation":"Are you sure you want to delete a auto-declination SIC Code"}}],"actions":[],"filters":[
    
    {&quot;id&quot;:&quot;filter_1&quot;,&quot;name&quot;:&quot;fSicDesc&quot;,&quot;label&quot;:&quot;SIC Description:&quot;}
    ,
    
    {&quot;id&quot;:&quot;filter_0&quot;,&quot;name&quot;:&quot;fSIC&quot;,&quot;label&quot;:&quot;SIC Code:&quot;}
    ]}</json>
    
             <dateCreated class="java.sql.Timestamp">2014-08-21 19:01:32.0 GMT</dateCreated>
    
             <dateModified class="java.sql.Timestamp">2014-08-21 19:01:32.0 GMT</dateModified>
    
          </datalistDefinition>
    
        <datalistDefinition>
             <id>listSIC</id>
             <appId>CNA01</appId>
             <appVersion>2</appVersion>
             <name>SIC Code Listing</name>
             <description>SIC Code Listing</description>
             <json>{"id":"listSIC","name":"SIC Code Listing","pageSize":"50","order":"2","orderBy":"fSIC","binder":{"className":"org.joget.apps.datalist.lib.FormRowDataListBinder","properties":{"formDefId":"fSICCode","extraCondition":""}},"columns":[
    
    {&quot;id&quot;:&quot;column_0&quot;,&quot;label&quot;:&quot;Market:&quot;,&quot;name&quot;:&quot;fmarket&quot;}
    ,
    
    {&quot;id&quot;:&quot;column_1&quot;,&quot;label&quot;:&quot;SIC Code:&quot;,&quot;name&quot;:&quot;fSIC&quot;}
    ,
    
    {&quot;id&quot;:&quot;column_2&quot;,&quot;label&quot;:&quot;SIC Description:&quot;,&quot;name&quot;:&quot;fSicDesc&quot;}
    ],"rowActions":[{"name":"Data List Hyperlink Action","className":"org.joget.apps.datalist.lib.HyperlinkDataListAction","label":"Hyperlink","type":"text","id":"rowAction_0","properties":{"href":"","target":"_self","label":"Edit","confirmation":"","visible":""}},{"name":"Form Row Delete Action","className":"org.joget.apps.datalist.lib.FormRowDeleteDataListAction","label":"Delete","type":"text","id":"rowAction_1","properties":{"label":"Delete","formDefId":"fSICCode","confirmation":"Are you sure you want to delete a auto-declination SIC Code"}}],"actions":[],"filters":[
    
    {&quot;id&quot;:&quot;filter_1&quot;,&quot;name&quot;:&quot;fSicDesc&quot;,&quot;label&quot;:&quot;SIC Description:&quot;}
    ,
    
    {&quot;id&quot;:&quot;filter_0&quot;,&quot;name&quot;:&quot;fSIC&quot;,&quot;label&quot;:&quot;SIC Code:&quot;}
    ]}</json>
             <dateCreated>2014-08-21 19:01:32.0 GMT</dateCreated>
             <dateModified>2014-08-21 19:01:32.0 GMT</dateModified>
          </datalistDefinition>
    
    1. Have you configured the Delete action to point to the same form where you retrieve the dataset from?

      1. Same problem. Already made sure the datalist source and delete link have been configured to the same form:

        1. Hi,

          Which version are you using? This is a known issue in some older versions and would have been resolved in the latest version http://www.joget.org/download/

          Thanks!

          1. I see. I am using version 4.0.2 which I downloaded in August, and I find the new stable version is 4.0.8.

            I can just install the 4.0.8 version over 4.0.2? 4

            1. Yup, you can, either by using the installer or by manually replacing the WAR files:

              1. Stop Joget.
              2. Delete "jw" folder, "jwdesigner" folder, "jwdesigner.war" & "jw.war" in your "[Joget Installation Directory]/apache-tomcat-7.0.52/webapps".
              3. Place the downloaded "jw.war" and "jwdesigner.war" in "[Joget Installation Directory]/apache-tomcat-7.0.52/webapps".
              4. Delete "jw" and "jwdesigner" folder in your "[Joget Installation Directory]/apache-tomcat-7.0.52/work/Catalina/localhost".
              5. Start Joget