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

Fix/vicms 658 bepp and article urls generation #184

Conversation

paulandrieux
Copy link
Member

No description provided.

@paulandrieux paulandrieux force-pushed the fix/VICMS-658-bepp-and-article-urls-generation branch from 0e6fb88 to 3b8ba33 Compare September 15, 2015 17:40
… not cache updating anymore cf ViewReferenceSubscriber
…t in cache so we fetch DB

simplify service declaration
…ation and update the view cache with new urls
@paulandrieux paulandrieux force-pushed the fix/VICMS-658-bepp-and-article-urls-generation branch from 7d69c43 to 076019d Compare September 16, 2015 06:53
@paulandrieux paulandrieux force-pushed the fix/VICMS-658-bepp-and-article-urls-generation branch from 076019d to d489354 Compare September 16, 2015 07:47
@paulandrieux paulandrieux force-pushed the fix/VICMS-658-bepp-and-article-urls-generation branch from e2abd38 to 82ac755 Compare September 16, 2015 16:20
paulandrieux added a commit to paulandrieux/victoire that referenced this pull request Sep 16, 2015
…and-article-urls-generation

* fork/fix/VICMS-658-bepp-and-article-urls-generation: (54 commits)
  If we try to find a page in database, check page validity too
  fix phpdoc
  Entity manager is required
  If viewReference is not found, throw a more verbose exception
  fix some behat tests
  better error message + rename variable
  create the ViewReferenceProvider to find referencable views given a view
  move getAllViewsReference in the ViewCacheHelper
  compute view cache when a View is persisted to handle BusinessPattern creation, not only WebViewInterface
  fix behat test
  build url on load of a WebViewInterface
  do not compute viewReference for Template
  clean buildReference second parameter
  support "additionnalQueryPart" in ArticleTemplate
  $viewsReferences is given by reference and I re-allocated it in the foreach loop that had for consequence to infinitely re-initialize the foreach
  add the ArticleTemplateReferenceBuilder. It does not generate any virtuals because its Articles
  use entity metadatas to build entity namespace instead of simple get_class
  do not pass $entity to viewReferenceBuilders anymore
  remove url in test fixtures
  change BusinessTemplate show url in behat tests
  ...
paulandrieux added a commit to paulandrieux/victoire that referenced this pull request Sep 16, 2015
…and-article-urls-generation

* fork/fix/VICMS-658-bepp-and-article-urls-generation: (54 commits)
  If we try to find a page in database, check page validity too
  fix phpdoc
  Entity manager is required
  If viewReference is not found, throw a more verbose exception
  fix some behat tests
  better error message + rename variable
  create the ViewReferenceProvider to find referencable views given a view
  move getAllViewsReference in the ViewCacheHelper
  compute view cache when a View is persisted to handle BusinessPattern creation, not only WebViewInterface
  fix behat test
  build url on load of a WebViewInterface
  do not compute viewReference for Template
  clean buildReference second parameter
  support "additionnalQueryPart" in ArticleTemplate
  $viewsReferences is given by reference and I re-allocated it in the foreach loop that had for consequence to infinitely re-initialize the foreach
  add the ArticleTemplateReferenceBuilder. It does not generate any virtuals because its Articles
  use entity metadatas to build entity namespace instead of simple get_class
  do not pass $entity to viewReferenceBuilders anymore
  remove url in test fixtures
  change BusinessTemplate show url in behat tests
  ...
paulandrieux added a commit to paulandrieux/victoire that referenced this pull request Sep 16, 2015
…and-article-urls-generation

* fork/fix/VICMS-658-bepp-and-article-urls-generation: (54 commits)
  If we try to find a page in database, check page validity too
  fix phpdoc
  Entity manager is required
  If viewReference is not found, throw a more verbose exception
  fix some behat tests
  better error message + rename variable
  create the ViewReferenceProvider to find referencable views given a view
  move getAllViewsReference in the ViewCacheHelper
  compute view cache when a View is persisted to handle BusinessPattern creation, not only WebViewInterface
  fix behat test
  build url on load of a WebViewInterface
  do not compute viewReference for Template
  clean buildReference second parameter
  support "additionnalQueryPart" in ArticleTemplate
  $viewsReferences is given by reference and I re-allocated it in the foreach loop that had for consequence to infinitely re-initialize the foreach
  add the ArticleTemplateReferenceBuilder. It does not generate any virtuals because its Articles
  use entity metadatas to build entity namespace instead of simple get_class
  do not pass $entity to viewReferenceBuilders anymore
  remove url in test fixtures
  change BusinessTemplate show url in behat tests
  ...
@paulandrieux paulandrieux merged commit b912287 into Victoire:master Sep 16, 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.

1 participant