Comments (9)
Hi Vinai, are you getting that error when using Alt+M (option+M) > Set Path to Mage.php only? can you set the path to Mage.php from the Settings > Magicento panel?
from magicento.
I can't try that - I can't change the setting any more:
- open the settings dialog and go to the Magicento panel
- change the path to Mage.php to the current project
- click Apply and OK or OK directly
- open the dialog again
- the old value still is present
from magicento.
Vinai, what version of Magicento, PHPStorm, and OS are you using?
Also, is this happening with every magento project? for example what happens if you create a new local and clean magento project?
Finally, when you click OK on the settings panel, it doesn't throw any exception?
from magicento.
Versions I am using:
- Magicento 0.6
- PHPStorm 4.0.3
- OS X 10.7.4
When I open a fresh project on a vanilla Magento installation no error happens.
When clicking on the OK button of the settings panel I don't get an exception.
Maybe this helps:
For some projects I keep modules in a separate folder in the Magento root that is called .modman.
The modules live in subdirectories of the .modman directory, for example
.modman/moduleA
.modman/moduleB
...
Then I use the modman script to symlink the files from those directories into the Magento code base to the appropriate directory branches. This serves the purpose of having each module in it's own repository, and enables me to manage the whole site through git and link to specific module revisions via git submodules.
A result of this is that there might be modules in the .modman directory that are not linked into the Magento source.
So even though there are PHP files below .modman/moduleA in which Mage::getModel('moduleA/the_class')
is called, Magento itself can't resolve the class because moduleA isn't deployed into Magento.
Just an idea. Maybe the error is completely unrelated.
from magicento.
mmm... yes maybe that could break some features, I will try to use .modman and see what happens, anyway, it should not break the settings panel. Are the checkboxes saved? the path to php?
from magicento.
In the project I configured the settings for the first time I can change the values (path to Mage.php and/or Checkboxes). When I open another project, changes in the Magicento settings are not saved (neither checkboxes nor the path).
from magicento.
Vinai, I think I don't understand exactly the problem, magicento is working for new projects without .modman? is working for new projects with .modman? is working (all the features) but when you restart the project the settings are cleared? please feel free to add me to skype (enriquepiatti) if you prefer that so we can see the problem together.
from magicento.
Thanks for the Skype call. Just for sake of completeness: the issue is unrelated to undeployed modules in .modman.
The settings can't be changed when multiple projects are open. More specifically, they can't be changed in any but the original project where the setting was created the first time.
from magicento.
Thank you! Vinai for reporting the issue, I will try to fix it in the next release so you can open multiple projects at the same time.
Regards !
from magicento.
Related Issues (20)
- Enhancement: Ability to run Commands in a VM / Remotely
- [Magicento 3.1.0] java.lang.NullPointerException after Alt+M in PHPStorm 2020.1.4 HOT 1
- [Magicento2] Magento2 source code must be inside your PhpStorm project folder HOT 1
- [Magento2] Add Patch Data capability to setup feature
- Failed to map data for input while indexing since PhpStorm 2020.3 HOT 26
- 2.4.0 Marked as incompatible
- 3 months after I purchased my license its saying its expired HOT 5
- [Magicento 3.1.7] PhpStorm 2021.2 - IndexNotReadyException HOT 1
- [Jetbrains Gateway] Plugin 'Magicento' requires plugin 'com.jetbrains.php' to be installed HOT 4
- Is this plugin still being maintained? HOT 2
- Exception creating module for magento 1 HOT 13
- Magicento 2: Add support for local composer package repository HOT 1
- I can add my license key HOT 2
- [Magicento 3.3.4] PHPStorm 2023.01 - java.lang.NoSuchMethodError com.intellij.codeInsight.lookup.LookupElementBuilder.setPresentableText(java.lang.String) HOT 1
- [Magicento 3.3.6] TypeProvider contract violation? by class com.magicento.extensions.FactoryTypeProvider3 on $this->$method($args) HOT 2
- [Magicento 3.3.6] com.intellij.diagnostic.PluginException: TypeProvider contract violation? by class com.magicento.extensions.FactoryTypeProvider3 on $this->() [Plugin: Magicento] HOT 2
- [Magicento 3.3.6] java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "<local7>" is null HOT 2
- [Magicento 3.3.6] com.intellij.diagnostic.PluginException: TypeProvider contract violation? by class com.magicento.extensions.FactoryTypeProvider3 on self:: HOT 3
- Magicento 3.3.16 com.intellij.openapi.project.IndexNotReadyException: Please change caller according to com.intellij.openapi.project.IndexNotReadyException documentation HOT 1
- Magicento 2: do not generate XML nodes with empty bodies, instead self-close them
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magicento.