https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
Web browser: ---
Bug #: 39571
Summary: Long file names
Product: WikiLoves Monuments Mobile
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: Upload
AssignedTo: wikibugs-
ReportedBy:
Classification: Unclassified
Mobile Platform: ---
Select the first monument under Belarus and attempt to upload an image here.
The upload fails due to a long file name.
We should surface this error better and also ensure the filename is never too
long.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
--- Comment #1 from Jon <> 2012-08-22 21:36:06 UTC ---
The error is now surfaced:
https://github.com/wikimedia/WLMMobile/pull/169/files
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
Arthur Richards <> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |
Resolution| |FIXED
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
Jon <> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
--- Comment #2 from Jon <> 2012-08-24 00:13:46 UTC ---
How was this resolved?
We are showing the error but not preventing this from happening in future.
We need to rethink our filenames.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
--- Comment #3 from Arthur Richards <> 2012-08-24 00:17:15 UTC ---
My bad, I went through the steps to reproduce since the change you mentioned
had been merged and had no problems uploading an image (everything uploaded
fine to testwiki), so it seemed this had been resolved.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
--- Comment #4 from Jon <> 2012-08-24 00:23:18 UTC ---
To be clear the monument in question is called:
Аўгустоўскі канал:водны шлях, які ўключае зарэгуляваны ўчастак
р. Чорная Ганча ад Дзяржаўнай граніцы з Рэспублікай Польшча да в. Сонічы (13
км), штучны ўчастак канала ад в. Сонічы да шлюза«Нямнова» (6,5 км)гідравузел
«Нямнова»:
Гарадзенскі раён. Тэрыторыя ў межах матэрыяльнай нерухомай
гісторыка-культурнай каштоўнасьці, устаноўленых праектам «Зоны аховы і рэжымы
іх утрыманьня гісторыка-культурнай каштоўнасьці «Аўгустоўскі канал»
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
--- Comment #5 from Arthur Richards <> 2012-08-24 00:28:08 UTC ---
The current behavior is to surface an error to the user that the filename is
too long, but there is no way to resolve the error since the user has no
control over the filename. No good.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
Arthur Richards <> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|Unprioritized |High
Severity|normal |major
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
Arthur Richards <> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|High |Highest
Severity|major |blocker
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
Brion Vibber <> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|wikibugs-. |
|org |
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
--- Comment #6 from Brion Vibber <> 2012-08-28 06:07:49 UTC ---
Note that there's actually a limit of 240 UTF-8 bytes enforced!
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
--- Comment #7 from Brion Vibber <> 2012-08-28 06:26:04 UTC ---
Initial stab at https://github.com/wikimedia/WLMMobile/pull/195
The limit is halved and tweaked because we've got some weird limitations in
swift for the thumbnails breaking on longer names. :( Not sure exactly what's
what there...
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)
https://bugzilla.wikimedia.org/show_bug.cgi?id=39571
Jon <> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
Resolution| |FIXED
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
)