KIZI / sewebar-cms

Automatically exported from code.google.com/p/sewebar-cms
1 stars 0 forks source link

New DM Task redirect #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When creating new DM Task, browser is redirected to URL: 
http://sewebar.lmcloud.vse.cz. This URL is hardcored, which is not good at all 
and it should have been fixed long time ago in some previous issue. I'm afraid 
our demo won't work because of this... If there are any other hardcored 
redirects, fix them as well.

Original issue reported on code.google.com by ra...@skrabal.me on 6 Jan 2013 at 12:12

GoogleCodeExporter commented 9 years ago
The URL for redirect is not harcoded. The problem is, that the iframe pages are 
loaded from server sewebar.lmcloud.vse.cz, not from sewebar-demo.lmcloud.vse.cz.

Original comment by stanislav.vojir on 7 Jan 2013 at 8:40

GoogleCodeExporter commented 9 years ago
The problem is I'm running I:ZI Miner on localhost and calling DBConnect on 
different server. It gets redirected to sewebar.lmcloud.vse.cz after new DM 
task is created. This causes problem f.e. for the integration tests.

Original comment by ra...@skrabal.me on 10 Jan 2013 at 8:29

GoogleCodeExporter commented 9 years ago

Original comment by ra...@skrabal.me on 2 Feb 2013 at 1:35

GoogleCodeExporter commented 9 years ago
If you start creating of "New Task" using the right (new) URL, you can add 
attribute iziMinerUrl. This URL will be used for redirect after creation of new 
task.

So you should start with URL:
/index.php?option=com_dbconnect&controller=izi&task=newTask&tmpl=component&iziMi
nerUrl={backRedirectUrl}

for example:
http://sewebar-dev.lmcloud.vse.cz/index.php?option=com_dbconnect&controller=izi&
task=newTask&tmpl=component&iziMinerUrl=http%3A%2F%2Flocalhost%2Fiziminer

Original comment by stanislav.vojir on 7 Mar 2013 at 10:58