Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 135487

Summary: HTTP config won't save and exit
Product: [Fedora] Fedora Reporter: parq <pablo.romeroquinteros>
Component: system-config-httpdAssignee: Phil Knirsch <pknirsch>
Status: CLOSED WORKSFORME QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-10-20 14:37:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 119849    
Bug Blocks:    

Description parq 2004-10-12 23:57:44 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3)
Gecko/20040922

Description of problem:
After run it as root or user (prompting for SU pass), all changes can
be made to the http configuration.

Then the 'OK' is pressed and a confirmation dialog (Save and exit?) is
pressed 'OK', nothing happens. The configuration tools is still there
and the changes aren't saved.

I tried to comment the '<>' in line 10 of
/usr/share/system-config-httpd/httpd.conf.xsl, as said in the #14 of
bug    #119849, but it's still not working.

I search and do everything as said the following bugs, but it's not fixed:
#119849
#124229


Version-Release number of selected component (if applicable):
system-config-httd-1.2.0-3

How reproducible:
Always

Steps to Reproduce:
1. Open the tool system-config-httpd
2. Make changes
3. Save the changes and exit (it won't work)
    

Actual Results:  The changes aren't saved and the tool is still there!

Expected Results:  To save the changes and exit.

Additional info:

Traceback (most recent call last):
  File "/usr/share/system-config-httpd/ApacheConf.py", line 273, in
on_main_ok_button_clicked
    if not control.write():
  File "/usr/share/system-config-httpd/ApacheControl.py", line 63, in
write
    return stack.apache.write(force)
  File "/usr/share/system-config-httpd/ApacheGizmo.py", line 770, in write
    return ApacheBase.write (force)
  File "/usr/share/system-config-httpd/ApacheBase.py", line 4346, in write
    proc.appendStylesheet(STY)
  File "/usr/lib/python2.3/site-packages/Ft/Xml/Xslt/Processor.py",
line 178, in appendStylesheet
    sty = self._styReader.fromSrc(iSrc, extElements=self.extElements)
  File
"/usr/lib/python2.3/site-packages/Ft/Xml/Xslt/StylesheetReader.py",
line 160, in fromSrc
    stylesheet =  self._parseSrc(new_source)
  File
"/usr/lib/python2.3/site-packages/Ft/Xml/Xslt/StylesheetReader.py",
line 180, in _parseSrc
    success = self.parser.ParseFile(src.stream)
  File
"/usr/lib/python2.3/site-packages/Ft/Xml/Xslt/StylesheetHandler.py",
line 348, in startElement
    raise e
Ft.Xml.Xslt.XsltException: In stylesheet
file:///usr/share/system-config-httpd/httpd.conf.xsl, line 2, column 0:
Invalid number attribute value '1.0'

Comment 1 Phil Knirsch 2004-10-13 13:02:47 UTC
That looks like a different problem:

Line 2 looks like this:

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">

And it's obviously complaining about the 1.0, but that has been there
for ages.

Could you please deinstall system-config-httpd completelt and
reinstall it and see if the problem persists?

You might need to update 4Suite and/or libxml too.

Read ya, Phil

Comment 2 Phil Knirsch 2004-10-20 14:37:50 UTC
Closing as all relevant stuff has been discussed here:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=119849

Read ya, Phil

Comment 3 parq 2004-10-30 11:10:50 UTC
ok. working

i've changed /usr/share/system-config-httpd/httpd.conf.xsl:

- from: <xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
- to:  <xsl:stylesheet
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1">

system info:
fedora core 2
system-config-httpd-1.2.0-3
4Suite-1.0-1.0.a3.1
libxml-1.8.17-10.1.1

tx!