Extra Admin logs generated on category edit


(Joshua Rosenfeld) #1

Recently I was adding category logos to a Discourse instance, and after completing the edits went in to review the logs. While reviewing I noticed that extraneous logs were being generated despite not modifying the settings in question. The only change I made was the category logo, so I am unsure why permission, background url, and topic template appear as well. Repro steps are as follows:

  1. Go to category page ($site_url/c/category_name)
  2. Click edit
  3. Click images tab
  4. Click image button for Category Logo Image
  5. Browse to and select png or jpg image
  6. Wait for upload
  7. Click Save Category
  8. Check logs


(Mittineague) #2

Were some outside of the scroll, overflow?
If not, can you determine what it is that might have caused the difference?

catId	perms	logoU	logoT	bkgdU
24	+	+	+	+
25	+	+	
26 		+
27	+	+

(Joshua Rosenfeld) #3

Yes, many were outside of my screenshot, I updated almost every category. Give me a few minutes to export the logs and look at the different logs per category.

Will update…

Can’t seem to find a common link there…


(Alan Tan) #4

I implemented logging of categories setting sometime back so I’ll take a look soon :smile:


(Alan Tan) #5

Thanks for reporting @jomaxro :smile: This was indeed a bug and I just submitted a PR to fix!


(Joshua Rosenfeld) #6

Great, thank you! Feel free to close up this thread.


(Régis Hanol) #7