This is an automated email from the ASF dual-hosted git repository.

asf-gitbox-commits pushed a commit to branch db/solr_nones
in repository https://gitbox.apache.org/repos/asf/allura.git

commit ab558532a3cba64f84f059b6891e7eee76da16da
Author: Dave Brondsema <[email protected]>
AuthorDate: Wed Jun 24 17:11:30 2026 -0400

    stringify some ids
---
 Allura/allura/model/artifact.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Allura/allura/model/artifact.py b/Allura/allura/model/artifact.py
index 5c7093691..761f49f01 100644
--- a/Allura/allura/model/artifact.py
+++ b/Allura/allura/model/artifact.py
@@ -825,7 +825,7 @@ class __mongometa__:
     def index(self):
         result = Artifact.index(self)
         result.update(
-            _id_s=self._id,
+            _id_s=str(self._id),
             short_s=self.short,
             timestamp_dt=self.timestamp,
             full_s=self.full)
@@ -875,7 +875,7 @@ class __mongometa__:
     def index(self):
         result = Artifact.index(self)
         result.update(
-            _id_s=self._id,
+            _id_s=str(self._id),
             short_s=self.short,
             timestamp_dt=self.timestamp,
             full_s=self.full)

Reply via email to