<!-- 
RSS generated by JIRA (1001.0.0-SNAPSHOT#100246-sha1:7a5c50119eb0633d306e14180817ddef5e80c75d) at Thu Feb 08 23:22:15 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary add field=key&field=summary to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>FOLIO Jira</title>
    <link>https://folio-org.atlassian.net</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>1001.0.0-SNAPSHOT</version>
        <build-number>100246</build-number>
        <build-date>07-02-2024</build-date>
    </build-info>

<item>
            <title>[FOLIO-2653] Remove leading and trailing whitespace from text properties</title>
                <link>https://folio-org.atlassian.net/browse/FOLIO-2653</link>
                <project id="10290" key="FOLIO">FOLIO</project>
                    <description>&lt;p&gt;&lt;b&gt;Decision&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Should FOLIO API&apos;s automatically remove leading or trailing whitespace from text properties? &lt;/p&gt;

&lt;p&gt;&lt;b&gt;Context&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;Split from 
    &lt;span class=&quot;jira-issue-macro resolved&quot; data-jira-key=&quot;UIU-1528&quot; &gt;
                &lt;a href=&quot;https://folio-org.atlassian.net/browse/UIU-1528&quot; class=&quot;jira-issue-macro-key issue-link&quot;  title=&quot;Trim email addresses in User records to remove blanks (when added via UI)&quot; &gt;
            &lt;img class=&quot;icon&quot; src=&quot;https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10309?size=medium&quot; /&gt;
            UIU-1528
        &lt;/a&gt;
                                                    &lt;span class=&quot;aui-lozenge aui-lozenge-subtle aui-lozenge-success jira-macro-single-issue-export-pdf&quot;&gt;Closed&lt;/span&gt;
            &lt;/span&gt;
. It was discovered that leading or trailing spaces in a user&apos;s email address caused e-mail notices not to be sent to that user.&lt;/p&gt;</description>
                <environment></environment>
        <key id="81680">FOLIO-2653</key>
            <summary>Remove leading and trailing whitespace from text properties</summary>
                <type id="10003" iconUrl="https://folio-org.atlassian.net/rest/api/2/universal_avatar/view/type/issuetype/avatar/10318?size=medium">Task</type>
                                            <priority id="10005" iconUrl="https://dev.folio.org/assets/jira-priority/tbd.svg">TBD</priority>
                        <status id="6" iconUrl="https://folio-org.atlassian.net/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Won&apos;t Do</resolution>
                                                        <assignee accountid="-1">Unassigned</assignee>
                                                                <reporter accountid="63e2a2771b13d42998e4e706">Marc Johnson</reporter>
                                    <labels>
                            <label>potential-decision</label>
                    </labels>
                <created>Mon, 22 Jun 2020 11:25:52 +0000</created>
                <updated>Wed, 3 Feb 2021 12:17:46 +0000</updated>
                            <resolved>Wed, 3 Feb 2021 11:57:21 +0000</resolved>
                                                                        <due></due>
                            <votes>0</votes>
                                    <watches>3</watches>
                                                                <comments>
                                                            <comment id="199150" author="63e2a2771b13d42998e4e706" created="Mon, 22 Jun 2020 11:38:59 +0000"  >&lt;p&gt;&lt;a href=&quot;https://folio-org.atlassian.net/secure/ViewProfile.jspa?accountId=615afd1cd9820f0070a09ef0&quot; class=&quot;user-hover&quot; rel=&quot;615afd1cd9820f0070a09ef0&quot; data-account-id=&quot;615afd1cd9820f0070a09ef0&quot; accountid=&quot;615afd1cd9820f0070a09ef0&quot; rel=&quot;noreferrer&quot;&gt;Zak Burke&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I&apos;m moving the general conversation about this here from &lt;span class=&quot;error&quot;&gt;&amp;#91;UII-1528&amp;#93;&lt;/span&gt;.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;People rail against MySQL for silently doing this kind of thing. Counterpoint: which statement do you think is more accurate: &quot;leading and trailing spaces on most fields are deliberate&quot; or &quot;leading and trailing spaces on most fields are accidental&quot;? That is, which statement do you think is most accurate most of the time?&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;I am biased against changes to data being made automatically. It relies on inferring the intent of a client, which can often be a fools errand. &lt;/p&gt;

&lt;p&gt;It also increases the coupling between client and the server because the client needs to know this is being done automatically (e.g. in case it wanted to compare representations) and may come to believe it can rely on the server to always do this. &lt;/p&gt;

&lt;p&gt;I think these kinds of automatic changes tend to be well intended and yet cause surprises. In some cases, I think those become challenging situations to address, as systems then need exceptions to these rules, which increases complexity.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;Are you willing to consider that whitespace padding is likely accidental for certain types of data, e.g. email addresses and barcodes? &lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;Sure, I&apos;m more than willing to consider it and accept it being corrected automatically. I tend to want to throw some caution into the mix about decisions like this.&lt;/p&gt;

&lt;p&gt;One of the early challenges that we might encounter could be how to classify the properties.&lt;/p&gt;

&lt;blockquote&gt;&lt;p&gt;You&apos;re right that we don&apos;t have a project-wide policy about this, but I really don&apos;t think that stripping leading/trailing whitespace from an email address (or any field, personally) is likely to be controversial.&lt;/p&gt;&lt;/blockquote&gt;

&lt;p&gt;It probably isn&apos;t controversial.&lt;/p&gt;</comment>
                                                            <comment id="199154" author="63e2a2771b13d42998e4e706" created="Wed, 3 Feb 2021 11:57:21 +0000"  >&lt;p&gt;Closing as pre-dates the new decision making process and has not progressed&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                                                <inwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="45529">UIU-1528</issuekey>
        </issuelink>
                            </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10019" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i01btz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10020" key="com.pyxis.greenhopper.jira:gh-sprint">
                        <customfieldname>Sprint</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_10025" key="com.atlassian.jira.ext.charting:timeinstatus">
                        <customfieldname>[CHART] Time in Status</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                    </customfields>
    </item>
</channel>
</rss>