1. 04 Jul, 2019 3 commits
    • Jérome Perrin's avatar
      Preserve whitespaces on relation fields · d5cfa2cc
      Jérome Perrin authored
      What I'm trying to prevent, is that when we have a document with leading/trailing space
      
      ![image](/uploads/8a00a1019cdcb5d76bd589917548a515/image.png)
      
      and it's set in a relation
      ![image](/uploads/925aa9895c7d15f3ef9f3bdc9926d7fd/image.png)
      
      just clicking save will complain that document is not found
      
      ![image](/uploads/a559eea23fc8ba0df19c23dfcda26138/image.png)
      
      this is because validator have stripped whitespace and search for `"leading and trailing space"` - and find nothing  (unless title is a keyword key, but that's another story )
      
      /reviewed-on nexedi/erp5!897
      d5cfa2cc
    • Sebastien Robin's avatar
      ERP5OOoDocument: use conversion server that has the most chance to work · 82673dac
      Sebastien Robin authored
      Until know, in the preference we defined list of uri for conversion
      server, and then we were trying always in the order defined in the
      preference. But this is not optimal, when a server start to fail, it's
      better to try using another one. So sort list of uri in such a way to
      use first server having the most chance to work.
      82673dac
    • Arnaud Fontaine's avatar
      erp5_core: ZODB History view: Display private properties starting with '_'. · 8d3388d4
      Arnaud Fontaine authored
      Useful for SolverType._configuration_property_dict but more generally
      the whole history should be displayed as this view is used by developers.
      8d3388d4
  2. 02 Jul, 2019 1 commit
  3. 01 Jul, 2019 3 commits
  4. 28 Jun, 2019 3 commits
  5. 27 Jun, 2019 6 commits
  6. 26 Jun, 2019 3 commits
  7. 25 Jun, 2019 2 commits
  8. 24 Jun, 2019 10 commits
  9. 22 Jun, 2019 1 commit
    • Bryton Lacquement's avatar
      qa: always report unprocessed activities when functional tests fail · 8d6300da
      Bryton Lacquement authored
      Example for erp5_web_renderjs_ui_test:testFunctionalRJSRelationField, which
      was failing randomly (fixed in ca229c3e):
      
      ======================================================================
      FAIL: testFunctionalTestRunner (erp5.component.test.erp5_version.testFunctionalRJSRelationField.TestRenderJSUIRelationField)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
        File ".../product/ERP5Type/tests/ERP5TypeFunctionalTestCase.py", line 372, in testFunctionalTestRunner
          self.fail('\n'.join(error))
      AssertionError: These messages are pending: [('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/portal_catalog', 'unindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_module', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/bar_module', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_bar_module', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/portal_preferences/erp5_ui_test_preference', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_module/2', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_module/2', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_module/3', 'immediateReindexObject', -1, 0), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/bar_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/foo_bar_module', 'immediateReindexObject', -2, 1), ('/erp5_portal_faeed2c6ad773e8de11c3b643708ad55/portal_preferences/erp5_ui_test_preference', 'immediateReindexObject', -2, 1)]
      Last error message:
      RuntimeError
      tic is looping forever.
      Traceback (innermost last):
        Module ZPublisher.Publish, line 138, in publish
          request, bind=1)
        Module ZPublisher.mapply, line 77, in mapply
          if debug is not None: return debug(object,args,context)
        Module ZPublisher.Publish, line 48, in call_object
          result=apply(object,args) # Type s<cr> to step into published object.
        Module Products.ERP5Type.patches.ExternalMethod, line 113, in __call__
          return _f[0](self.aq_parent, *args, **kw)
        Module erp5.component.extension.erp5_version.ERP5Zuite, line 21, in waitForActivities
          raise RuntimeError('tic is looping forever.')
      RuntimeError: tic is looping forever.
      
      testAccessUnauthorizedRelationValue
      testBreadcrumbCanNotAccessRelationSearchPage
      testMultiRelationDefaultSortAndParameterList
      testMultiRelationFieldEmptySearchWithListbox
      testMultiRelationFieldHomonyms
      testMultiRelationFieldSearchWithListbox
      testMultiRelationFieldSearchWithProxyListbox
      testMultiRelationFieldUnknownIcon
      testMultiRelationFieldWithNonSavedPageContent
      testProxyListBox
      testRelationDefaultSortAndParameterList
      testRelationFieldEmptySearchWithListbox
      testRelationFieldRefresh
      testRelationFieldSearchWithListbox
      testRelationFieldWithNonSavedPageContent
      testSimpleMultiRelationField
      
      ----------------------------------------------------------------------
      Ran 1 test in 199.267s
      8d6300da
  10. 21 Jun, 2019 8 commits