Ticket #1893 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

History doesn't work for references

Reported by: hans Assigned to: anonymous
Priority: blocker Milestone:
Component: generic Version:
Keywords: Cc:
Time spent: Time remaining: 0h
Time planned:

Description (Last modified by hans)

Teacher who was trying out the possibilities of LeMill modified one reference created by another teacher. She changed the URL and other fields. Now all versions under history display the new URL and metadata (the original reference was about geometry, now it is about cells: http://lemill.net/content/references/ristsona-inimene-rakk/view

I see this ticket as a blocker. History must work for these kind of changes and it must be possible to restore the original version.

Change History

03/28/09 22:40:07 changed by hans

  • description changed.

04/02/09 16:11:46 changed by pjotr

Explanation is quite easy. Most if not all of our own fields are now "version" compatible. But throughout the types we use a lot of fields that come from the side of Archetype. So, any of them is not familiar with our own version-control system. This way our system should know about the changes, but fields are unable to do anything about it.

Do not know about the "Restore to version" functionality, but I guess the situation is about the same.

The only solution I see is - making mirrors of the fields in Archetype into LeMill FieldsWidgets?.py file and introduce the Version-control system to get, getRaw and set methods. Then changing the fields used throughout the system.

NB! I have no idea if the previous info would be picked-up by the system as a content of these new fields.

08/14/09 12:04:35 changed by jukka

  • status changed from new to closed.
  • resolution set to fixed.
  • tt_remaining set to 0h.

(In [2860]) Fixed #1893. History has stored all of the necessary changes, but view widgets didn't look for them. Previous changes work now in textareas, common stringfields and links.