Defect #11665

New document category is not saved properly

Added by Toshi MARUYAMA over 5 years ago. Updated about 5 years ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:Documentation
Target version:1.4.5
Resolution:Fixed Affected version:1.4.4

Description

https://www.chiliproject.org/issues/1087

I confirmed this bug on 1.4-stable.


Related issues

Related to Redmine - Defect #2328: Document categories don't use the default value as default Closed 2008-12-12
Duplicated by Redmine - Defect #11732: New document does not save category correctly Closed

Associated revisions

Revision 10219
Added by Toshi MARUYAMA over 5 years ago

add functional test to create non default document category (#11665)

Revision 10220
Added by Toshi MARUYAMA over 5 years ago

add unit test to get default document category defined on database (#11665)

Revision 10221
Added by Toshi MARUYAMA over 5 years ago

force set default document category if it is not set on database (#11665)

Revision 10222
Added by Toshi MARUYAMA over 5 years ago

add position to DocumentCategory in enumerations fixture (#11665)

Revision 10223
Added by Toshi MARUYAMA over 5 years ago

Merged r10222 from trunk to 1.4-stable (#11665)

add position to DocumentCategory in enumerations fixture.

Revision 10224
Added by Toshi MARUYAMA over 5 years ago

Merged r10220 from trunk to 1.4-stable (#11665)

add unit test to get default document category defined on database.

Revision 10225
Added by Toshi MARUYAMA over 5 years ago

Merged r10221 from trunk to 1.4-stable (#11665)

force set default document category if it is not set on database.

Revision 10226
Added by Toshi MARUYAMA over 5 years ago

set default category_id instead of the object (#11665)

Rails 2.3 still has issues with synchronizing the association_id
and association attributes of an object. That means, if you set the
association with an object first and then just set the id afterwards,
the object wins and the setting of the id gets lost.

This is not an issue in Rails >= 3.1 anymore.

Contributed by Holger Just.

Revision 10227
Added by Toshi MARUYAMA over 5 years ago

Merged r10219 from trunk to 1.4-stable (#11665)

add functional test to create non default document category.

Revision 10229
Added by Toshi MARUYAMA about 5 years ago

Merged r10219 from trunk to 2.0-stable (#11665)

add functional test to create non default document category.

Revision 10230
Added by Toshi MARUYAMA about 5 years ago

add check default document category is not defined on database in tests (#11665)

Revision 10233
Added by Toshi MARUYAMA about 5 years ago

Merged r10230 from trunk (#11665)

add check default document category is not defined on database in tests.

History

#1 Updated by Toshi MARUYAMA about 5 years ago

  • Status changed from Confirmed to Closed
  • Resolution set to Fixed

Fixed in 1.4-stable(Rails2) r10233.
2.0-stable(Rails3) has no defect.

#2 Updated by Toshi MARUYAMA about 5 years ago

  • Subject changed from Document category is not saved properly to New document category is not saved properly

Also available in: Atom PDF