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

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. You must not write a read-only attribute.

You must not write a read-only attribute.

Added by Indrek Pihor over 9 years ago

What could be the reason for this kind of message: “You must not write a read-only attribute.”

Its said when i try to change or save any of the work packages.


Replies (8)

RE: You must not write a read-only attribute. - Added by Indrek Pihor over 9 years ago

Actually this issue happens when setting: “Calculate the work package done ratio with” is set to : “use work package status” and status % are set on the status area, then user cannot do anything with a work package. So this issue can also be concidered as a bug of the version: OpenProject 5.0.7

RE: You must not write a read-only attribute. - Added by Gerda König about 9 years ago

I get same error message in version: OpenProject 5.0.8

RE: RE: You must not write a read-only attribute. - Added by Robin Wagner about 9 years ago

Hello Indrek, hello Gerda,

thanks for reporting this issue.
I could not reproduce this error in the current OpenProject version (5.0.15).

Can you provide additional details on how to reproduce this error? Does the error occur for all users and in all projects?
I changed the setting to “Calculate the work package done ratio with: Use work package status” and assigned % done to work package status but could still update work packages without error.

RE: You must not write a read-only attribute. - Added by Indrek Pihor about 9 years ago

Yes, its probably because of the version difference, we will install the same version and lets see what happens then.

RE: You must not write a read-only attribute. - Added by Minh Ho almost 9 years ago

Hi Robin,

I’m using OpenProject 5.0.18 (Mysql2) and have the same issue.

1. I create new user story
2. then create two task in this story
3. after that i want to update the description of story but issue happen

you can see the attached file for ref.

RE: You must not write a read-only attribute. - Added by Robin Wagner almost 9 years ago

Hi Minh,

thanks for the description.
I tried to reproduce it but the error didn’t show.

In the new OpenProject version (5.1) there is however a similar bug when updating the status and the status determines the progress: #23279.

Is your Progress (%) determined by the status? (can be configured in “Administration” > “System Settings” > tab “Work package tracking” > “Calculate the work package done ratio with”.
If you change the value to “Use the work package field” does the error still occur?

RE: You must not write a read-only attribute. - Added by Minh Ho almost 9 years ago

Hi Robin,

I tried to switch this option to “Use the work package field” or “Use the work package status” and the issue always happen.

I just updated Core version OpenProject 5.0.19 (Mysql2) and still have issue.

I attached the data if it can help your team.

Regards

RE: You must not write a read-only attribute. - Added by Carlos Rivas almost 9 years ago

Hi.

I have the same issue. I think it is a bug since by updating progress field in children of a given work package, the status field of this latter work package cannot be updated showing the message above mentioned. I am not using “Use the work package status” setting.

My OP version is 5.0.16 on MySQL 5.x.

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