•  
      request #14943 Invalid generated assets for .po files
    Infos
    #14943
    Nicolas Terray (nterray)
    2020-06-19 08:53
    2020-06-03 14:34
    16193
    Details
    Invalid generated assets for .po files
    When a .po folder contains some build files (.mo, .po~, template.pot), then the assets that are published contains invalid entries. For example:

    $ cat src/www/assets/core/project/project-registration-po-0-53271732b94aebc8821a.js
    (window.webpackJsonp=window.webpackJsonp||[]).push([[7],{63:function(e,o){throw new Error("Module parse failed: Unexpected character '�' (1:0)\nYou may need a
    n appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders\n(Source
    code omitted for this binary file)")}}]);

    The build of assets should not try to compile other files than .po.
    Dev tools
    All
    Empty
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Nicolas Terray (nterray)
    Closed
    2020-06-19
    Attachments
    Empty
    References
    Referencing request #14943
    Referenced by request #14943

    Artifact Tracker v5

    rel #14816 11.16

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2020-06-19 08:53
    Integrated into Tuleap 11.15.99.174.

    It should be noted the issue can only happen in a dev env.

    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2020-06-19
    User avatar
    Please review gerrit #19284

    • Category set to Dev tools
    • Status changed from New to Under review
    • Assigned to changed from None to Nicolas Terray (nterray)
    • Reported in version set to All