Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-20991

Outdated dependencies are installed while building ezpublish-platform

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: High High
    • Resolution: Fixed
    • Affects Version/s: 5.2-dev
    • Fix Version/s: QA tracked issues
    • Component/s: Platform stack
    • Labels:
    • Environment:

      Server OS: Red Hat 6.4
      PHP: 5.3.3
      Database: MySQL 5.1.61
      Browser: Firefox 21.0

    • Sprint:
      Aconcagua Sprint 1

      Description

      For instance, a 3 month old version of the demo bundle is installed which results in:

      php ezpublish/console assetic:dump --env=prod web

      You'll get the following error

      Dumping all prod assets.
      Debug mode is off.
       
      10:35:09 [file+] web/bundles/ezdemo/js/all.js
       
       
                                                                                                                 
        [RuntimeException]                                                                                       
        The source file "/var/www/apache2php53/tmp2/ezpublish5/ezpublish/../web/extension/ezjscore/design/stand  
        ard/lib/yui/3.7.1/build/yui/yui-min.js" does not exist.                                                  
                                                                                                                 
       
       
      assetic:dump [--watch] [--force] [--period="..."] [write_to]
      
      

        Activity

        Pedro Resende (Inactive) created issue -
        Hide
        Vidar Langseid added a comment -

        Tested on ezpublish5-ee-bul-tarballs········ build #609

        Show
        Vidar Langseid added a comment - Tested on ezpublish5-ee-bul-tarballs········ build #609
        André Rømcke made changes -
        Field Original Value New Value
        Status Open [ 1 ] Backlog [ 10000 ]
        André Rømcke made changes -
        Status Backlog [ 10000 ] InputQ [ 10001 ]
        Hide
        André Rømcke added a comment -

        Seems like composer.lock/json is outdated, at least for demo bundle given it is looking for yui 3.7.1 and not 3.9.0.

        Show
        André Rømcke added a comment - Seems like composer.lock/json is outdated, at least for demo bundle given it is looking for yui 3.7.1 and not 3.9.0.
        André Rømcke made changes -
        Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ]
        Vidar Langseid made changes -
        Rank Ranked higher
        Damien Pobel (Inactive) made changes -
        Assignee Jérôme Vieilledent [ jerome.vieilledent@ez.no ] Damien Pobel [ damien.pobel@ez.no ]
        Damien Pobel (Inactive) made changes -
        Status InputQ [ 10001 ] Development [ 3 ]
        Damien Pobel (Inactive) made changes -
        Summary [RuntimeException] when running php ezpublish/console assetic:dump --env=prod web Outdate dependencies are installed while building ezpublish-platform
        Damien Pobel (Inactive) made changes -
        Description Untar eZ Publish and run in the console

        php ezpublish/console assetic:dump --env=prod web

        You'll get the following error

        {noformat}
        Dumping all prod assets.
        Debug mode is off.

        10:35:09 [file+] web/bundles/ezdemo/js/all.js


                                                                                                                   
          [RuntimeException]
          The source file "/var/www/apache2php53/tmp2/ezpublish5/ezpublish/../web/extension/ezjscore/design/stand
          ard/lib/yui/3.7.1/build/yui/yui-min.js" does not exist.
                                                                                                                   


        assetic:dump [--watch] [--force] [--period="..."] [write_to]

        {noformat}
        For instance, a 3 month old version of the demo bundle is installed which results in:

        php ezpublish/console assetic:dump --env=prod web

        You'll get the following error

        {noformat}
        Dumping all prod assets.
        Debug mode is off.

        10:35:09 [file+] web/bundles/ezdemo/js/all.js


                                                                                                                   
          [RuntimeException]
          The source file "/var/www/apache2php53/tmp2/ezpublish5/ezpublish/../web/extension/ezjscore/design/stand
          ard/lib/yui/3.7.1/build/yui/yui-min.js" does not exist.
                                                                                                                   


        assetic:dump [--watch] [--force] [--period="..."] [write_to]

        {noformat}
        Damien Pobel (Inactive) made changes -
        Remaining Estimate 0 minutes [ 0 ]
        Time Spent 1 hour [ 3600 ]
        Worklog Id 35048 [ 35048 ]
        Damien Pobel (Inactive) made changes -
        Summary Outdate dependencies are installed while building ezpublish-platform Outdated dependencies are installed while building ezpublish-platform
        Damien Pobel (Inactive) made changes -
        Time Spent 1 hour [ 3600 ] 1 hour, 30 minutes [ 5400 ]
        Worklog Id 35048 [ 35048 ]
        Damien Pobel (Inactive) logged work - 07/Jun/13 1:04 PM - edited
        • Time Spent:
          2 hours
           

          pr

        Hide
        Vidar Langseid added a comment -

        Workaround suggested by DP:

            curl -sS https://getcomposer.org/installer | php
            php composer.phar update ezsystems/demobundle

        Show
        Vidar Langseid added a comment - Workaround suggested by DP: curl -sS https://getcomposer.org/installer | php php composer.phar update ezsystems/demobundle
        Vidar Langseid made changes -
        Link This issue blocks EZP-21000 [ EZP-21000 ]
        André Rømcke made changes -
        Sprint Aconcagua Sprint 1 [ 10 ]
        André Rømcke made changes -
        Rank Ranked higher
        Damien Pobel (Inactive) made changes -
        Time Spent 1 hour, 30 minutes [ 5400 ] 2 hours [ 7200 ]
        Worklog Id 35048 [ 35048 ]
        Damien Pobel (Inactive) made changes -
        Time Spent 2 hours [ 7200 ] 2 hours, 30 minutes [ 9000 ]
        Worklog Id 35120 [ 35120 ]
        Hide
        Damien Pobel (Inactive) added a comment -

        Finally fixed by setting up the autosync between the two repositories.

        Show
        Damien Pobel (Inactive) added a comment - Finally fixed by setting up the autosync between the two repositories.
        Damien Pobel (Inactive) made changes -
        Status Development [ 3 ] Devlopment done [ 5 ]
        Damien Pobel (Inactive) made changes -
        Status Devlopment done [ 5 ] Documentation done [ 10011 ]
        Vidar Langseid made changes -
        Status Documentation done [ 10011 ] QA [ 10008 ]
        Assignee Damien Pobel [ damien.pobel@ez.no ] Vidar Langseid [ vidar.langseid@ez.no ]
        Hide
        Vidar Langseid added a comment -

        Builds are working fine

        Show
        Vidar Langseid added a comment - Builds are working fine
        Vidar Langseid made changes -
        Assignee Vidar Langseid [ vidar.langseid@ez.no ]
        Status QA [ 10008 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        Damien Pobel (Inactive) logged work - 11/Jun/13 1:05 PM - edited
        • Time Spent:
          1 hour
           

          ...

        Damien Pobel (Inactive) made changes -
        Resolution Fixed [ 1 ]
        Status Closed [ 6 ] Reopened [ 4 ]
        Damien Pobel (Inactive) made changes -
        Time Spent 2 hours, 30 minutes [ 9000 ] 3 hours [ 10800 ]
        Worklog Id 35120 [ 35120 ]
        Damien Pobel (Inactive) made changes -
        Status Reopened [ 4 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]
        André Rømcke made changes -
        Workflow eZ Engineering Scrumban Workflow [ 55985 ] EZ* Development Workflow [ 83887 ]
        Alex Schuster made changes -
        Workflow EZ* Development Workflow [ 83887 ] EZEE Development Workflow [ 122509 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Backlog Backlog
        4h 30m 1 André Rømcke 06/Jun/13 4:06 PM
        Backlog Backlog InputQ InputQ
        4s 1 André Rømcke 06/Jun/13 4:06 PM
        InputQ InputQ Development Development
        18h 37m 1 damien.pobel@ez.no 07/Jun/13 10:44 AM
        Development Development Development Done Development Done
        4d 28m 1 damien.pobel@ez.no 11/Jun/13 11:12 AM
        Development Done Development Done Documentation Review done Documentation Review done
        11s 1 damien.pobel@ez.no 11/Jun/13 11:13 AM
        Documentation Review done Documentation Review done QA QA
        1h 33m 1 Vidar Langseid 11/Jun/13 12:46 PM
        QA QA Closed Closed
        18s 1 Vidar Langseid 11/Jun/13 12:46 PM
        Closed Closed Reopened Reopened
        1d 21h 55m 1 damien.pobel@ez.no 13/Jun/13 10:41 AM
        Reopened Reopened Closed Closed
        2s 1 damien.pobel@ez.no 13/Jun/13 10:41 AM

          People

          • Assignee:
            Unassigned
            Reporter:
            Pedro Resende (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 3 hours
              3h

                Agile