Uploaded image for project: 'Ibexa IBX'
  1. Ibexa IBX
  2. IBX-1249

PHPStormPass causes error on Ibexa Cloud in "Dev" mode

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Medium Medium
    • 4.0.0, Customer request, 3.3.14
    • 3.3.10
    • None
    • None
    • Ibexa Commerce, Ibexa Content, Ibexa Experience

    Description

      Steps to reproduce:

      Result:

      PHPStormPass causes an exception:

      Uncaught Exception: Cannot rename "/tmp/ide-twig.jsonoMhQHg" to "/app/ide-twig.json": rename(/tmp/ide-twig.jsonoMhQHg,/app/ide-twig.json): Read-only file system

      Note: 
      There is a part in ezsystems/ezplatform-core bundle that should disable PHPStorm ezdesign features:

      # ezsystems/ezplatform-core/src/EzPlatformCoreBundle/bundle/DependencyInjection/EzPlatformCoreExtension.php#176
      if ($_SERVER['PLATFORM_PROJECT_ENTROPY'] ?? false) {
      // Disable PHPStormPass as we don't have write access & it's not localhost
      $container->setParameter('ezdesign.phpstorm.enabled', false);
      }

      But this is later overwritten here:

      # ezsystems/ezplatform-design-engine/bundle/DependencyInjection/EzPlatformDesignEngineExtension.php#53
          // PHPStorm settings
          $container->setParameter('ezdesign.phpstorm.enabled', $config['phpstorm']['enabled']);   

       
       

       

       

      Designs

        Attachments

          Activity

            People

              Unassigned Unassigned
              thorsten.reiter@ibexa.co Thorsten Reiter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: