← Back to team overview

openerp-india team mailing list archive

[Bug 948158] Re: Diagram view: bug if "source" and "destination" are inverted

 

Hello Francois,
      It is really good issue the you point. The Steps you mention in bug description are the one way to reproduce the bug, It can be also produce other way bu having disconnected diagram and then try to add the  looped edges  on them I have attached the screen-cast for the same here by with bug attachments.
     We have traced the issue and have fixed the issue in branch : lp:~openerp-dev/openobject-server/trunk-bug-948158-jam at revision no#4152 and also have proposed solution for merging in trunk server branch.
Thank you for you kind support.

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/948158

Title:
  Diagram view: bug if "source" and "destination" are inverted

Status in OpenERP Server:
  Fix Committed

Bug description:
  Hi!

  When trying to create a diagram view for one of my own objects, I
  always got a strange error, the same that the one I reported in
  https://bugs.launchpad.net/openobject-server/+bug/932830 . However,
  the latter bug is for diagrams with cyclic transitions, and this bug
  arose even when there was NO cycle in my transitions. I finally just
  inverted "source" and "destination" in the arrow element in the view,
  and now it works OK (but the arrows are not in the correct direction).

  Of course, this bug should not arise when the direction of the arrow
  is inverted, since the definition is symmetric.

  You can easily check this bug by inverting the "source" and
  "destination" fields in "workflow_view.xml":

  
            <arrow object="workflow.transition" destination="act_from" source="act_to" label="['signal','condition']">
              <field name="act_from"/>
              <field name="act_to"/>
              <field name="signal"/>
            </arrow>

  Cheers!

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/948158/+subscriptions


References