yodamad / svn2git

Tool to help and automate migration from SVN to GitLab
Apache License 2.0
38 stars 12 forks source link

Exception in browser console when trying to migrate repositoty without trunk #167

Closed Nodwick closed 1 month ago

Nodwick commented 1 month ago

The button stays disabled image

ERROR Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'uppercase') TypeError: Cannot read properties of undefined (reading 'uppercase') at 467.l.initMigration (main.e56a3e67360ec9349837.bundle.js:1:432556) at l. (main.e56a3e67360ec9349837.bundle.js:1:430720) at 0.e56a3e67360ec9349837.chunk.js:1:1500807 at Object.next (0.e56a3e67360ec9349837.chunk.js:1:1500912) at 0.e56a3e67360ec9349837.chunk.js:1:1499850 at new t (0.e56a3e67360ec9349837.chunk.js:1:2042412) at Object.o (0.e56a3e67360ec9349837.chunk.js:1:1499627) at 467.l.go (main.e56a3e67360ec9349837.bundle.js:1:430531) at Object.handleEvent (main.e56a3e67360ec9349837.bundle.js:1:627752) at Object.handleEvent (0.e56a3e67360ec9349837.chunk.js:1:148781) at 467.l.initMigration (main.e56a3e67360ec9349837.bundle.js:1:432556) at l. (main.e56a3e67360ec9349837.bundle.js:1:430720) at 0.e56a3e67360ec9349837.chunk.js:1:1500807 at Object.next (0.e56a3e67360ec9349837.chunk.js:1:1500912) at 0.e56a3e67360ec9349837.chunk.js:1:1499850 at new t (0.e56a3e67360ec9349837.chunk.js:1:2042412) at Object.o (0.e56a3e67360ec9349837.chunk.js:1:1499627) at 467.l.go (main.e56a3e67360ec9349837.bundle.js:1:430531) at Object.handleEvent (main.e56a3e67360ec9349837.bundle.js:1:627752) at Object.handleEvent (0.e56a3e67360ec9349837.chunk.js:1:148781) at T (0.e56a3e67360ec9349837.chunk.js:1:2041422) at new t (0.e56a3e67360ec9349837.chunk.js:1:2042444) at Object.o (0.e56a3e67360ec9349837.chunk.js:1:1499627) at 467.l.go (main.e56a3e67360ec9349837.bundle.js:1:430531) at Object.handleEvent (main.e56a3e67360ec9349837.bundle.js:1:627752) at Object.handleEvent (0.e56a3e67360ec9349837.chunk.js:1:148781) at Object.handleEvent (0.e56a3e67360ec9349837.chunk.js:1:159966) at mc (0.e56a3e67360ec9349837.chunk.js:1:118652) at 0.e56a3e67360ec9349837.chunk.js:1:140147 at e._next (0.e56a3e67360ec9349837.chunk.js:1:59515)

Nodwick commented 1 month ago

The relevant button is marked in the screenshot

yodamad commented 1 month ago

Ok I'll have a look Any logs from the backend ?

yodamad commented 1 month ago

@Nodwick : can you tell me more about your use-case : no trunk ? but is there branches & tags folders ? or all sources are directly within the directory ?

Nodwick commented 1 month ago

No logging is happening on the backend when I click the button in the browser. I guess that no requests happen because the error stops the execution.

There are only files checked directly into the svn (Eclipse SVN view). image Compare with another repository that contains branches, tags and a trunk image

yodamad commented 1 month ago

Ok thank you for the info, I'll check if I can reproduce and let you know

yodamad commented 1 month ago

@Nodwick : I've reproduced and fixed the bug, I'll try to release later today