Project

General

Profile

« Previous | Next » 

Revision 59483

[Trunk | Monitor Service]:
CategoryController.java & SubCategoryController.java & TopicController.java: In "onUpdateDefaultTopic()" method, when "name" is changed, update also "alias" according to default profile.

View differences:

TopicController.java
135 135
                    && (oldTopic.getName() == null || oldTopic.getName().equals(topicBasedOnDefault.getName()))) {
136 136

  
137 137
                topicBasedOnDefault.setName(topic.getName());
138
                topicBasedOnDefault.setAlias(topic.getAlias());
138 139
                changed = true;
139 140
            }
140 141
            if(topic.getDescription() != null && !topic.getDescription().equals(topicBasedOnDefault.getDescription())

Also available in: Unified diff