Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Strange behaviour of work package description

Strange behaviour of work package description

Added by Patrick Veith almost 8 years ago

Hello all,

i admin a openproject server, which is used for most of our project. Nearly all works very well and i only have a very astonishing problem with work packages description. (Yes: Project description and other editable fields work fine!)

It happens when a work package includes a short text and then directly a list in its description and the editor hits the save icon of the description. The db is updated, but in the webinterface of the editor the description box hangs (e. g. textfield is not editable any more, but reacts to some editor buttons) AND all other user can’t see the description-textfield and editor of the work package any more.

description
* one
* two 

The code as work package description above will lock the browsereditor as described above (tested with firefox & chrome).

But adding an empty line before the list works fine (see below):

description

* one
* two 

My debian jessie server uses unfiltered textile to be able to change color and other things. I can’t find any error-message thus i am not able to track down, what exactly happens.

It there anything that might help me be the color-adding admin i am now and fix this problem?

Greeting, Patrick Veith.


Replies (4)

RE: Strange behaviour of work package description - Added by Oliver Günther almost 8 years ago

Hi Patrick,

we noticed this issue this morning on our SaaS environment and are about to release 7.2.2 because of this issue. It happens because the text content of the description is being extracted for the accessibility attribute aria-label that describes the description’s content.

Work package for tracking: #26159

In the exact case you describe, that extraction fails with a JS error and in consequence, fails to render the field.

You can verify the fix by applying the following patch:

# Download the patch file
⟩ curl -o 5868.patch https://patch-diff.githubusercontent.com/raw/opf/openproject/pull/5868.patch

# Check whether the patch applies cleanly
⟩ git apply --check 5868.patch

# If the above resulted in no output, you can apply the patch with:
⟩ git apply 5868.patch

Best,
Oliver

RE: Strange behaviour of work package description - Added by Patrick Veith almost 8 years ago

Thanks for the very fast reply. As i use the deb-package not the git to install openproject i manually edited the patch in. Unfortunately it did not change the behaviour. I did the usual ‘openproject configure’ after editing the files.
Regards,
Patrick Veith.

RE: Strange behaviour of work package description - Added by Oliver Günther almost 8 years ago

Hey Patrick,

you’re right, I forgot the last step:

please also run openproject run bundle exec rake assets:precompile to re-compile all assets. This will update the javascript bundles that contain the bugfix.

Best,
Oliver

RE: Strange behaviour of work package description - Added by Patrick Veith almost 8 years ago

Perfect, runs like a charm now! Thanks a lot.
Best regards,
Patrick Veith.

  • (1 - 4/4)
Loading...