[ww-bugs] Bug 2629: New: when rerandomizing problems in Librarybrowser1 -- path becomes visible

bugzilla-daemon at webwork.maa.org bugzilla-daemon at webwork.maa.org
Wed Jun 5 22:35:00 EDT 2013


http://bugs.webwork.maa.org/show_bug.cgi?id=2629

           Summary: when rerandomizing problems in Librarybrowser1 -- path
                    becomes visible
           Product: WeBWorK 2
           Version: development versions
          Platform: PC
        OS/Version: Mac OS
            Status: NEW
          Severity: minor
          Priority: P2
         Component: CG: SetMaker
        AssignedTo: jj at asu.edu
        ReportedBy: gage at math.rochester.edu
        Web browser ---
           version:


1. look at any collection of problems in Library Browser1
2. Click the randomize option.

if beginproblem() is set up to show the file path to all instructors then the
path will now be printed.
It is not printed before you do the rerandomization.

I think there was a hack to disable beginproblem() when the problem is first
loaded but this
is not implemented when the problem is reloaded after randomizing again.

It's a minor thing, but I'll be glad to accept a patch that fixes it before I
release version 2.7



Long term fix:

For releases after 2.7 we can have this information printed by Problem.pm and
not by
the macro beginproblem() .  Problem.pm can get the user_id and the permission
level 
and it can get the path so 
it can decide whether to display information about the path or not outside of
the PG framework.

Then we can reset beginproblem() to be a no-op -- or at least reduce the number
of things
that it triggers so that they only affect things that truly belong inside the
PG environment only.

-- 
Configure bugmail: http://bugs.webwork.maa.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the webwork-bugs mailing list