Skip to content

WIP 9.0 add cmis web proxy#4

Closed
lmignon wants to merge 34 commits into
9.0from
9.0-add-cmis_web_proxy
Closed

WIP 9.0 add cmis web proxy#4
lmignon wants to merge 34 commits into
9.0from
9.0-add-cmis_web_proxy

Conversation

@lmignon

@lmignon lmignon commented Sep 10, 2016

Copy link
Copy Markdown
Member

No description provided.

@lmignon lmignon added the WIP label Sep 10, 2016
@lmignon lmignon changed the title 9.0 add cmis web proxy WIP 9.0 add cmis web proxy Sep 10, 2016
Comment thread cmis_web_proxy/controllers/cmis.py Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lmignon params.get('token') may be None => stack trace

    token = params.get('token').strip()
AttributeError: 'NoneType' object has no attribute 'strip'

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sbidoul You're right. Moreover, the logic here is suspicious. The fact that you have this error reveals that the logic is called whereas the apply_odoo_security is False. By looking deeper into the code, I've found a place where I call this method without checking to 'apply_odoo_security` https://github.com/acsone/alfodoo/blob/9.0-add-cmis_web_proxy/cmis_web_proxy_alf/controllers/alfresco.py#L40. I must to also change this method.

@lmignon lmignon force-pushed the 9.0-add-cmis_web_proxy branch from 387a4f3 to 5749a11 Compare September 14, 2016 15:49
lmignon and others added 6 commits September 14, 2016 21:20
Patch BaseModel._field_create to take into account the 'ttype' attribute defined on the field class as value for the ttype comlumn in the ir_model_fields table in place of the 'type' attribute
Comment thread cmis_alf/__openerp__.py
'summary': 'Alfresco extension for the CMIS Connector',
'author': "ACSONE SA/NV Community Association (OCA)",
'author': "ACSONE SA/NV",
'website': 'https://odoo-community.org/',

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@lmignon website: acsone.eu for the moment

@lmignon

lmignon commented Oct 10, 2016

Copy link
Copy Markdown
Member Author

dev moved to https://github.com/acsone/alfodoo-dev

@lmignon lmignon closed this Oct 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants