Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8005865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T17:19:59+00:00 2026-06-04T17:19:59+00:00

I have Document entity having read-only (from client perspective) property modificationAuthor (I want it

  • 0

I have Document entity having read-only (from client perspective) property modificationAuthor (I want it to be modified only on server side which is aware of currently logged user). Document entity has has no setters for modificationAuthor property neither in proxy nor in domain object.

The problem is that it’s not a simple property but other entity (User) so I need to add modificationAuthor to the paths when I invoke requestFactory.find(id).with(paths).fire() to get Document instance. (so that modificationAuthor is not null when I want to read it from Document).

But after adding it to paths and trying to persist Document object I’m getting exception: Could not locate setter for property modificationAuthor.... It seems that RF requires setters even for properties that are designed to be read-only.

Is there currently any way to avoid adding setters to such properties and be able to read it and persist parent object?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T17:20:00+00:00Added an answer on June 4, 2026 at 5:20 pm

    This is a side-effect of issue 5952, which will (should) be fixed in GWT 2.5, to be released in a month or so: RF erroneously thinks the modificationAuthor property has been modified (because it fails at comparing the User entity with itself), so it sends an operation to the server for that property, and the server then tries to set the property value to the given entity (which happens to be the one that’s already there).

    In the mean time, I’m afraid you’ll have to add a dummy setter (it does not need to actually assign the property value) to your Document domain object.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an XML document that I generate from an Entity Framework object. The
Well, I have read the document about Entity Proxy http://code.google.com/webtoolkit/doc/latest/DevGuideRequestFactory.html . As far as
I have block of text read from a PDF document, using the ItextSharp library(method:
I have a document-based Core Data app. My main Core Data entity has several
I have a document that I want to be flipped / rotated 180 degrees
I have a document where I want to place an unnumbered section in my
I have multiple document.ready functions on a page and I want a function to
I have two entity types: Document (has a Customer ) and Customer (has a
I have a document entity mapped many to one to project entity. When I
I have an entity Course that has a key to another entity (Document) inside.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.