View Issue Details

IDProjectCategoryView StatusLast Update
0003630OXID eShop (all versions)1.04. Content, static (register, contact etc.) pagespublic2012-02-24 10:53
Reportertjungcl Assigned To 
PriorityurgentSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.5.7 revision 41909 
Fixed in Version4.6.0_beta3 
Summary0003630: when logging in on a CMS page, user is redirected to "about us" page.
DescriptionOpen a CMS page other than "about us":
http://demoshop.oxid-esales.com/enterprise-edition/en/How-to-order/

now open the little login-flyin in the header and log in.

=> you are redirected to "About us"

The same with any other content page!

Didnt try basic theme.
TagsNo tags attached.
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Activities

dainius.bigelis

2012-02-24 10:39

reporter   ~0005805

Fix will need template changes (so will go only to 4.6 version).
@Developers:
So when it will be fixed - please write about the fix here in comments also if possible.

Linas Kukulskis

2012-02-24 10:53

reporter   ~0005806

added in login form hidden parameters content id;

fix: out/azure/tpl/widget/header/loginbox.tpl

<input type="hidden" name="fnc" value="login_noredirect">
<input type="hidden" name="cl" value="[{ $oViewConf->getActiveClassName() }]">
<input type="hidden" name="pgNr" value="[{$oView->getActPage()}]">
<input type="hidden" name="CustomError" value="loginBoxErrors">

changed to
<input type="hidden" name="fnc" value="login_noredirect">
<input type="hidden" name="cl" value="[{ $oViewConf->getActiveClassName() }]">
[{if $oView->getClassName() eq "content"}]
     <input type="hidden" name="oxcid" value="[{ $oView->getContentId() }]">
[{/if}]
<input type="hidden" name="pgNr" value="[{$oView->getActPage()}]">
<input type="hidden" name="CustomError" value="loginBoxErrors">