Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-14463

workflow_id not defined in workflowlist when you have drafts

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • 4.0.4, 4.1.0beta1
    • 4.0.2, 4.1.0alpha2
    • Legacy > Workflows
    • None

    Description

      patch:

      Index: kernel/workflow/workflowlist.php
      ===================================================================
      --- kernel/workflow/workflowlist.php	(revision 22975)
      +++ kernel/workflow/workflowlist.php	(working copy)
      @@ -140,9 +140,7 @@
       {
           foreach ( $templist_in_group as $tmpInGroup )
           {
      -        $id =  $tmpWorkflow->attribute("id");
      -        $workflow_id =  $tmpInGroup->attribute("workflow_id");
      -        if ( $tmpWorkflow->attribute( 'id' ) === $tmpWorkflow->attribute( 'workflow_id' ) )
      +        if ( $tmpWorkflow->attribute( 'id' ) === $tmpInGroup->attribute( 'workflow_id' ) )
               {
                   $temp_list[] = $tmpWorkflow;
               }
      
      

      Attachments

        Activity

          People

            unknown unknown
            andre1 andre1
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: