RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 623577 - [fix available] Ooo.org do not register scripting providers
Summary: [fix available] Ooo.org do not register scripting providers
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: openoffice.org
Version: 6.0
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: David Tardon
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-12 08:31 UTC by Tomas Pelka
Modified: 2021-07-13 08:39 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-09-13 11:05:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
manifest for BeanShell (397 bytes, text/xml)
2010-08-12 10:21 UTC, David Tardon
no flags Details
manifest for JavaScript (398 bytes, text/xml)
2010-08-12 10:21 UTC, David Tardon
no flags Details
manifest for Python (384 bytes, text/xml)
2010-08-12 10:21 UTC, David Tardon
no flags Details
create manifests for the extensions during install (3.77 KB, patch)
2010-08-12 13:30 UTC, David Tardon
no flags Details | Diff
manifest.xml template (375 bytes, text/xml)
2010-08-12 13:30 UTC, David Tardon
no flags Details

Description Tomas Pelka 2010-08-12 08:31:48 UTC
Description of problem:
Ooo.org do not register any scripting providers (Python, JavaScript and BeanShell). To make this stuff working we need to:
1) make an manifest file
2) register provider manually  
# unopkg add --shared --link /usr/share/openoffice.org/extensions/ScriptProviderForPython.zip

David could you please provide more info if needed, thanks.


Version-Release number of selected component (if applicable):
openoffice.org-langpack-ar-3.2.1-19.6.el6

How reproducible:
100%

Steps to Reproduce:
1. Install openoffice.org-pyuno/openoffice.org-rhino/openoffice.org-bsh.
2. Open some file with macros.
3. Open Tools->Macros->Oganize Macros


Actual results:
You can see only "OpenOffice.org Basic".

Expected results:
Except "OpenOffice.org Basic" you should see also "Python", "JavaScript" and "BeanShell".

Additional info:

Comment 3 RHEL Program Management 2010-08-12 08:58:30 UTC
This issue has been proposed when we are only considering blocker
issues in the current Red Hat Enterprise Linux release.

** If you would still like this issue considered for the current
release, ask your support representative to file as a blocker on
your behalf. Otherwise ask that it be considered for the next
Red Hat Enterprise Linux release. **

Comment 4 David Tardon 2010-08-12 10:20:05 UTC
This is caused by a change in 3.2.1, where directories without a manifest are no longer recognized as extensions, so after installation of a package containing one of the providers its registration in %post fails. The providers can be registered manually as follows (example for JavaScript):

1. get the manifest.xml for JavaScript
2. mkdir /usr/share/openoffice.org/extensions/ScriptProviderForJavaScript.zip/META-INF
3. cp manifest.xml /usr/share/openoffice.org/extensions/ScriptProviderForJavaScript.zip/META-INF
4. unopkg add --shared --link --force /usr/share/openoffice.org/extensions/ScriptProviderForJavaScript.zip

Comment 5 David Tardon 2010-08-12 10:21:01 UTC
Created attachment 438390 [details]
manifest for BeanShell

Comment 6 David Tardon 2010-08-12 10:21:24 UTC
Created attachment 438391 [details]
manifest for JavaScript

Comment 7 David Tardon 2010-08-12 10:21:48 UTC
Created attachment 438392 [details]
manifest for Python

Comment 8 David Tardon 2010-08-12 13:30:06 UTC
Created attachment 438438 [details]
create manifests for the extensions during install

Comment 9 David Tardon 2010-08-12 13:30:44 UTC
Created attachment 438440 [details]
manifest.xml template

Comment 11 RHEL Program Management 2011-01-07 15:33:49 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 13 RHEL Program Management 2011-07-05 23:47:31 UTC
This request was evaluated by Red Hat Product Management for
inclusion in the current release of Red Hat Enterprise Linux.
Because the affected component is not scheduled to be updated
in the current release, Red Hat is unfortunately unable to
address this request at this time. Red Hat invites you to
ask your support representative to propose this request, if
appropriate and relevant, in the next release of Red Hat
Enterprise Linux. If you would like it considered as an
exception in the current release, please ask your support
representative.

Comment 14 David Tardon 2011-09-13 10:54:37 UTC
We can fix this, but it has been rejected by PM too many times already, hence
we have decided not to propose it again.

Comment 15 RHEL Program Management 2011-09-13 11:05:19 UTC
Development Management has reviewed and declined this request.  You may appeal
this decision by reopening this request.


Note You need to log in before you can comment on or make changes to this bug.