{"action":"created","issue":{"url":"https://api.github.com/repos/georgringer/news/issues/863","repository_url":"https://api.github.com/repos/georgringer/news","labels_url":"https://api.github.com/repos/georgringer/news/issues/863/labels{/name}","comments_url":"https://api.github.com/repos/georgringer/news/issues/863/comments","events_url":"https://api.github.com/repos/georgringer/news/issues/863/events","html_url":"https://github.com/georgringer/news/issues/863","id":415613025,"node_id":"MDU6SXNzdWU0MTU2MTMwMjU=","number":863,"title":"News detail view is not restricted to startingpoint","user":{"login":"sebkln","id":13318555,"node_id":"MDQ6VXNlcjEzMzE4NTU1","avatar_url":"https://avatars3.githubusercontent.com/u/13318555?v=4","gravatar_id":"","url":"https://api.github.com/users/sebkln","html_url":"https://github.com/sebkln","followers_url":"https://api.github.com/users/sebkln/followers","following_url":"https://api.github.com/users/sebkln/following{/other_user}","gists_url":"https://api.github.com/users/sebkln/gists{/gist_id}","starred_url":"https://api.github.com/users/sebkln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebkln/subscriptions","organizations_url":"https://api.github.com/users/sebkln/orgs","repos_url":"https://api.github.com/users/sebkln/repos","events_url":"https://api.github.com/users/sebkln/events{/privacy}","received_events_url":"https://api.github.com/users/sebkln/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-02-28T13:02:31Z","updated_at":"2019-02-28T14:27:13Z","closed_at":null,"author_association":"NONE","body":"## Bug Report\r\n\r\n**Current Behavior**\r\nThe news detail plugin renders all news records which can be found in a TYPO3 installation, regardless of the set `startingpoint` (in news detail plugin).\r\n\r\n**Expected behavior/output**\r\nIf a `startingpoint` is set in a news detail plugin (or TypoScript), this plugin should not render news records from other pages/sysfolders.\r\n\r\n**Environment**\r\n- TYPO3 version: 8.7.24\r\n- news version: 7.0.8\r\n- Is your TYPO3 installation set up with Composer (Composer Mode): no\r\n- OS: Linux 4.15.0, macOS 10.14.3\r\n\r\n**Additional context**\r\nSteps to reproduce:\r\n\r\nNew installation of TYPO3, only EXT:news is installed.\r\n\r\nMinimal TypoScript setup:\r\n\r\n````\r\nplugin.tx_news.settings.startingpoint = 2\r\n\r\npage = PAGE\r\npage.10 =< styles.content.get\r\n````\r\n\r\nPage tree:\r\n\r\n````\r\n[1] List view (root)\r\n- [2] News detail A\r\n- [3] News detail B\r\n````\r\n\r\nEach news detail page contains:\r\n\r\n- a news 'detail view' plugin. The `startingpoint` is always set to the page of the current plugin.\r\n- an individual news record\r\n\r\n----\r\n\r\nThe __list view__ can then be configured to list the news records from both detail pages (startingpoint). Adding either one of the two PageIds for single news display, it will link every news record to this detail view. And the detail view will render every record, regardless of the `startingpoint`.\r\n\r\nThis issue seems not limited to the plugin's flexform value, it also ignores the TypoScript setting `plugin.tx_news.settings.startingpoint`."},"comment":{"url":"https://api.github.com/repos/georgringer/news/issues/comments/468291916","html_url":"https://github.com/georgringer/news/issues/863#issuecomment-468291916","issue_url":"https://api.github.com/repos/georgringer/news/issues/863","id":468291916,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2ODI5MTkxNg==","user":{"login":"sebkln","id":13318555,"node_id":"MDQ6VXNlcjEzMzE4NTU1","avatar_url":"https://avatars3.githubusercontent.com/u/13318555?v=4","gravatar_id":"","url":"https://api.github.com/users/sebkln","html_url":"https://github.com/sebkln","followers_url":"https://api.github.com/users/sebkln/followers","following_url":"https://api.github.com/users/sebkln/following{/other_user}","gists_url":"https://api.github.com/users/sebkln/gists{/gist_id}","starred_url":"https://api.github.com/users/sebkln/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebkln/subscriptions","organizations_url":"https://api.github.com/users/sebkln/orgs","repos_url":"https://api.github.com/users/sebkln/repos","events_url":"https://api.github.com/users/sebkln/events{/privacy}","received_events_url":"https://api.github.com/users/sebkln/received_events","type":"User","site_admin":false},"created_at":"2019-02-28T14:27:13Z","updated_at":"2019-02-28T14:27:13Z","author_association":"NONE","body":"It does! I was not aware of this setting.\r\n\r\n`plugin.tx_news.settings.detail.checkPidOfNewsRecord = 1` restricts the rendering of news records to the `startingpoint` and will output _'The news record is not available anymore.'_, if needed.\r\n\r\nSo it was a case of RTFM. Thank you for your help!"}}
{"actor":{"display_login":"sebkln"}}