odoo dynamic snippet does not works correctly for public user - dynamic

When i create dynamic snippet, it works correctly only if you log in like an administrator account, snippet uses data from the odoo model. So if you don't log in and go on the website as a public user from another browser, odoo displays a message, something like
"Odoo session is expired. The current page is about to be refreshed."
, and snippet uses default content from template(not data from database).
I didn't find an answer to my question in the documentation or on the forums. Please, if anyone has encountered such a problem, write how you solved it. Thank you in advance. p.s.: clearing the cache does not help
I didn't find an answer to my question in the documentation or on the forums. Please, if anyone has encountered such a problem, write how you solved it. Thank you in advance.
p.s.: clearing the cache does not help

Related

Can't upload new product image backend prestashop

I need a little help here, i hope someone here can help me for a hint or clue.
First of all, I'm not programmer. I'm just web admin who can use cms and basic html.
I was using PrestaShop for my online shop. In the backend, I can't upload new product image anymore.
The error just blank without any sign for me. Here for the screenshot:
I appreciate it, if someone can help me, thanks, and sorry for my english.
#PanjiWiyono This errors don't really give us a quality information, but this is a start. In your JS code should be a ajax query that has an error when converting results to json (first error). You should check what's the exact error that this request is returning by inspecting in browser developer console.
If you detect that the second error is in fact, the response of this ajax query, well now we almost have the problem.
The second error should be related to data size. Check this: Error while sending QUERY packet
Anyway, you should check DbPDO.php class. You can use debug_backtrace function to display the complete stack, but definitly if error is related to a basic PHP class issue you will have not help knowing wich classes are in calling stack.
Good luck.
Simple solution
maybe a extra module is in a conflict with the prestashop core files. go to advanced parameters, performance and disable third party modules and try again.
other option is reupload admin folder with other name and
js folder check again
hope it will work for you

BIM 360 field API login issues

Frustrating issue with attempting to use REST to login to the BIM 360 Field API, it was suggested that to use the postman application in order to ensure that my code wasn't an issue, however I'm now getting an unauthorized error, this has been attempted with an admin account and a developer account with the same response (login details are definitely valid), I was wandering if anyone has encountered this problem before or has any idea how would go about getting past this, I need to get the ticket response in order to go any further with developing an application for this, I'm already in contact with someone from Autodesk but due to timezone differences responses are difficult!
I've attached a picture to highlight the simplicity of what I'm attempting to do with no joy!
Thanks in advance
Dan
In case somebody else hits the same issue, FYI -
Dan and I looked at this issue, and we learned (in a hard way) that the base URL for BIM 360 Field in European region is:
https://bim360field.eu.autodesk.com
Notice "eu" in the URL. In the U.S., it is https://bim360field.autodesk.com
I wrote a post about this, too, for future reference:
https://fieldofviewblog.wordpress.com/2016/08/18/base-url-for-bim-360-field-in-european-countries/
I also found it worked when I used https but not http although the examples in the help use http.

Worldpay redirection issue - Worldpay module

I hope somebody can help with this one.
I managed to make a test transaction through Worldpay which is executed after I click on Make payment. However, for some reason it doesn't redirect back to the website and instead we get Not found message refering to validation.php
Anybody had this issue and managed to resolve it?
Any help would be really appreciated.
Worldpay people are advising me to use a meta refresh to redirect the shopper back to the website:
Anyone would know where to put this code and how to make it work?
There may be two things wrong.
1) You have not placed correct send back url in your worldpay admin panel.
2) You dont have the validation.php in your prestashop payment module for worldpay, or the file dont have enough permissions.
Please check both of them.
Thank you

asp.net 4.0 - routing root pages and validator controls issue

I am simplifying my question:
When I route all my .aspx pages on my web app root the following way in global.asax:
routes.MapPageRoute("RootPages", "{file}", "~/{file}.aspx");
it all works fine as far as the routing goes, but none of my requiredfieldvalidators are firing anymore, it just does a full postback without validating my fields. When I remove the above code from the validators work again.
Can someone please verify if they are getting the same problem, or am I doing something wrong?
*When you test this please make sure you do a hard refresh (CTRL-F5) on your browser screen after you add or remove the code. BTW I have tested this on IE, FireFox and Chrome, they all behave the same way.
Thank you,
The answer it in this piece of code that needs to be added to the global.aspx:
routes.Ignore("{resource}.axd/{*pathInfo}");
please refer to this article for more details:
article
I hope this may help someone, I'd spent over too days scratching my head over this.

Is it possible to give edit issue permission if there's not work log on issue in JIRA?

I configured that jira-users group members can create issues.
And I want to give edit permission to jira-users but only if the issue hasnot a work log in it
Is this possible in JIRA 4.4.x
Thanks
So you can only edit an issue if work hasn't started on it? Tricky. I think I'd end up editing system-issueoperations-plugin.xml and changing the condition elements to add a new condition. The new condition would be a custom condition that checked whether the issue has at least one work log.
You can change issue permissions so that only assignee can edit this issue. So when developer starts work on the issue he assigns himself to this issue and only he can edit it.
Documentation is here - http://confluence.atlassian.com/display/JIRA044/Managing+Project+Permissions