Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

deploy test module error: undefined map for E string #74

Closed
peterskim12 opened this issue Dec 21, 2012 · 1 comment
Closed

deploy test module error: undefined map for E string #74

peterskim12 opened this issue Dec 21, 2012 · 1 comment
Assignees
Labels

Comments

@peterskim12
Copy link
Contributor

When I try to deploy test modules to the module DB, I get an error saying undefined map for E string.

I tracked down the issue to deploy/lib/server_config.rb (lines 646, 582) and deploy/lib/xcc.rb line 70. The code in server_config.rb is expecting the values from the Roxy::ContentCapabiltiy class to be maps but some of them are string.

I just modified the EXECUTE value to be ["E"] instead of "E". I'm assuming you'll want to make this change for READ, INSERT and UPDATE also.

@dmcassel
Copy link
Collaborator

Peter, I fixed this by addressing the underlying bug in server_config.rb's permissions function, which was returning nothing when given a single capability. Pushed to the dev branch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants