Uploaded image for project: 'COmanage'
  1. COmanage
  2. CO-1751

Error in text when denying petition.

    XMLWordPrintable

Details

    Description

      When a petition is denied, the text shown is:

      "Petition is now read only (status=%1$s)"

      (the "%" and "$" symbols are shown to the user).

      We think that the petition status is not assigned in CoPetitionsController.php :

      $this->Flash->set(_txt('er.pt.readonly'), array('key' => 'error'));

      The string er.pt.readonly defined in lang.php has one parameter, but it's value is not passed in  this _txt invocation.

      A possible solution for displaying the correct message could be:

      $this->Flash->set(_txt('er.pt.readonly',array(_txt('en.status.pt',null,$status))), array('key' => 'error'));

      Regards

      Emilio

       

      Attachments

        Activity

          People

            benn.oshrin@at.internet2.edu Benn Oshrin (internet2.edu)
            emilio.penna@at.internet2.edu Emilio Penna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: