Skip to content

magento/magento2#12405: Impossible to create a new storeview #13943

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

Merged

Conversation

hostep
Copy link
Contributor

@hostep hostep commented Mar 4, 2018

  • Magento_Config should depend on Magento_Store

Description

This is a retake of #12407, but with only a single dependency added.
I'm still not exactly sure if this is the right way to solve this, but nobody seems to give feedback in the original issue, so I'm trying it again with a PR.

Fixed Issues (if relevant)

  1. Magento 2.2.1 - Impossible to create a new storeview #12405: Magento 2.2.1 - Impossible to create a new storeview
  2. 'Requested store is not found' when trying to create a store view in the back end #12421: 'Requested store is not found' when trying to create a store view in the back end

Manual testing scenarios

  1. Install Magento 2.2-develop branch (tested with commit b17b9c9)
  2. Manually edit the file app/etc/config.php and move the line 'Magento_Config' => 1, higher up the list then 'Magento_Store' => 1, (normally you shouldn't do this manually, but installing certain 3rd party modules give the same as a result)
  3. Flush the cache
  4. Login into the backend
  5. Go to Stores => All Stores
  6. Click 'Create Store View'
  7. Enter some dummy content in the fields and click 'Save Store View'
  8. An error Requested store is not found is shown and no storeview is added.

By defining Magento_Store as a dependency of Magento_Config we make sure that this sort order of modules outlined in step 2 can never happen.

Contribution checklist

  • Pull request has a meaningful description of its purpose
  • All commits are accompanied by meaningful commit messages
  • All new or changed code is covered with unit/integration tests (if applicable)
  • All automated tests passed successfully (all builds on Travis CI are green)

- Magento_Config should depend on Magento_Store
@dmanners dmanners self-assigned this Mar 5, 2018
@dmanners
Copy link
Contributor

dmanners commented Mar 5, 2018

Hi @hostep I will try to get some more information on the best way to do this for you. If you look at say the customer module it requires a specific store module version in the composer.json but the module xml does not set the sequence.

@hostep
Copy link
Contributor Author

hostep commented Mar 5, 2018

Ok thanks.

My question is if we fix this issue by adding the module in the sequence, if this is the correct fix, or if this will only hide the real problem?

@dmanners
Copy link
Contributor

dmanners commented Mar 6, 2018

Hi @hostep so looking into the debugging of the issue. I can see that there seems to be two deprecated sections of the code being called in the flow.

The first is in the app/code/Magento/Backend/Controller/Adminhtml/System/Store/Save.php class when it calls save directly on the store object rather than using a repository or something similar.

The second is in the app/code/Magento/Store/Model/StoreRepository.php class when it uses getAppConfig which has been deprecated.

In both cases I am not actually sure if making these changes would actually fix this problem or would we still have the same problem but now with refactored code. Did you have any experience with these parts in the code base?

@hostep
Copy link
Contributor Author

hostep commented Mar 6, 2018

Thanks @dmanners for the further investigation! (I really need to start learning how to use PhpStorm properly, but I love Sublime so much :p)

Anyways, I also don't know if those two deprecated method calls cause this problem, I doubt it, but no experience there I'm afraid.

My guess is that by changing the sequence of the module load order, that certain functionality is executed in a slightly different order then otherwise, but I don't know which functionality that could be or how to try to debug this somehow...

@dmanners
Copy link
Contributor

dmanners commented Mar 8, 2018

Hi @hostep looking into other modules with similar issues I feel that this is an acceptable solution. Thanks for this PR.

@hostep
Copy link
Contributor Author

hostep commented Mar 10, 2018

Ok excellent, thanks @dmanners!

@hostep
Copy link
Contributor Author

hostep commented Mar 10, 2018

I quickly tested this on the 2.3-develop branch (commit ffe7f36) to see if this fix has to be forward ported, and it does, so I'll do that in a couple of minutes.

One interesting thing is that this problem throws a different error on 2.3-develop: ( ! ) Fatal error: Uncaught Error: Maximum function nesting level of '1000' reached, aborting! in lib/internal/Magento/Framework/App/DeploymentConfig.php on line 114. We can see that the code gets into an endless loop where it keeps going round and round. See entire stack trace at the bottom and the following screenshot. Maybe this helps in figuring out the actual problem? I don't know, I think it is useful if I put it in here:
screen shot 2018-03-10 at 11 24 16

( ! ) Fatal error: Uncaught Error: Maximum function nesting level of '1000' reached, aborting! in lib/internal/Magento/Framework/App/DeploymentConfig.php on line 114
( ! ) Error: Maximum function nesting level of '1000' reached, aborting! in lib/internal/Magento/Framework/App/DeploymentConfig.php on line 114
Call Stack
#    Time    Memory      Function    Location
1    0.0001  415976      {main}( )   .../index.php:0
2    0.0957  4300576     Magento\Framework\App\Bootstrap->run( ) .../index.php:37
3    0.0988  4615432     Magento\Framework\App\Http\Interceptor->launch( )   .../Bootstrap.php:256
4    0.0990  4617712     Magento\Framework\App\Http\Interceptor->launch( )   .../Interceptor.php:24
5    0.1298  6290360     Magento\Framework\App\FrontController\Interceptor->dispatch( )  .../Http.php:135
6    0.1305  6233560     Magento\Framework\App\FrontController\Interceptor->___callPlugins( )    .../Interceptor.php:26
7    0.1305  6234304     Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}( )  .../Interceptor.php:153
8    0.1374  6760496     Magento\Framework\App\FrontController\Interceptor->___callParent( ) .../Interceptor.php:138
9    0.1374  6760496     Magento\Framework\App\FrontController\Interceptor->dispatch( )  .../Interceptor.php:58
10   0.2001  9867744     Magento\Backend\Controller\Adminhtml\System\Store\Save\Interceptor->dispatch( ) .../FrontController.php:55
11   0.2010  9890048     Magento\Backend\Controller\Adminhtml\System\Store\Save\Interceptor->___callPlugins( )   .../Interceptor.php:39
12   0.2010  9890792     Magento\Backend\Controller\Adminhtml\System\Store\Save\Interceptor->Magento\Framework\Interception\{closure}( ) .../Interceptor.php:153
13   0.2607  11783488    Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch( ) .../Interceptor.php:135
14   0.2648  11826256    Magento\Backend\Controller\Adminhtml\System\Store\Save\Interceptor->Magento\Framework\Interception\{closure}( ) .../Authentication.php:143
15   0.2648  11826672    Magento\Backend\Controller\Adminhtml\System\Store\Save\Interceptor->___callParent( )    .../Interceptor.php:138
16   0.2648  11826672    Magento\Backend\Controller\Adminhtml\System\Store\Save\Interceptor->dispatch( ) .../Interceptor.php:58
17   0.2795  12059896    Magento\Backend\Controller\Adminhtml\System\Store\Save\Interceptor->dispatch( ) .../AbstractAction.php:229
18   0.2825  12108656    Magento\Backend\Controller\Adminhtml\System\Store\Save\Interceptor->execute( )  .../Action.php:107
19   0.2825  12108656    Magento\Backend\Controller\Adminhtml\System\Store\Save\Interceptor->execute( )  .../Interceptor.php:24
20   0.2852  12155584    Magento\Backend\Controller\Adminhtml\System\Store\Save\Interceptor->processStoreSave( ) .../Save.php:133
21   0.2883  12167072    Magento\Store\Model\Store\Interceptor->save( )  .../Save.php:72
22   0.2883  12167128    Magento\Store\Model\Store\Interceptor->___callPlugins( )    .../Interceptor.php:1040
23   0.2883  12167872    Magento\Store\Model\Store\Interceptor->Magento\Framework\Interception\{closure}( )  .../Interceptor.php:153
24   0.2885  12170312    Magento\Theme\Model\Indexer\Design\Config\Plugin\Store->aroundSave( )   .../Interceptor.php:135
25   0.2885  12170312    Magento\Store\Model\Store\Interceptor->Magento\Framework\Interception\{closure}( )  .../Store.php:39
26   0.2885  12170400    Magento\Store\Model\Store\Interceptor->___callParent( ) .../Interceptor.php:138
27   0.2885  12170400    Magento\Store\Model\Store\Interceptor->save( )  .../Interceptor.php:58
28   0.2885  12170400    Magento\Store\Model\ResourceModel\Store\Interceptor->save( )    .../AbstractModel.php:647
29   0.2885  12170776    Magento\Store\Model\ResourceModel\Store\Interceptor->___callPlugins( )  .../Interceptor.php:117
30   0.2885  12171840    Magento\Store\Model\ResourceModel\Store\Interceptor->Magento\Framework\Interception\{closure}( )    .../Interceptor.php:153
31   0.3778  14176920    Magento\Store\Model\ResourceModel\Store\Interceptor->___callParent( )   .../Interceptor.php:138
32   0.3778  14176920    Magento\Store\Model\ResourceModel\Store\Interceptor->save( )    .../Interceptor.php:58
33   0.3830  14255944    Magento\Store\Model\ResourceModel\Store\Interceptor->processAfterSaves( )   .../AbstractDb.php:418
34   0.3838  14256032    Magento\Store\Model\Store\Interceptor->afterSave( ) .../AbstractDb.php:832
35   0.3838  14256032    Magento\Store\Model\Store\Interceptor->afterSave( ) .../Interceptor.php:427
36   0.3838  14256032    Magento\Store\Model\StoreManager->reinitStores( )   .../Store.php:1050
37   0.3880  14257552    Magento\Framework\App\Config->clean( )  .../StoreManager.php:238
38   0.3880  14257552    Magento\Config\App\Config\Type\System->clean( ) .../Config.php:105
39   0.3882  13326024    Magento\Framework\App\Cache\Type\Config->clean( )   .../System.php:298
40   0.3882  13326024    Magento\Framework\App\Cache\Type\Config->clean( )   .../TagScope.php:75
41   0.3882  13326024    Magento\Framework\App\Cache\Type\AccessProxy->clean( )  .../Bare.php:91
42   0.3882  13326024    Magento\Framework\App\Cache\Type\AccessProxy->clean( )  .../AccessProxy.php:107
43   0.3882  13326024    Magento\Framework\Cache\Frontend\Decorator\Logger->clean( ) .../Bare.php:91
44   0.3908  13326400    Magento\Framework\Cache\Frontend\Decorator\Logger->log( )   .../Logger.php:48
45   0.3908  13326400    Magento\Framework\Cache\InvalidateLogger->execute( )    .../Logger.php:58
46   0.3908  13326936    Magento\Framework\Logger\Monolog->debug( )  .../InvalidateLogger.php:42
47   0.3908  13326936    Magento\Framework\Logger\Monolog->addRecord( )  .../Logger.php:532
48   0.3908  13326936    Magento\Framework\Logger\Monolog->addRecord( )  .../Monolog.php:48
49   0.3908  13327312    Magento\Developer\Model\Logger\Handler\Debug->isHandling( ) .../Logger.php:298
50   0.3914  13327312    Magento\Framework\App\Config->getValue( )   .../Debug.php:63
51   0.3914  13327376    Magento\Framework\App\Config->get( )    .../Config.php:80
52   0.3914  13327376    Magento\Config\App\Config\Type\System->get( )   .../Config.php:131
53   0.3914  13327944    Magento\Config\App\Config\Type\System->loadScopeData( ) .../System.php:158
54   0.3915  13327936    Magento\Config\App\Config\Type\System\Reader\Proxy->read( ) .../System.php:219
55   0.4011  13657368    Magento\Config\App\Config\Type\System\Reader->read( )   .../Proxy.php:95
56   0.4974  14531936    Magento\Framework\App\Config\PostProcessorComposite->process( ) .../Reader.php:66
57   0.6791  16515824    Magento\Framework\App\Config\MetadataConfigTypeProcessor->process( )    .../PostProcessorComposite.php:36
58   0.7041  17066320    Magento\Framework\App\Config\MetadataConfigTypeProcessor->processScopeData( )   .../MetadataConfigTypeProcessor.php:144
59   0.7041  17066320    Magento\Framework\App\Config\ConfigPathResolver->resolve( ) .../MetadataConfigTypeProcessor.php:117
60   0.7041  17066352    Magento\Framework\App\Config\ScopeCodeResolver->resolve( )  .../ConfigPathResolver.php:58
61   0.7041  17066352    Magento\Store\Model\Resolver\Store->getScope( ) .../ScopeCodeResolver.php:49
62   0.7041  17066352    Magento\Store\Model\StoreManagerInterface\Proxy->getStore( )    .../Store.php:30
63   0.7041  17066352    Magento\Store\Model\StoreManager->getStore( )   .../Proxy.php:119
64   0.7041  17066352    Magento\Store\Model\StoreRepository->getById( ) .../StoreManager.php:167
65   0.7048  17133264    Magento\Framework\Exception\NoSuchEntityException->__construct( )   .../StoreRepository.php:113
66   0.7048  17133264    Magento\Framework\Exception\NoSuchEntityException->__construct( )   .../NoSuchEntityException.php:37
67   0.7048  17133264    Magento\Framework\Phrase->render( ) .../LocalizedException.php:36
68   0.7049  17133640    Magento\Framework\Phrase\Renderer\Composite->render( )  .../Phrase.php:103
69   0.7049  17134016    Magento\Framework\Phrase\Renderer\Inline->render( ) .../Composite.php:46
70   0.7049  17134416    Magento\Framework\Translate\Inline\Proxy->isAllowed( )  .../Inline.php:61
71   0.7049  17134416    Magento\Framework\Translate\Inline->isAllowed( )    .../Proxy.php:107
72   0.7049  17134416    Magento\Framework\Translate\Inline\ConfigInterface\Proxy->isActive( )   .../Inline.php:118
73   0.7052  17138784    Magento\Backend\Model\Translate\Inline\Config->isActive( )  .../Proxy.php:95
74   0.7052  17138784    Magento\Backend\App\Config->isSetFlag( )    .../Config.php:42
75   0.7053  17138864    Magento\Framework\App\Config->get( )    .../Config.php:71
76   0.7053  17138864    Magento\Config\App\Config\Type\System->get( )   .../Config.php:131
77   0.7053  17139416    Magento\Config\App\Config\Type\System->loadDefaultScopeData( )  .../System.php:152
78   0.7053  17139408    Magento\Config\App\Config\Type\System\Reader\Proxy->read( ) .../System.php:191
79   0.7053  17139408    Magento\Config\App\Config\Type\System\Reader->read( )   .../Proxy.php:95
80   0.7714  17387096    Magento\Framework\App\Config\PostProcessorComposite->process( ) .../Reader.php:66
81   0.9655  18602296    Magento\Framework\App\Config\MetadataConfigTypeProcessor->process( )    .../PostProcessorComposite.php:36
82   0.9779  18856096    Magento\Framework\App\Config\MetadataConfigTypeProcessor->processScopeData( )   .../MetadataConfigTypeProcessor.php:144
83   0.9779  18856096    Magento\Framework\App\Config\ConfigPathResolver->resolve( ) .../MetadataConfigTypeProcessor.php:117
84   0.9779  18856128    Magento\Framework\App\Config\ScopeCodeResolver->resolve( )  .../ConfigPathResolver.php:58
85   0.9779  18856128    Magento\Store\Model\Resolver\Store->getScope( ) .../ScopeCodeResolver.php:49
86   0.9779  18856128    Magento\Store\Model\StoreManagerInterface\Proxy->getStore( )    .../Store.php:30
87   0.9779  18856128    Magento\Store\Model\StoreManager->getStore( )   .../Proxy.php:119
88   0.9779  18856128    Magento\Store\Model\StoreRepository->getById( ) .../StoreManager.php:167
89   0.9786  18946424    Magento\Framework\Exception\NoSuchEntityException->__construct( )   .../StoreRepository.php:113
90   0.9786  18946424    Magento\Framework\Exception\NoSuchEntityException->__construct( )   .../NoSuchEntityException.php:37
91   0.9786  18946424    Magento\Framework\Phrase->render( ) .../LocalizedException.php:36
92   0.9786  18946800    Magento\Framework\Phrase\Renderer\Composite->render( )  .../Phrase.php:103
93   0.9786  18947176    Magento\Framework\Phrase\Renderer\Inline->render( ) .../Composite.php:46
94   0.9786  18947576    Magento\Framework\Translate\Inline\Proxy->isAllowed( )  .../Inline.php:61
95   0.9786  18947576    Magento\Framework\Translate\Inline->isAllowed( )    .../Proxy.php:107
96   0.9786  18947576    Magento\Framework\Translate\Inline\ConfigInterface\Proxy->isActive( )   .../Inline.php:118
97   0.9786  18947576    Magento\Backend\Model\Translate\Inline\Config->isActive( )  .../Proxy.php:95
98   0.9786  18947576    Magento\Backend\App\Config->isSetFlag( )    .../Config.php:42
99   0.9786  18947656    Magento\Framework\App\Config->get( )    .../Config.php:71
100  0.9786  18947656    Magento\Config\App\Config\Type\System->get( )   .../Config.php:131
101  0.9786  18948208    Magento\Config\App\Config\Type\System->loadDefaultScopeData( )  .../System.php:152
102  0.9787  18948208    Magento\Config\App\Config\Type\System\Reader\Proxy->read( ) .../System.php:191
103  0.9787  18948208    Magento\Config\App\Config\Type\System\Reader->read( )   .../Proxy.php:95
104  1.0479  19195896    Magento\Framework\App\Config\PostProcessorComposite->process( ) .../Reader.php:66
105  1.2299  21179784    Magento\Framework\App\Config\MetadataConfigTypeProcessor->process( )    .../PostProcessorComposite.php:36
106  1.2425  21433584    Magento\Framework\App\Config\MetadataConfigTypeProcessor->processScopeData( )   .../MetadataConfigTypeProcessor.php:144
107  1.2425  21433584    Magento\Framework\App\Config\ConfigPathResolver->resolve( ) .../MetadataConfigTypeProcessor.php:117
108  1.2425  21433616    Magento\Framework\App\Config\ScopeCodeResolver->resolve( )  .../ConfigPathResolver.php:58
109  1.2425  21433616    Magento\Store\Model\Resolver\Store->getScope( ) .../ScopeCodeResolver.php:49
110  1.2425  21433616    Magento\Store\Model\StoreManagerInterface\Proxy->getStore( )    .../Store.php:30
111  1.2425  21433616    Magento\Store\Model\StoreManager->getStore( )   .../Proxy.php:119
112  1.2425  21433616    Magento\Store\Model\StoreRepository->getById( ) .../StoreManager.php:167
113  1.2432  21545928    Magento\Framework\Exception\NoSuchEntityException->__construct( )   .../StoreRepository.php:113
114  1.2432  21545928    Magento\Framework\Exception\NoSuchEntityException->__construct( )   .../NoSuchEntityException.php:37
115  1.2432  21545928    Magento\Framework\Phrase->render( ) .../LocalizedException.php:36
116  1.2432  21546304    Magento\Framework\Phrase\Renderer\Composite->render( )  .../Phrase.php:103
117  1.2432  21546680    Magento\Framework\Phrase\Renderer\Inline->render( ) .../Composite.php:46
118  1.2432  21547080    Magento\Framework\Translate\Inline\Proxy->isAllowed( )  .../Inline.php:61
119  1.2432  21547080    Magento\Framework\Translate\Inline->isAllowed( )    .../Proxy.php:107
120  1.2432  21547080    Magento\Framework\Translate\Inline\ConfigInterface\Proxy->isActive( )   .../Inline.php:118
121  1.2432  21547080    Magento\Backend\Model\Translate\Inline\Config->isActive( )  .../Proxy.php:95
122  1.2432  21547080    Magento\Backend\App\Config->isSetFlag( )    .../Config.php:42
123  1.2432  21547160    Magento\Framework\App\Config->get( )    .../Config.php:71
124  1.2432  21547160    Magento\Config\App\Config\Type\System->get( )   .../Config.php:131
125  1.2432  21547712    Magento\Config\App\Config\Type\System->loadDefaultScopeData( )  .../System.php:152
126  1.2433  21547712    Magento\Config\App\Config\Type\System\Reader\Proxy->read( ) .../System.php:191
127  1.2433  21547712    Magento\Config\App\Config\Type\System\Reader->read( )   .../Proxy.php:95
128  1.3064  21795400    Magento\Framework\App\Config\PostProcessorComposite->process( ) .../Reader.php:66
129  1.4913  23779288    Magento\Framework\App\Config\MetadataConfigTypeProcessor->process( )    .../PostProcessorComposite.php:36
130  1.5040  24033088    Magento\Framework\App\Config\MetadataConfigTypeProcessor->processScopeData( )   .../MetadataConfigTypeProcessor.php:144
131  1.5040  24033088    Magento\Framework\App\Config\ConfigPathResolver->resolve( ) .../MetadataConfigTypeProcessor.php:117
132  1.5040  24033120    Magento\Framework\App\Config\ScopeCodeResolver->resolve( )  .../ConfigPathResolver.php:58
133  1.5040  24033120    Magento\Store\Model\Resolver\Store->getScope( ) .../ScopeCodeResolver.php:49
134  1.5040  24033120    Magento\Store\Model\StoreManagerInterface\Proxy->getStore( )    .../Store.php:30
135  1.5040  24033120    Magento\Store\Model\StoreManager->getStore( )   .../Proxy.php:119
136  1.5040  24033120    Magento\Store\Model\StoreRepository->getById( ) .../StoreManager.php:167
137  1.5046  24171544    Magento\Framework\Exception\NoSuchEntityException->__construct( )   .../StoreRepository.php:113
138  1.5046  24171544    Magento\Framework\Exception\NoSuchEntityException->__construct( )   .../NoSuchEntityException.php:37
139  1.5046  24171544    Magento\Framework\Phrase->render( ) .../LocalizedException.php:36
140  1.5047  24171920    Magento\Framework\Phrase\Renderer\Composite->render( )  .../Phrase.php:103
141  1.5047  24172296    Magento\Framework\Phrase\Renderer\Inline->render( ) .../Composite.php:46
142  1.5047  24172696    Magento\Framework\Translate\Inline\Proxy->isAllowed( )  .../Inline.php:61
143  1.5047  24172696    Magento\Framework\Translate\Inline->isAllowed( )    .../Proxy.php:107
144  1.5047  24172696    Magento\Framework\Translate\Inline\ConfigInterface\Proxy->isActive( )   .../Inline.php:118
145  1.5047  24172696    Magento\Backend\Model\Translate\Inline\Config->isActive( )  .../Proxy.php:95
146  1.5047  24172696    Magento\Backend\App\Config->isSetFlag( )    .../Config.php:42
147  1.5047  24172776    Magento\Framework\App\Config->get( )    .../Config.php:71
148  1.5047  24172776    Magento\Config\App\Config\Type\System->get( )   .../Config.php:131
149  1.5047  24173328    Magento\Config\App\Config\Type\System->loadDefaultScopeData( )  .../System.php:152
150  1.5048  24173328    Magento\Config\App\Config\Type\System\Reader\Proxy->read( ) .../System.php:191
...
<snip>endless repeating of the same method calls</snip>
...
991  10.9072 130513408   Magento\Config\App\Config\Type\System\Reader->read( )   .../Proxy.php:95
992  10.9072 130513408   Magento\Framework\App\Config\ConfigSourceAggregated->get( ) .../Reader.php:66
993  10.9072 130513408   Magento\Config\App\Config\Source\ModularConfigSource->get( )    .../ConfigSourceAggregated.php:40
994  10.9072 130513464   Magento\Framework\App\Config\Initial\Reader->read( )    .../ModularConfigSource.php:42
995  10.9072 130513464   Magento\Framework\App\Config\FileResolver->get( )   .../Reader.php:87
996  10.9072 130513464   Magento\Framework\Module\Dir\Reader->getConfigurationFiles( )   .../FileResolver.php:65
997  10.9072 130513464   Magento\Framework\Module\Dir\Reader->getFilesIterator( )    .../Reader.php:85
998  10.9072 130513464   Magento\Framework\Module\Dir\Reader->getFiles( )    .../Reader.php:110
999  10.9072 130513464   Magento\Framework\Module\ModuleList->getNames( )    .../Reader.php:126
1000 10.9072 130513464   Magento\Framework\Module\ModuleList->loadConfigData( )  .../ModuleList.php:101

@keharper
Copy link
Contributor

keharper commented Jun 5, 2018

@hostep Does anything in this topic need to be changed as a result of your PR?

https://devdocs.magento.com/guides/v2.2/extension-dev-guide/build/module-load-order.html

@hostep
Copy link
Contributor Author

hostep commented Jun 5, 2018

@keharper: I don't think so. Looks pretty good, but I'm no expert for those things.

But honestly, I have not idea why this change was necessary. Someone should do a deep dive in the code to figure out why the order of execution caused this problem, because this PR is probably only hiding a deeper problem.

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.

4 participants