Skip to content

Comments

fixed check funtion in mgmtroot directory#300

Open
iyartsev wants to merge 2 commits intoIBM-Security:masterfrom
iyartsev:master
Open

fixed check funtion in mgmtroot directory#300
iyartsev wants to merge 2 commits intoIBM-Security:masterfrom
iyartsev:master

Conversation

@iyartsev
Copy link

os.path.join(id, name) leads to incorrect paths if running under Windows. Diectory paths in management root use always "/" no matter where the script is run.

@iyartsev
Copy link
Author

I added another commit that fixes mappingrule.set:
If there was a mapping rule "Map" with js file "map.js" and the mapping rule is uploaded with a new name "NewMap" but the same java script file name (it happens, wenn the name is changed) it caused an exception. Now it is checked if the mapping rule with the same javascipt file nae already exists and if so, this mapping rule is deleted before adding the new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant