Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull display_publication_date_in_byline value from the configuration registry #58

Merged
merged 5 commits into from Sep 7, 2015

Conversation

@tisto
Copy link
Sponsor Member

tisto commented Sep 5, 2015

@tisto
Copy link
Sponsor Member

tisto commented Sep 5, 2015

PR looks good. Can be merged after Jenkins job has finished.

@esteele
Copy link
Sponsor Member Author

esteele commented Sep 5, 2015

For what it's worth, those failing plone.app.layout tests do pass when the CMFPlone branch is included.

@tisto
Copy link
Sponsor Member

tisto commented Sep 6, 2015

I checked out all three pull requests locally and I get two test failures in plone.app.layout and plone.app.upgrade:

Failure in test test_pub_date (plone.app.layout.viewlets.tests.test_content.TestDocumentBylineViewletView)
Traceback (most recent call last):
  File "/Users/timo/workspace/buildout.python/parts/opt/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/Users/timo/.buildout/eggs/plone.app.layout-2.5.10-py2.7.egg/plone/app/layout/viewlets/tests/test_content.py", line 110, in test_pub_date
    self.assertEqual(viewlet.pub_date(), DateTime(effective.ISO8601()))
  File "/Users/timo/workspace/buildout.python/parts/opt/lib/python2.7/unittest/case.py", line 515, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/Users/timo/workspace/buildout.python/parts/opt/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: None != DateTime('2015/09/05 15:10:23 GMT+2')

    210/1450 (14.5%)/Users/timo/.buildout/eggs/Products.CMFCore-2.2.8-py2.7.egg/Products/CMFCore/DirectoryView.py:493: UserWarning: DirectoryView classic_ecmascript refers to a non-existing path 'plonetheme.classic:skins/classic_ecmascript'
  (self.id, reg_key), UserWarning)
    216/1450 (14.9%)

Failure in test testAddDisplayPublicationDateInBylineProperty (plone.app.upgrade.v43.tests.TestMigrations_v4_3alpha1)
Traceback (most recent call last):
  File "/Users/timo/workspace/buildout.python/parts/opt/lib/python2.7/unittest/case.py", line 331, in run
    testMethod()
  File "/Users/timo/workspace/plone/buildout.coredev-5.0/src/plone.app.upgrade/plone/app/upgrade/v43/tests.py", line 28, in testAddDisplayPublicationDateInBylineProperty
    False)
  File "/Users/timo/workspace/buildout.python/parts/opt/lib/python2.7/unittest/case.py", line 515, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/Users/timo/workspace/buildout.python/parts/opt/lib/python2.7/unittest/case.py", line 508, in _baseAssertEqual
    raise self.failureException(msg)
AssertionError: None != False


  Ran 1450 tests with 2 failures, 0 errors, 1 skipped in 4 minutes 26.789 seconds.

@esteele esteele force-pushed the display_publication_date_in_byline branch from 8b31a88 to d8a9c4a Compare September 7, 2015 03:59
@esteele
Copy link
Sponsor Member Author

esteele commented Sep 7, 2015

Those failing tests are fixed now.

@vangheem
Copy link
Member

vangheem commented Sep 7, 2015

@esteele some rebasing on other packages. Everything looks fine though. Merge when ready.

@esteele esteele merged commit d8a9c4a into master Sep 7, 2015
@gforcada gforcada deleted the display_publication_date_in_byline branch September 12, 2015 13:54
talarias pushed a commit that referenced this pull request Dec 9, 2021
Add comment to alert on duplicate resource registering
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants