Skip to content

Conversation

uwej711
Copy link
Contributor

@uwej711 uwej711 commented Sep 30, 2015

see my comment on the source code of the commit that introduced that f393c06

@dbu
Copy link
Member

dbu commented Sep 30, 2015

we can ignore styleci on the 1.2 branch. and the build is actually ok, only deprecation warnings. we might need to backport the deprecation ignore thing to 1.2.

are you code-wise sure that this is fine to do? there is no test for this situation, may i ask you to add one?

@uwej711
Copy link
Contributor Author

uwej711 commented Sep 30, 2015

The loader ist tested, but not for the case with an empty id, but sure i can add a test for that.

@uwej711
Copy link
Contributor Author

uwej711 commented Sep 30, 2015

Just tried to add a test but the error only seems to be there when you use jackrabbit as the backend. Maybe it's actually an issue there. We could still leave this as an optimization as there is no need to query empty ids ...

@uwej711
Copy link
Contributor Author

uwej711 commented Sep 30, 2015

See doctrine/phpcr-odm#662

@dbu
Copy link
Member

dbu commented Oct 1, 2015

the only failure i see is https://travis-ci.org/doctrine/DoctrinePHPCRBundle/jobs/82953994 which looks like a symfony version issue. am i confused now.

the other builds are red because deprecation warnings.

@lsmith77 lsmith77 added review and removed wip/poc labels Oct 1, 2015
@lsmith77
Copy link
Member

lsmith77 commented Oct 1, 2015

I have now disabled styleci for the 1.0, 1,1 and 1.2 branches

@dbu
Copy link
Member

dbu commented Oct 1, 2015 via email

@lsmith77
Copy link
Member

lsmith77 commented Oct 1, 2015

@dbu what warnings, where?

@dbu
Copy link
Member

dbu commented Oct 1, 2015

twig deprecation warnings, as in https://travis-ci.org/doctrine/DoctrinePHPCRBundle/jobs/82953979 - they make the test marked as failed while it seems ok for maintenance to use those. we don't want to do BC workarounds here.

@lsmith77
Copy link
Member

lsmith77 commented Oct 1, 2015

i guess that needs to be done in the .travis.yml

@dbu
Copy link
Member

dbu commented Oct 1, 2015 via email

lsmith77 added a commit that referenced this pull request Oct 3, 2015
skip query when there is no valid id
@lsmith77 lsmith77 merged commit 4499c20 into doctrine:1.2 Oct 3, 2015
@lsmith77 lsmith77 removed the review label Oct 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants