Skip to content
This repository has been archived by the owner on Aug 25, 2022. It is now read-only.

Fix endless loop when updating URL aliases pointing to orphaned entities #78

Merged
merged 2 commits into from
Jan 8, 2019

Conversation

pfrenssen
Copy link
Contributor

When there are URL aliases present in the database that reference orphaned RDF entities then the batch process gets stuck in an endless loop. This is caused by the counter being incremented with the number of entities returned from the database, rather than with the number of aliases that are attempted to be generated. If there is an orphaned alias present then the count will never reach the total and the batch process will loop endlessly.

This also fixes incomplete messages being shown when trying to display the entity IDs of orphaned entities.

@idimopoulos
Copy link
Contributor

My last commit was agreed upon, with @pfrenssen, after a discussion we had in the chat.
Accepting the ticket as is, leaving the rest of irrelevant issues to be solved by solving issue #80

@idimopoulos idimopoulos merged commit cd4da89 into 8.x-1.x Jan 8, 2019
@idimopoulos idimopoulos deleted the endless-loop-aliases branch January 8, 2019 13:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants