[Checkins] [zopefoundation/Zope] fecd92: Fix str/bytes confusion on add DTMLDocument/DTMLMe...

GitHub noreply at github.com
Sun Nov 25 03:26:05 CET 2018


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/Zope
  Commit: fecd9262fdb096596e511c6316eb7b86588aa094
      https://github.com/zopefoundation/Zope/commit/fecd9262fdb096596e511c6316eb7b86588aa094
  Author: Robert Buchholz <rbu at goodpoint.de>
  Date:   2018-11-20 (Tue, 20 Nov 2018)

  Changed paths:
    M src/OFS/DTMLDocument.py
    M src/OFS/DTMLMethod.py
    M src/Testing/ZopeTestCase/testFunctional.py

  Log Message:
  -----------
  Fix str/bytes confusion on add DTMLDocument/DTMLMethod

DTML documents need to be stored as native strings ("str" in both Py2 and Py3),
which was implemented in #265 for the manage_upload case (create a document,
then upload the content).

This commit introduces the conditional type conversion for the "add" case
as well (create a document with initial uploaded content).


  Commit: f837e917d6da900bf091528a4dba5e20c295a83a
      https://github.com/zopefoundation/Zope/commit/f837e917d6da900bf091528a4dba5e20c295a83a
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2018-11-22 (Thu, 22 Nov 2018)

  Changed paths:
    M src/OFS/DTMLDocument.py
    M src/OFS/DTMLMethod.py

  Log Message:
  -----------
  - move data munging into a central function


  Commit: 77a987e208555e74984043de368435e6805033c6
      https://github.com/zopefoundation/Zope/commit/77a987e208555e74984043de368435e6805033c6
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2018-11-24 (Sat, 24 Nov 2018)

  Changed paths:
    M CHANGES.rst

  Log Message:
  -----------
  - add missing change log entry


  Commit: 7c588a575442b92281942caecb7cbbb3ad5f2289
      https://github.com/zopefoundation/Zope/commit/7c588a575442b92281942caecb7cbbb3ad5f2289
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2018-11-24 (Sat, 24 Nov 2018)

  Changed paths:
    M CHANGES.rst
    M docs/INSTALL-buildout.rst
    M docs/INSTALL-pipenv.rst
    M docs/INSTALL-virtualenv.rst
    M src/App/tests/test_ApplicationManager.py
    M src/OFS/tests/testFileAndImage.py
    M src/OFS/tests/testSorting.py
    M src/OFS/tests/test_DTMLMethod.py
    M src/Products/PageTemplates/ZopePageTemplate.py
    M src/Products/PageTemplates/tests/testZopePageTemplate.py
    M src/Testing/testbrowser.py
    M src/Testing/tests/test_testbrowser.py
    M src/ZPublisher/HTTPResponse.py
    M src/ZPublisher/tests/testHTTPResponse.py
    M src/ZPublisher/tests/test_WSGIPublisher.py
    M src/Zope2/utilities/zconsole.py

  Log Message:
  -----------
  Merge branch 'master' into fix-str-bytes-confusion-on-dtml-add


  Commit: e6144e6985751af48430a89adf7b5ce5d4094c2a
      https://github.com/zopefoundation/Zope/commit/e6144e6985751af48430a89adf7b5ce5d4094c2a
  Author: Jens Vagelpohl <jens at netz.ooo>
  Date:   2018-11-24 (Sat, 24 Nov 2018)

  Changed paths:
    M CHANGES.rst
    M src/OFS/DTMLDocument.py
    M src/OFS/DTMLMethod.py
    M src/Testing/ZopeTestCase/testFunctional.py

  Log Message:
  -----------
  Merge pull request #402 from zopefoundation/fix-str-bytes-confusion-on-dtml-add

Fix str/bytes confusion on add DTMLDocument/DTMLMethod


Compare: https://github.com/zopefoundation/Zope/compare/96627fbb9314...e6144e698575
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list