Task #7343 (closed)
Bug: broken bin/omero config def
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | major | Milestone: | OMERO-4.4 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-11-29 (3) |
Description
~/git/dist $ bin/omero config def default ~/git/dist $ bin/omero config def x ~/git/dist $ bin/omero config def default
Test is also failing:
~/git/components/tools/OmeroPy $ python test/clitest/prefs.py TestPrefs.testDrop F ====================================================================== FAIL: testDrop (__main__.TestPrefs) ---------------------------------------------------------------------- Traceback (most recent call last): File "test/clitest/prefs.py", line 138, in testDrop self.assertStdout(["x"]) File "test/clitest/prefs.py", line 42, in assertStdout self.assertEquals(set(args), set(self.cli.OUTPUT)) AssertionError: set(['x']) != set(['default']) ---------------------------------------------------------------------- Ran 1 test in 0.040s FAILED (failures=1)
Change History (3)
comment:1 Changed 12 years ago by jmoore
comment:2 Changed 12 years ago by jmoore
- Remaining Time changed from 0.1 to 0
- Resolution set to fixed
- Status changed from new to closed
Fixed locally. To be pushed to sprint4-bugs. The separation made was that OMERO_CONFIG=xyz would not change the active saved value of the config.xml file, whereas a user specification, either via bin/omero config def abc or ConfigXml(env_config="abc") would set the value.
comment:3 Changed 12 years ago by jmoore <josh@…>
(In [1ddf8c073971f966f1f9fc35cbad995b1b0f2311/ome.git]) Fix overly strict config default (Fix #7343)
Related to this commit:
which changed the default method in omero/config.py