completed Issue tracker resolution field strips out code

SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
If I use BBCode code tags in the Resolution field when updating a tracker item the code is stripped out upon saving, so only the tags remain.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 11/19/17 11:13:17PM
brian
@brian
7 years ago
10,148 posts
Thanks Steve - I'll check this out.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
7 years ago
10,148 posts
Check this out and right now HTML is stripped from the resolution if it does NOT see a "code" BBCode block. Will get that fixed up.

Thanks!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
michael
@michael
7 years ago
7,718 posts
Tried to reproduce this with jrTracker 1.2.6 and the current BETA core and couldn't. Marking it as 'completed', but if its still an issue, just say.
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
Thanks Michael, I no longer see the issue, I should have marked completed.

However, installing on two sites to check this out (jrTracker 1.2.5 on jrCore 6.1.0b2), no Tracker button appears in the profile menu. I only have one user and one quota on both sites, and the tracker works fine except no button appears in the menu.

Tested with Elastic, Elastic 2 and Lucid.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 05/25/17 02:42:21AM
michael
@michael
7 years ago
7,718 posts
for me its in the profile menu. Do you see the same as this?
tracker_location.jpg
tracker_location.jpg  •  309KB

SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
Not for me:


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
michael
@michael
7 years ago
7,718 posts
I had the same thing happen with a different module recently. Everything I set was pointing to it should be showing, it was showing for everyone I asked, but for me it was off. I'll do some testing around possible causes.
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
I tried creating a second user and logging into that account on a different browser, integrity checked, dumped caches, etc but still no button.


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
I think this is happening in smarty_function_jrProfile_menu (jrProfile 1.6.1) here because jrComment is required and also excluded:
                // If this module REQUIRES another module, and the other module is excluded, we don't show
                if (isset($_mods[$module]['module_requires']{1})) {
                    $_req = explode(',', $_mods[$module]['module_requires']);
                    if (isset($_req) && is_array($_req)) {
                        foreach ($_req as $rmod) {
                            if (strpos($rmod, ':')) {
                                list($rmod,) = explode(':', $rmod);
                            }
                            $rmod = trim($rmod);
                            if (isset($_exc[$rmod]) || !isset($_mods[$rmod]) || isset($_rt["quota_{$rmod}_allowed"]) && $_rt["quota_{$rmod}_allowed"] != 'on' || isset($_login[$rmod]) && !jrUser_is_logged_in()) {

if ($module == 'jrTracker') { fdebug("removing jrTracker here",$module); }

                                continue 3;
                            }
                        }
                    }
                }



--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

updated by @ultrajam: 05/26/17 07:07:45AM
michael
@michael
7 years ago
7,718 posts
This is marked as completed, is it ok for you steve? I've seen it on occasion, but not lately.
SteveX
SteveX
@ultrajam
7 years ago
2,584 posts
I forgot about this one because I added a link to my tracker in the user menu, sorry.

It was happening because comments were not allowed for the quota. When I enable comments for the quota the profile menu button appears.

For this articular site I'm going to leave comments disabled and use the link to the tracker in the user menu, it's only me adding tracker items anyway.

Thanks


--
¯\_(ツ)_/¯ Education, learning resources, TEL, AR/VR/MR, CC licensed content, panoramas, interactive narrative, sectional modules (like jrDocs), lunch at Uni of Bristol. Get in touch if you share my current interests or can suggest better :)

Tags