View Issue Details

IDProjectCategoryView StatusLast Update
0004089Composrcorepublic2020-10-02 02:42
ReporterChris GrahamAssigned ToChris Graham 
SeverityTrivial-bug 
Status resolvedResolutionfixed 
Product Version10.0.30 
Fixed in Version 
Summary0004089: MEMBER_OVERRIDE symbol poorly implemented
DescriptionThe $MEMBER_OVERRIDE can give a different member ID to $MEMBER if you are viewing an account different to your own.
However, it is only coded to have defined behaviour if you are browsing within the members module. Elsewhere, the behaviour is undefined and it will read IDs for different content being viewed and report those instead. It was never designed to be viewed outside the members module, and was once used internally by Composr - but this was not documented.
Additionally, the symbol does not work with URL monikers.
Fix the symbol to behave more appropriately. Also update the Tempcode tutorial.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

admin

2020-02-03 21:36

administrator   ~0006354

Fixed in git commit e00830bd9 (https://gitlab.com/composr-foundation/composr/commit/e00830bd9 - link will become active once code pushed to GitLab)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Chris Graham

2020-02-03 21:40

administrator  

hotfix-4089.zip (10,290 bytes)

Issue History

Date Modified Username Field Change
2020-02-03 21:37 Chris Graham File Deleted: hotfix-4089, 2020-02-03 9pm.tar
2020-02-03 21:40 Chris Graham File Added: hotfix-4089.zip
2020-10-02 02:41 Chris Graham Project Composr non-bundled addons => Composr
2020-10-02 02:42 Chris Graham Category General => core
2020-10-02 02:42 Chris Graham Description Updated View Revisions