modnaut / primary

0 stars 0 forks source link

Save Error #21

Closed modnaut closed 11 years ago

modnaut commented 11 years ago

I select a row to edit, which appears correctly on the right hand side (see image 1). Then I click save... and the screen clears and throws an error (see image 2). No error appears in the console.

IMAGE 1: save

IMAGE 2: saveblank

dannycohn commented 11 years ago

Interesting. You seem to have caught a fun little bug in ExtJS 4.2. This was working with 4.1.1, but the upgrade broke it. I can give you more detail into the bug if you'd like, but in the meantime I've found a good, clean workaround and have pushed it.

I found someone else on the Sencha forums with the same problem and offered him my workaround as well: http://www.sencha.com/forum/showthread.php?258928-BUG-EXTJS-4.2.0-Item-not-being-removed-from-form&p=949644&posted=1#post949644

modnaut commented 11 years ago

Tried again with latest code. It now keeps data on right side after save, but still clears out the grid on the left side.

saveleft

dannycohn commented 11 years ago

That's just because my demo screen logic isn't foolproof, it isn't an XSL issue. I can fix it if it'll make you happy :-)

modnaut commented 11 years ago

Ok, as long as it isn't a structure problem, I will let it go.... but I won't always be that easy going : )