http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692016-10-09T16:32:05ZTYPO3 ForgeTYPO3 Core - Bug #78207: Composer requirement to package that is not type=typo3-cms-extensionhttp://forge.typo3.org/issues/78207?journal_id=3151232016-10-09T16:32:05ZFelix Kopp
<ul></ul><p>Follow the composer.json specs from <a class="external" href="http://insight.helhum.io/post/148886148725/composerjson-specification-for-typo3-extensions">http://insight.helhum.io/post/148886148725/composerjson-specification-for-typo3-extensions</a> as well.</p> TYPO3 Core - Bug #78207: Composer requirement to package that is not type=typo3-cms-extensionhttp://forge.typo3.org/issues/78207?journal_id=3151262016-10-09T17:19:48ZMathias Schreibermathias.schreiber@typo3.com
<ul></ul><p>I am pretty certain this is a bug.<br />I guess the EM treats composer.json files of an extension the same way as ext_emconf.php files, thus not resolving the dependencies outside of typo3conf/ext.</p>
<p>One question though.. you did not mention whether the dependency itself got installed, but since I guess you installed the extension via composer those dependencies were resolved correctly, right?</p> TYPO3 Core - Bug #78207: Composer requirement to package that is not type=typo3-cms-extensionhttp://forge.typo3.org/issues/78207?journal_id=3151442016-10-10T09:52:33ZFelix Kopp
<ul></ul><p>Yes, everything "below" typo3 / in composer went through without problems: Libraries are downloaded and auto-loaded within vendor directory.</p>
<p>Also the activation of the extension works just fine without exceptions when done via typo3_console.</p>
<p>Seems like the source for this problem lies within the EM.</p> TYPO3 Core - Bug #78207: Composer requirement to package that is not type=typo3-cms-extensionhttp://forge.typo3.org/issues/78207?journal_id=3154992016-10-14T11:44:35ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Category</strong> set to <i>composer</i></li></ul> TYPO3 Core - Bug #78207: Composer requirement to package that is not type=typo3-cms-extensionhttp://forge.typo3.org/issues/78207?journal_id=3251262017-02-24T12:54:13ZNicole Cordestypo3@cordes.co
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Hi,</p>
<p>Can you please provide your ext_emconf.php please?</p> TYPO3 Core - Bug #78207: Composer requirement to package that is not type=typo3-cms-extensionhttp://forge.typo3.org/issues/78207?journal_id=3344342017-06-05T10:19:34ZGerrit Code Review
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Under Review</i></li></ul><p>Patch set 1 for branch <strong>master</strong> of project <strong>Packages/TYPO3.CMS</strong> has been pushed to the review server.<br />It is available at <a class="external" href="https://review.typo3.org/53117">https://review.typo3.org/53117</a></p> TYPO3 Core - Bug #78207: Composer requirement to package that is not type=typo3-cms-extensionhttp://forge.typo3.org/issues/78207?journal_id=3344352017-06-05T10:21:24ZHelmut Hummeltypo3@helhum.io
<ul></ul><p>To reproduce:</p>
<p>set up a require section in composer.json and remove contraints section in ext_emconf.php</p> TYPO3 Core - Bug #78207: Composer requirement to package that is not type=typo3-cms-extensionhttp://forge.typo3.org/issues/78207?journal_id=3344362017-06-05T10:21:38ZHelmut Hummeltypo3@helhum.io
<ul><li><strong>TYPO3 Version</strong> changed from <i>8</i> to <i>7</i></li><li><strong>PHP Version</strong> deleted (<del><i>7.0</i></del>)</li></ul> TYPO3 Core - Bug #78207: Composer requirement to package that is not type=typo3-cms-extensionhttp://forge.typo3.org/issues/78207?journal_id=3344392017-06-05T11:09:09ZHelmut Hummeltypo3@helhum.io
<ul><li><strong>Status</strong> changed from <i>Under Review</i> to <i>Needs Feedback</i></li></ul><p>Hm, ok, the fix isn't easy.</p>
<p>I would go for the advice that constriants section in ext_emconf.php is mandatory and maybe throw a better exception if it is not present, but composer.json requirements exist</p> TYPO3 Core - Bug #78207: Composer requirement to package that is not type=typo3-cms-extensionhttp://forge.typo3.org/issues/78207?journal_id=4202472020-03-24T12:36:36ZSusanne Moogsusanne.moog@typo3.org
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>Closed</i></li></ul><p>As proposed in the last comment, I did a PR for the documentation here <a class="external" href="https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-CoreApi/pull/812">https://github.com/TYPO3-Documentation/TYPO3CMS-Reference-CoreApi/pull/812</a> - note: in general, the dependency section of an em_conf should at this point never be empty, not only because of the comments here, but also because TER etc. require those settings.</p>