← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1699659] Re: phpquery always returns 0

 

Hello and thank you for filing this bug report! This was fixed in src
:php-defaults 44, which is in Y and on. I will submit a SRU for this to
X.

** Bug watch added: Debian Bug tracker #834189
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834189

** Also affects: php-defaults (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834189
   Importance: Unknown
       Status: Unknown

** Also affects: php-defaults (Ubuntu Yakkety)
   Importance: Undecided
       Status: New

** Also affects: php-defaults (Ubuntu Artful)
   Importance: Undecided
       Status: New

** Also affects: php-defaults (Ubuntu Zesty)
   Importance: Undecided
       Status: New

** Also affects: php-defaults (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Changed in: php-defaults (Ubuntu Yakkety)
       Status: New => Fix Released

** Changed in: php-defaults (Ubuntu Zesty)
       Status: New => Fix Released

** Changed in: php-defaults (Ubuntu Artful)
       Status: New => Fix Released

** Changed in: php-defaults (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: php-defaults (Ubuntu Xenial)
     Assignee: (unassigned) => Nish Aravamudan (nacc)

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1699659

Title:
  phpquery always returns 0

Status in php-defaults package in Ubuntu:
  Fix Released
Status in php-defaults source package in Xenial:
  Triaged
Status in php-defaults source package in Yakkety:
  Fix Released
Status in php-defaults source package in Zesty:
  Fix Released
Status in php-defaults source package in Artful:
  Fix Released
Status in php-defaults package in Debian:
  Unknown

Bug description:
  In the course of diagnosing an issue with a PHP module (xdebug in this
  case) kept re-enabling itself during upgrades of libapache2-mod-
  php7.0, I found the following:

  1. libapache2-mod-php7.0 postscript sources /usr/lib/php/php-
  maintscript-helper from php-common to re-enable modules that have not
  been administratively disabled.

  2. php-maintscript-helper calls phpenmod based on the output and
  return codes of phpquery

  3. phpquery calls its own action() function, which initializes the
  $ret variable to 0

  4. phpquery action() calls into various other functions in the script,
  and sets the $ret variable based on their returns

  5. phpquery action() returns 0

  6. php-maintscript-helper correspondingly calls phpenmod on all
  available php modules for the apache2 SAPI

  
  Source link for xenial: https://git.launchpad.net/~usd-import-team/ubuntu/+source/php-defaults/tree/phpquery?h=ubuntu/xenial#n162

  the following addition to action() after the esac is necessary to
  bubble up the internal functions' returns:

  return $ret

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-defaults/+bug/1699659/+subscriptions