Moodle

activity completion condition listbox display previous Hebrew label resource in hex (distorts page)

Details

  • Type: Bug Bug
  • Status: Open Open
  • Priority: Major Major
  • Resolution: Unresolved
  • Affects Version/s: 2.0
  • Fix Version/s: None
  • Labels:
    None
  • Environment:
  • Database:
    MySQL
  • Difficulty:
    Easy
  • Affected Branches:
    MOODLE_20_STABLE

Description

we have a previous (to the current new activity) hebrew label resource
while adding a new resource (or activity) after that hebrew label resource
i get a very very long line of the Activity Completion Condition listbox with that hebrew
label resource converted to hex (%1D%45%21%A4....) which distorts the page view.

for now, i change moodle/course/moodleform_mod.php line 422 to :
$completionoptions[$id]=substr($cm->name,0,60);

just to make it workable for our development/testing needs.
i am attaching a snapshot (after the trim)

writing English in label resources does not have this effect.
it happens only in label resources.

Activity

Hide
Nadav Kavalerchik added a comment -

i have changed it to Major since it keeps bugging me each time i upgrade Moodle v2 HEAD
and i think it is a tiny fix that can solve a major UI layout issue.

sorry if i was too laud

Show
Nadav Kavalerchik added a comment - i have changed it to Major since it keeps bugging me each time i upgrade Moodle v2 HEAD and i think it is a tiny fix that can solve a major UI layout issue. sorry if i was too laud
Hide
Helen Foster added a comment -

Nadav, thanks for your report. Assigning to conditional activities component lead, Sam.

Show
Helen Foster added a comment - Nadav, thanks for your report. Assigning to conditional activities component lead, Sam.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated: