• scansanju
  • NEWBIE
  • 0 Points
  • Member since 2012

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hi,

 

I'm facing a bug on a few of my old interfaces since I guess the new release and I don't find an easy way to fix that.

 

the scenario: the problem appears as soon as you have an apex datatable with a few inputfields and some of them which are tag as required and you want to delete for example one row. The best practice was before to put a button/commandlink or whatever, to make a call to the controller with immediate="true" (because of the empty required inputfields), to delete the row in the controller and to make a rerender on the table. easy. But since the new release, it appears that it's broken. What happens is the following: the row is deleted, the table is refreshed, the row disappears as expected but the data inside the row are not removed - I mean, the table itself looks like it has been refreshed but the data inside the table are not refreshed. Instead, the data of the last row is removed as if we deleted the last row. I checked that the controller did the job right, but not the rendering of the page.

 

my actual solution: I still make the call to the controller to delete physically the row in the controller, but I don't make any rerender (or well a fake one on any id). Instead of that, I call a JS function on the oncomplete event which removes the corresponding row in Javascript ... really horrible ...

 

Is there anyone else facing the same kind of problem?

 

PS: the API Version has not been updated although the behaviour is really different...