|
From: Damir M. (JIRA) <no...@at...> - 2005-12-10 15:21:54
|
Misleading info message from LabeledObjectSupport class
-------------------------------------------------------
Key: RCP-250
URL: http://opensource.atlassian.com/projects/spring/browse/RCP-250
Project: Spring Framework Rich Client Project
Type: Bug
Versions: PR1
Reporter: Damir Murat
Assigned to: Oliver Hutchison
Method LabeledObjectSupport.setTitle(String) uses LabeledObjectSupport.getDisplayName() to retrieve title old value. Unfortunately, while setting up title property for the first time, this results in misleading info log message ' This labeled object's display name is not configured...".
Problem can be solved by introducing minor changes in setTitle() method:
public void setTitle(String title) {
String oldValue = null;
if (this.title != null || this.label != null) {
oldValue = getDisplayName();
}
this.title = title;
firePropertyChange(DISPLAY_NAME_PROPERTY, oldValue, getDisplayName());
}
Regards,
Damir Murat
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
|
|
From: Damir M. (JIRA) <no...@at...> - 2005-12-10 15:23:48
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-250?page=comments#action_15680 ] Damir Murat commented on RCP-250: --------------------------------- Priority should really be trivial, not major. Sorry. > Misleading info message from LabeledObjectSupport class > ------------------------------------------------------- > > Key: RCP-250 > URL: http://opensource.atlassian.com/projects/spring/browse/RCP-250 > Project: Spring Framework Rich Client Project > Type: Bug > Versions: PR1 > Reporter: Damir Murat > Assignee: Oliver Hutchison > > Method LabeledObjectSupport.setTitle(String) uses LabeledObjectSupport.getDisplayName() to retrieve title old value. Unfortunately, while setting up title property for the first time, this results in misleading info log message ' This labeled object's display name is not configured...". > Problem can be solved by introducing minor changes in setTitle() method: > public void setTitle(String title) { > String oldValue = null; > if (this.title != null || this.label != null) { > oldValue = getDisplayName(); > } > this.title = title; > firePropertyChange(DISPLAY_NAME_PROPERTY, oldValue, getDisplayName()); > } > Regards, > Damir Murat -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |
|
From: Peter De B. (JIRA) <no...@at...> - 2007-11-29 07:57:16
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter De Bruycker resolved RCP-250.
-----------------------------------
Resolution: Fixed
changed checked in
> Misleading info message from LabeledObjectSupport class
> -------------------------------------------------------
>
> Key: RCP-250
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-250
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Affects Versions: 0.1.0
> Reporter: Damir Murat
> Assignee: Peter De Bruycker
> Priority: Minor
>
> Method LabeledObjectSupport.setTitle(String) uses LabeledObjectSupport.getDisplayName() to retrieve title old value. Unfortunately, while setting up title property for the first time, this results in misleading info log message ' This labeled object's display name is not configured...".
> Problem can be solved by introducing minor changes in setTitle() method:
> public void setTitle(String title) {
> String oldValue = null;
> if (this.title != null || this.label != null) {
> oldValue = getDisplayName();
> }
> this.title = title;
> firePropertyChange(DISPLAY_NAME_PROPERTY, oldValue, getDisplayName());
> }
> Regards,
> Damir Murat
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|
|
From: Peter De B. (JIRA) <no...@at...> - 2007-11-29 07:57:16
|
[ http://opensource.atlassian.com/projects/spring/browse/RCP-250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter De Bruycker updated RCP-250:
----------------------------------
Priority: Minor (was: Major)
Assignee: Peter De Bruycker (was: Oliver Hutchison)
changed priority to minor
changed assignee to Peter De Bruycker
> Misleading info message from LabeledObjectSupport class
> -------------------------------------------------------
>
> Key: RCP-250
> URL: http://opensource.atlassian.com/projects/spring/browse/RCP-250
> Project: Spring Framework Rich Client Project
> Issue Type: Bug
> Affects Versions: 0.1.0
> Reporter: Damir Murat
> Assignee: Peter De Bruycker
> Priority: Minor
>
> Method LabeledObjectSupport.setTitle(String) uses LabeledObjectSupport.getDisplayName() to retrieve title old value. Unfortunately, while setting up title property for the first time, this results in misleading info log message ' This labeled object's display name is not configured...".
> Problem can be solved by introducing minor changes in setTitle() method:
> public void setTitle(String title) {
> String oldValue = null;
> if (this.title != null || this.label != null) {
> oldValue = getDisplayName();
> }
> this.title = title;
> firePropertyChange(DISPLAY_NAME_PROPERTY, oldValue, getDisplayName());
> }
> Regards,
> Damir Murat
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/spring/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|