◄ ► | Muuda | Home | Admin | en de fr et | Sign in

#6919 (Remove Actor.workflow_state_field)

by Luc Saffre · in Developers · assigned to Luc Saffre

Kokkuvõte

This is an internal side effect while working for #6802 (Projekt "Stewards" (Lino Patrols)). I wanted to show event__workflow_buttons instead of workflow_buttons in MyPresences.columns, but that didn't work. Lino gets confused because workflow_state_field is partly handled by the actor.

Children

Kommentaarid

  • 3 kuud, 2 nädalat ago by Luc Saffre about #6919 (Remove Actor.workflow_state_field) : This change doesn't fix my original problem, it just shows that this approach isn't what we want, but it is a theoretical optimization and the test suites pass. So I will now push my changes.
  • 3 kuud, 2 nädalat ago by Luc Saffre about #6919 (Remove Actor.workflow_state_field) : I removed Actor.workflow_state_field because it was useless redundant information. Model.workflow_state_field is enough. We have no use case where different actors of a same model use different workflow state fields. Instead of calling ar.actor.get_row_state(obj), we now call obj.get_row_state(). I ...
  • 3 kuud, 2 nädalat ago by Luc Saffre about #6919 (Remove Actor.workflow_state_field) : Created new Ticket #6919 (Remove Actor.workflow_state_field).