glpi install fails due to improper packaging

Bug #1282606 reported by lpirotte
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
glpi (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Until ubuntu 12.04 :
- Sencha Ext JS was bundled in the GLPI package & installed in /usr/share/glpi/lib/extjs
- TinyMCE was also bundled & installed in /usr/share/glpi/lib/tiny_mce/

These two librairies are required by GLPI to correctly work.

In 13.10 Sencha Ext JS & TinyMCE were no more bundled in the GLPI package & GLPI is not functionning correctly after the package installation due to lack of dependencies & absence of symbolic links.

If a dependency to the TinyMCE package is correcly configured in the GLPI package, there is no dependency to libjs-extjs is not configured.

In order to properly work,
- a dependency to libjs-extjs must be added in the glpi package
- a symbolic link to libjs must be configured : ln -s /usr/share/javascript/extjs/ /usr/share/glpi/lib/extjs
- a symbolic link to tinyMCE must be configured : ln -s /usr/share/tinymce/www/ /usr/share/glpi/lib/tiny_mce

But it isnt sufficient because the package libjs-extjs doesn't contents localisation files provided by Sencha which still cause glpi to fail (see apache2 access log file) :
GET /glpi/lib/extjs/locale/ext-lang-en.js HTTP/1.1" 404

I didn't find any package including these files and the only way I had solve this issue is to download them from the Sencha web site and copy them into /usr/share/javascript/extjs/locales/

I thing that to neatly solve this issue, these files have to be included in the libjs-extjs package or in a new "libjs-extjs-locales" package.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glpi (Ubuntu):
status: New → Confirmed
Revision history for this message
rashmani (filippo-f) wrote :

Hi,

problem still exists in Ubuntu 16.04.5 64 bit package, as of today. Installing from the archive works fine.

Filippo

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.