• Welcome to KonaKart Community Forum. Please login or sign up.
 

Delete User in Konakart Admin portlet

Started by adrianrm, November 19, 2012, 06:21:21 pm

Previous topic - Next topic

adrianrm

Hello,

I am using Konakart 6.3 integrated with Liferay 6.0 CE and installed both portlets konakarat and konakartadmin.

I tried to delete a customer from the Admin Portlet selecting it and clicking on 'delete'. It does not seem to happen anything and afterwards it seems that no element in the page is clickable. I could reproduce this problem with Firefox 16 and IE 9.

Using Firebug, I could tell that a request is being made to the server, and seems to work correctly. Anyhow the customer was not deleted.

These are the request and response sources of the AJAX Request:


POST /konakartadmin/konakartadmin HTTP/1.1
Host: localhost:8080
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20100101 Firefox/16.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en,es;q=0.7,de;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Type: text/x-gwt-rpc; charset=utf-8
X-GWT-Permutation: 75C8876B39FEE049D41B1731D0F3F005
X-GWT-Module-Base: http://localhost:8080/konakartadmin/
Referer: http://localhost:8080/web/guest/home
Content-Length: 231
Cookie: JSESSIONID=7D09BDD2AE44F27D945171E98F9BFF70; GUEST_LANGUAGE_ID=en_US; COOKIE_SUPPORT=true; COMPANY_ID=10154; ID=686b774d75542f716932673d; USER_UUID=vr68woDAv/eiY77Xe73215wLkUQAjnlR; LFR_SESSION_STATE_10196=1353348614304
Pragma: no-cache
Cache-Control: no-cache
POST-Data: 7|0|8|http://localhost:8080/konakartadmin/|80D4EFE20C0285CDA7178178C5DD881F|com.konakartadmin.client.KKAdminGWTServiceIf|getCustomerForId|java.lang.String/2004016611|I|store1|04cdc0c38e8d052d77c8c363d1723cdf|1|2|3|4|3|5|5|6|7|8|47|


//OK[0,7,7,0,0,0,0,0,14,0,1,13,12,7,'TsZY8hg',2,0,47,-1,0,11,7,7,1,10,47,0,0,0,0,3,3,7,7,7,0,0,1,47,0,0,0,0,47,47,0,0,0,0,0,9,3,8,7,7,6,5,4,0,0,0,0,3,'P___20QT0Go',2,0,0,'TsZY8hg',2,1,["com.konakartadmin.client.app.GWT_AdminCustomer/3381045948","java.util.Date/3385151746","","com.konakartadmin.client.app.GWT_AdminAddress/373033990","$firstname $lastname$cr$streets$cr$city, $postcode$cr$statecomma$country","$city / $country","abcde","CTRY.DZA","Algeria","a.rodriguez@comundus.de","m","en_EN","0","e4afffe73648c39cf5d46ec12cbc820a:71"],0,7]


Does somebody know about this problem?

Greetings,
Adrián

ming

That's a bit odd...   It didn't do that for me..  never heard of that problem before.   I can delete a user perfectly normally using the KonaKart Admin App deployed as a portlet in Liferay.

What happens is that after you click on Delete, a request goes out to get the customer (as you see in your Firebug output).  When the response comes back it should display a dialog box that says something like "Are you sure you want to delete this particular customer?".

Therefore, it would appear that in your case you can't display a dialog box.  Maybe this is some kind of browser setting?

Have you tried in different browsers to see if it's related to the settings in any one of your browsers?

adrianrm

Thanks for the answer!

It also happens in IE9.

I don't have any pop-up blocker in IE, and I have it deactivated for localhost in Firefox. This could be a reason for the confirm-dialog not being shown.