Message 26094

Author
ced
Date
2016-06-03.15:55:05
Message id
26094

Content

On 2016-06-03 15:17, Sergi Almacellas Abellana wrote:
> El 03/06/16 a les 15:00, Cédric Krier ha escrit:
> > On 2016-06-03 14:17, Sergi Almacellas Abellana wrote:
> >> >El 03/06/16 a les 14:05, Cédric Krier ha escrit:
> >>> > >On 2016-06-03 13:50, Sergi Almacellas Abellana wrote:
> >>>>> > >> >Showing the ID will be a great improvement but for me the rec_name is more clear for the end user. So maybe we can add both values, so in case the user can not find the record by the rec_name (it have changed) it can use the id.
> >>> > >I have explained previously that rec_name can not be used on invalid record.
> >> >And ID can not be used on new created records as the transaction will be
> >> >rolled back.
> > It can be used but of course after the transaction it will no longer be
> > present. But nothing can be done against that.
> 
> So in this case the rec_name will be usefull as will help you to 
> identify the new record that can not be created, specially when it's the 
> case of a batch processes that creates a lot of data.

It will be not helpful if it crashes during the generation of the first
error message. You can not access blindly methods on an invalid record.
History
Date User Action Args
2016-06-03 15:55:05cedsetrecipients: + resteve, pokoli, guillemNaN
2016-06-03 15:55:05cedlinkissue5581 messages
2016-06-03 15:55:05cedcreate

Showing 10 items. Show all history (warning: this could be VERY long)